aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fwknop.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/fwknop.rb b/Library/Formula/fwknop.rb
index 15ea91686..6877c7db2 100644
--- a/Library/Formula/fwknop.rb
+++ b/Library/Formula/fwknop.rb
@@ -1,11 +1,8 @@
-require "formula"
-
class Fwknop < Formula
homepage "http://www.cipherdyne.org/fwknop/"
head "https://github.com/mrash/fwknop.git"
- url "https://github.com/mrash/fwknop/archive/2.6.4.tar.gz"
- sha1 "b13ef022ade7da6dc5b08335d5a1d29dd898887b"
- revision 1
+ url "https://github.com/mrash/fwknop/archive/2.6.5.tar.gz"
+ sha1 "52f5a191f37aeeb2716d2ad5a25dbf41d6593100"
bottle do
sha1 "f82b7596356044e1b6b0c41ede54bfcc11b3585a" => :yosemite
@@ -22,12 +19,15 @@ class Fwknop < Formula
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking", "--disable-silent-rules",
- "--prefix=#{prefix}", "--with-gpgme",
+ "--prefix=#{prefix}", "--with-gpgme", "--sysconfdir=#{etc}",
"--with-gpg=#{Formula["gnupg2"].opt_prefix}/bin/gpg2"
system "make", "install"
end
test do
+ ENV["HOME"] = testpath
+ touch testpath/".fwknoprc"
+ chmod 0600, testpath/".fwknoprc"
system "#{bin}/fwknop", "--version"
end
end