gnupg 1.4.19
Security release. Closes Homebrew/homebrew#37253. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
dd53603405
commit
76476dceb4
1 changed files with 9 additions and 10 deletions
|
@ -1,13 +1,11 @@
|
|||
class Gnupg < Formula
|
||||
homepage "http://www.gnupg.org/"
|
||||
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.18.tar.bz2"
|
||||
mirror "http://mirror.switch.ch/ftp/mirror/gnupg/gnupg/gnupg-1.4.18.tar.bz2"
|
||||
mirror "ftp://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/gnupg/gnupg-1.4.18.tar.bz2"
|
||||
sha1 "41462d1a97f91abc16a0031b5deadc3095ce88ae"
|
||||
revision 1
|
||||
homepage "https://www.gnupg.org/"
|
||||
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.19.tar.bz2"
|
||||
mirror "http://mirror.switch.ch/ftp/mirror/gnupg/gnupg/gnupg-1.4.19.tar.bz2"
|
||||
mirror "http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.19.tar.bz2"
|
||||
sha1 "5503f7faa0a0e84450838706a67621546241ca50"
|
||||
|
||||
bottle do
|
||||
revision 2
|
||||
sha1 "e1ea1c3bd682a15370f596a31297eb19ff87998e" => :yosemite
|
||||
sha1 "71e3618e2f4ea550e194938f6742772fb7d376d9" => :mavericks
|
||||
sha1 "f933064e91d20ebdb48f6f2180fdf7b99e814b8c" => :mountain_lion
|
||||
|
@ -17,6 +15,7 @@ class Gnupg < Formula
|
|||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-asm"
|
||||
system "make"
|
||||
|
@ -38,9 +37,9 @@ class Gnupg < Formula
|
|||
Name-Email: test@example.com
|
||||
Expire-Date: 0
|
||||
EOS
|
||||
system "#{bin}/gpg", "--batch", "--gen-key", "gen-key-script"
|
||||
system bin/"gpg", "--batch", "--gen-key", "gen-key-script"
|
||||
(testpath/"test.txt").write ("Hello World!")
|
||||
system "#{bin}/gpg", "--armor", "--sign", "test.txt"
|
||||
system "#{bin}/gpg", "--verify", "test.txt.asc"
|
||||
system bin/"gpg", "--armor", "--sign", "test.txt"
|
||||
system bin/"gpg", "--verify", "test.txt.asc"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue