aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-05-08 00:09:03 -0500
committerJack Nagel2012-05-08 00:09:03 -0500
commit3e78b8f4643fbe6c85258efd5fcbfccbe21493f7 (patch)
treeab6e065955bc4e4a82e5c79cc9ac8b9a9702681b
parent63c7faca46faff6ab80d64223093f7ba11dc4584 (diff)
downloadhomebrew-3e78b8f4643fbe6c85258efd5fcbfccbe21493f7.tar.bz2
gnupg: clarify IDEA cipher caveats
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/gnupg.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb
index e71c6228c..b055f4b6f 100644
--- a/Library/Formula/gnupg.rb
+++ b/Library/Formula/gnupg.rb
@@ -12,7 +12,7 @@ class Gnupg < Formula
def options
[
- ["--idea", "Build with (patented) IDEA cipher"],
+ ["--idea", "Build with the patented IDEA cipher"],
["--8192", "Build with support for private keys up to 8192 bits"],
]
end
@@ -24,9 +24,7 @@ class Gnupg < Formula
end
if ARGV.include? '--idea'
- opoo "You are building with support for the patented IDEA cipher."
- d=Pathname.getwd
- GnupgIdea.new.brew { (d+'cipher').install Dir['*'] }
+ GnupgIdea.new.brew { (buildpath/'cipher').install Dir['*'] }
system 'gunzip', 'cipher/idea.c.gz'
end
@@ -46,10 +44,12 @@ class Gnupg < Formula
end
def caveats
- if ARGV.include? '--idea'
- <<-EOS.undent
- Please read http://www.gnupg.org/faq/why-not-idea.en.html before doing so.
- You will then need to add the following line to your ~/.gnupg/gpg.conf or
+ if ARGV.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