aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJin Choi2011-09-18 12:06:18 -0400
committerAdam Vandenberg2011-11-27 11:58:00 -0800
commitcbb244e0dc7d1a227d88680aa4e2d9d03839f2b3 (patch)
tree9ae74c8c59d0adac9baa111c0ce76fa3c3852c58
parent5409947ba2505a0330ef5c611afe5fb182a31911 (diff)
downloadhomebrew-cbb244e0dc7d1a227d88680aa4e2d9d03839f2b3.tar.bz2
sshguard: Fix abort on first usage with -b
Using the -b flag for the first time will create the specified blacklist database file, then abort. This bug has been reported to upstream since 2011-03-28, but no new version has been released since then. Upstream bug report: http://sourceforge.net/tracker/?func=detail&aid=3252151&group_id=188282&atid=924685 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/sshguard.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/sshguard.rb b/Library/Formula/sshguard.rb
index 6a9b027bb..166fde815 100644
--- a/Library/Formula/sshguard.rb
+++ b/Library/Formula/sshguard.rb
@@ -5,6 +5,13 @@ class Sshguard < Formula
homepage 'http://www.sshguard.net/'
md5 '11b9f47f9051e25bdfe84a365c961ec1'
+ def patches
+ # Fix blacklist flag (-b) so that it doesn't abort on first usage.
+ # Upstream bug report:
+ # http://sourceforge.net/tracker/?func=detail&aid=3252151&group_id=188282&atid=924685
+ "https://sourceforge.net/tracker/download.php?group_id=188282&atid=924685&file_id=405677&aid=3252151"
+ end
+
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",