diff options
| author | Mike Tigas | 2013-07-17 14:13:46 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-17 20:43:34 -0700 |
| commit | 27b4586574b8c29a2f55fbb5d42c322f43fad1f0 (patch) | |
| tree | 001ce36483d49cdccdd22a8b1542a8fb15cf940d /Library | |
| parent | 0e37f69ebe6c4f4ef8a0c5e6a33ca06eba9f3838 (diff) | |
| download | homebrew-27b4586574b8c29a2f55fbb5d42c322f43fad1f0.tar.bz2 | |
gnupg2: port "8192 bit key support" option from gnupg
Closes #21291.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnupg2.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/gnupg2.rb b/Library/Formula/gnupg2.rb index 1e8c89b3a..6bf40fe5c 100644 --- a/Library/Formula/gnupg2.rb +++ b/Library/Formula/gnupg2.rb @@ -5,6 +5,8 @@ class Gnupg2 < Formula url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.20.tar.bz2' sha1 '7ddfefa37ee9da89a8aaa8f9059d251b4cd02562' + option '8192', 'Build with support for private keys of up to 8192 bits' + depends_on 'libgpg-error' depends_on 'libgcrypt' depends_on 'libksba' @@ -24,6 +26,8 @@ class Gnupg2 < Formula def patches; DATA; end def install + inreplace 'g10/keygen.c', 'max=4096', 'max=8192' if build.include? '8192' + (var/'run').mkpath ENV['gl_cv_absolute_stdint_h'] = "#{MacOS.sdk_path}/usr/include/stdint.h" |
