aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnupg.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb
index 579708881..f9a1f2714 100644
--- a/Library/Formula/gnupg.rb
+++ b/Library/Formula/gnupg.rb
@@ -17,7 +17,10 @@ class Gnupg <Formula
end
def options
- [["--idea", "Build with (patented) IDEA cipher"]]
+ [
+ ["--idea", "Build with (patented) IDEA cipher"],
+ ["--8192", "Build with support for private keys up to 8192 bits"],
+ ]
end
def install
@@ -28,6 +31,8 @@ class Gnupg <Formula
system 'gunzip', 'cipher/idea.c.gz'
end
+ inreplace 'g10/keygen.c', 'max=4096', 'max=8192' if ARGV.include? '--8192'
+
system "/usr/bin/autoconf"
system "./configure", "--disable-dependency-tracking",