gnupg2 2.0.23
Update to latest stable release, update patch, change single quotes to double quotes, and use https on the homepage link. Closes Homebrew/homebrew#29842. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
f45e18751d
commit
64fd130a8e
1 changed files with 24 additions and 25 deletions
|
@ -1,23 +1,22 @@
|
|||
require 'formula'
|
||||
require "formula"
|
||||
|
||||
class Gnupg2 < Formula
|
||||
homepage 'http://www.gnupg.org/'
|
||||
url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.22.tar.bz2'
|
||||
sha1 '9ba9ee288e9bf813e0f1e25cbe06b58d3072d8b8'
|
||||
revision 1
|
||||
homepage "https://www.gnupg.org/"
|
||||
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.23.tar.bz2"
|
||||
sha1 "c90e47ab95a40dd070fd75faef0a05c7b679553b"
|
||||
|
||||
option '8192', 'Build with support for private keys of up to 8192 bits'
|
||||
option "8192", "Build with support for private keys of up to 8192 bits"
|
||||
|
||||
depends_on 'libgpg-error'
|
||||
depends_on 'libgcrypt'
|
||||
depends_on 'libksba'
|
||||
depends_on 'libassuan'
|
||||
depends_on 'pinentry'
|
||||
depends_on 'pth'
|
||||
depends_on 'gpg-agent'
|
||||
depends_on 'dirmngr' => :recommended
|
||||
depends_on 'libusb-compat' => :recommended
|
||||
depends_on 'readline' => :optional
|
||||
depends_on "libgpg-error"
|
||||
depends_on "libgcrypt"
|
||||
depends_on "libksba"
|
||||
depends_on "libassuan"
|
||||
depends_on "pinentry"
|
||||
depends_on "pth"
|
||||
depends_on "gpg-agent"
|
||||
depends_on "dirmngr" => :recommended
|
||||
depends_on "libusb-compat" => :recommended
|
||||
depends_on "readline" => :optional
|
||||
|
||||
# Fix hardcoded runtime data location
|
||||
# upstream: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;h=c3f08dc
|
||||
|
@ -28,13 +27,13 @@ class Gnupg2 < Formula
|
|||
patch :DATA
|
||||
|
||||
def install
|
||||
inreplace 'g10/keygen.c', 'max=4096', 'max=8192' if build.include? '8192'
|
||||
inreplace "g10/keygen.c", "max=4096", "max=8192" if build.include? "8192"
|
||||
|
||||
(var/'run').mkpath
|
||||
(var/"run").mkpath
|
||||
|
||||
ENV.append 'LDFLAGS', '-lresolv'
|
||||
ENV.append "LDFLAGS", "-lresolv"
|
||||
|
||||
ENV['gl_cv_absolute_stdint_h'] = "#{MacOS.sdk_path}/usr/include/stdint.h"
|
||||
ENV["gl_cv_absolute_stdint_h"] = "#{MacOS.sdk_path}/usr/include/stdint.h"
|
||||
|
||||
agent = Formula["gpg-agent"].opt_prefix
|
||||
|
||||
|
@ -48,7 +47,7 @@ class Gnupg2 < Formula
|
|||
--with-protect-tool-pgm=#{agent}/libexec/gpg-protect-tool
|
||||
]
|
||||
|
||||
if build.with? 'readline'
|
||||
if build.with? "readline"
|
||||
args << "--with-readline=#{Formula["readline"].opt_prefix}"
|
||||
end
|
||||
|
||||
|
@ -59,7 +58,7 @@ class Gnupg2 < Formula
|
|||
|
||||
# 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
|
||||
|
||||
|
@ -78,7 +77,7 @@ index 4b03cfe..c84f26f 100644
|
|||
}
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index e5479af..a17a54d 100755
|
||||
index 5959b37..2bea995 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -578,8 +578,8 @@ MFLAGS=
|
||||
|
@ -89,8 +88,8 @@ index e5479af..a17a54d 100755
|
|||
-PACKAGE_TARNAME='gnupg'
|
||||
+PACKAGE_NAME='gnupg2'
|
||||
+PACKAGE_TARNAME='gnupg2'
|
||||
PACKAGE_VERSION='2.0.22'
|
||||
PACKAGE_STRING='gnupg 2.0.22'
|
||||
PACKAGE_VERSION='2.0.23'
|
||||
PACKAGE_STRING='gnupg 2.0.23'
|
||||
PACKAGE_BUGREPORT='http://bugs.gnupg.org'
|
||||
diff --git a/tests/openpgp/Makefile.in b/tests/openpgp/Makefile.in
|
||||
index c9ceb2d..7044900 100644
|
||||
|
|
Loading…
Reference in a new issue