diff options
| author | Jack Nagel | 2012-03-27 22:56:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-03-27 22:56:56 -0500 |
| commit | 12d6ce44950257e454c7ce18a9622bfa8a28cc8c (patch) | |
| tree | 976b7ffc8fb173e8b11f2b2d9b201dc627906378 /Library/Formula | |
| parent | 7504c3aca0fe499ea863967f6e8eb333c918b042 (diff) | |
| download | homebrew-12d6ce44950257e454c7ce18a9622bfa8a28cc8c.tar.bz2 | |
gnupg2 2.0.19
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnupg2.rb | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/Library/Formula/gnupg2.rb b/Library/Formula/gnupg2.rb index ec445a917..2fa2b23cb 100644 --- a/Library/Formula/gnupg2.rb +++ b/Library/Formula/gnupg2.rb @@ -2,8 +2,8 @@ require 'formula' class Gnupg2 < Formula homepage 'http://www.gnupg.org/' - url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.18.tar.bz2' - sha1 '5ec2f718760cc3121970a140aeea004b64545c46' + url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.19.tar.bz2' + sha1 '190c09e6688f688fb0a5cf884d01e240d957ac1f' depends_on 'libgpg-error' depends_on 'libgcrypt' @@ -15,12 +15,14 @@ class Gnupg2 < Formula depends_on 'dirmngr' => :optional depends_on 'libusb-compat' => :optional - # fix configure's failure to detect libcurl - # http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=57ef0d6 + # Fix hardcoded runtime data location + # upstream: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;h=c3f08dc + # Adjust package name to fit our scheme of packaging both gnupg 1.x and + # 2.x, and gpg-agent separately, and adjust tests to fit this scheme def patches; DATA; end def install - (var+'run').mkpath + (var/'run').mkpath # so we don't use Clang's internal stdint.h ENV['gl_cv_absolute_stdint_h'] = '/usr/include/stdint.h' @@ -34,29 +36,13 @@ class Gnupg2 < Formula system "make check" system "make install" - # conflicts with a manpage from the 1.x formula, and + # Conflicts with a manpage from the 1.x formula, and # gpg-zip isn't installed by this formula anyway - rm man1+'gpg-zip.1' + rm man1/'gpg-zip.1' end end __END__ -diff --git a/configure b/configure -index 3df3900..35c474f 100755 ---- a/configure -+++ b/configure -@@ -9384,7 +9384,7 @@ else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --include <curl/curl.h> -+#include <curl/curl.h> - int - main () - { - -# fix runtime data location -# http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=c3f08dc diff --git a/common/homedir.c b/common/homedir.c index 5f2e31e..d797b68 100644 --- a/common/homedir.c @@ -71,9 +57,8 @@ index 5f2e31e..d797b68 100644 } -# rename package to avoid conflicts with our gnupg 1.x formula diff --git a/configure b/configure -index 3df3900..b102aec 100755 +index 829fc79..684213e 100755 --- a/configure +++ b/configure @@ -558,8 +558,8 @@ MFLAGS= @@ -84,13 +69,12 @@ index 3df3900..b102aec 100755 -PACKAGE_TARNAME='gnupg' +PACKAGE_NAME='gnupg2' +PACKAGE_TARNAME='gnupg2' - PACKAGE_VERSION='2.0.18' - PACKAGE_STRING='gnupg 2.0.18' + PACKAGE_VERSION='2.0.19' + PACKAGE_STRING='gnupg 2.0.19' PACKAGE_BUGREPORT='http://bugs.gnupg.org' -# fix tests to work with our "gpg-agent is a separate package" scheme diff --git a/tests/openpgp/Makefile.in b/tests/openpgp/Makefile.in -index ab2f10f..1d3cace 100644 +index 1a617e7..1af2d4b 100644 --- a/tests/openpgp/Makefile.in +++ b/tests/openpgp/Makefile.in @@ -286,11 +286,11 @@ GPG_IMPORT = ../../g10/gpg2 --homedir . \ @@ -102,8 +86,8 @@ index ab2f10f..1d3cace 100644 ../../tools/gpg-connect-agent TESTS_ENVIRONMENT = GNUPGHOME=$(abs_builddir) GPG_AGENT_INFO= LC_ALL=C \ -- ../../agent/gpg-agent --quiet --daemon sh -+ gpg-agent --quiet --daemon sh +- ../../agent/gpg-agent --quiet --daemon sh ++ gpg-agent --quiet --daemon sh TESTS = version.test mds.test \ decrypt.test decrypt-dsa.test \ |
