diff options
| author | Michael Granger | 2013-02-20 08:20:52 -0800 |
|---|---|---|
| committer | Jack Nagel | 2013-02-20 18:26:34 -0600 |
| commit | bb4edb7b847385627aa108dfc12379769a541a46 (patch) | |
| tree | 32cec53b852c25b13979bb0899464937b952eca1 | |
| parent | bd0874fc42c10e44aa1cf67905220f744aa736a4 (diff) | |
| download | homebrew-bb4edb7b847385627aa108dfc12379769a541a46.tar.bz2 | |
gnupg: IDEA cipher is now built-in and no longer patented
Closes #17976.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/gnupg.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb index c4ba7129a..95842d7a2 100644 --- a/Library/Formula/gnupg.rb +++ b/Library/Formula/gnupg.rb @@ -1,16 +1,10 @@ require 'formula' -class GnupgIdea < Formula - head 'http://www.gnupg.dk/contrib-dk/idea.c.gz', :using => :nounzip - sha1 '9b78e20328d35525af7b8a9c1cf081396910e937' -end - class Gnupg < Formula homepage 'http://www.gnupg.org/' url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.13.tar.bz2' sha1 '17a75c54d292bd0923f0a1817a1b02ded37d1de1' - option 'idea', 'Build with the patented IDEA cipher' option '8192', 'Build with support for private keys of up to 8192 bits' def cflags @@ -20,11 +14,6 @@ class Gnupg < Formula end def install - if build.include? 'idea' - GnupgIdea.new.brew { (buildpath/'cipher').install Dir['*'] } - system 'gunzip', 'cipher/idea.c.gz' - end - inreplace 'g10/keygen.c', 'max=4096', 'max=8192' if build.include? '8192' system "./configure", "--disable-dependency-tracking", @@ -38,17 +27,4 @@ class Gnupg < Formula [bin, libexec/'gnupg'].each(&:mkpath) system "make install" end - - def caveats - if build.include? 'idea' then <<-EOS.undent - This build of GnuPG contains support for the patented IDEA cipher. - Please read http://www.gnupg.org/faq/why-not-idea.en.html before using - this software. - - You will then need to add the following line to your ~/.gnupg/gpg.conf or - ~/.gnupg/options file: - load-extension idea - EOS - end - end end |
