From 92d9231f9a2b6c67cbb1bc6d139a821df844b7ab Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 27 Dec 2014 16:01:34 +0000 Subject: [PATCH] gpg-agent: fix strict audit failures. --- Formula/gpg-agent.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Formula/gpg-agent.rb b/Formula/gpg-agent.rb index 4b1409f54e..36c9ee3b08 100644 --- a/Formula/gpg-agent.rb +++ b/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'