components/git/patches/gpg.patch
author Danek Duvall <danek.duvall@oracle.com>
Fri, 04 Dec 2015 16:01:58 -0800
changeset 5159 2062cde74e03
permissions -rw-r--r--
16298577 git system wide configuration stored in sub-optimal directory 16576745 git can't find gpg to sign tags 16913667 gitweb.cgi have no execution flags after installation 22315592 git send-email fails because it can't find Error.pm

On Solaris, GnuPG's main executable is "gpg2" instead of "gpg".  Perhaps
that should be otherwise, but until we deliver a "gpg" executable, git
should look for "gpg2" instead.  This is not suitable for upstream.

--- git-2.6.1/gpg-interface.c	Fri Oct  2 15:40:47 2015
+++ git-2.6.1/gpg-interface.c	Fri Dec  4 14:12:20 2015
@@ -5,7 +5,7 @@
 #include "sigchain.h"
 
 static char *configured_signing_key;
-static const char *gpg_program = "gpg";
+static const char *gpg_program = "gpg2";
 
 #define PGP_SIGNATURE "-----BEGIN PGP SIGNATURE-----"
 #define PGP_MESSAGE "-----BEGIN PGP MESSAGE-----"