aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 16:01:34 +0000
committerMike McQuaid2014-12-27 16:31:45 +0000
commit1e822a5069a8057c630dc9869b1d6ec34a1aafac (patch)
tree7efcc6ecdc084cefae8c66d5359951a0b3e32d5f /Library/Formula
parentb804f729f19d7d8b33c77eff5b908d599a64f553 (diff)
downloadhomebrew-1e822a5069a8057c630dc9869b1d6ec34a1aafac.tar.bz2
gpg-agent: fix strict audit failures.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gpg-agent.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/gpg-agent.rb b/Library/Formula/gpg-agent.rb
index 4b1409f54..36c9ee3b0 100644
--- a/Library/Formula/gpg-agent.rb
+++ b/Library/Formula/gpg-agent.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class GpgAgent < Formula
homepage "https://www.gnupg.org/"
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
@@ -33,7 +31,11 @@ class GpgAgent < Formula
"--enable-agent-only",
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry",
"--with-scdaemon-pgm=#{Formula["gnupg2"].opt_libexec}/scdaemon"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/gpg-agent", "--help"
end
end
@@ -44,7 +46,7 @@ index c022805..96ea7ed 100755
+++ b/configure
@@ -578,8 +578,8 @@ MFLAGS=
MAKEFLAGS=
-
+
# Identity of this package.
-PACKAGE_NAME='gnupg'
-PACKAGE_TARNAME='gnupg'