aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornibbles 2bits2012-04-28 14:06:50 -0700
committerCharlie Sharpsteen2012-04-29 10:54:59 -0700
commit62aff83492e0370f5d4c68f43e2ff4fc91e40bb7 (patch)
treeb952e9f552d4ea4e3e0aa064f69a0fe30e4d8b9b /Library
parentaa80fbc0ce0047b395e1edf80855d7cac01b73b0 (diff)
downloadhomebrew-62aff83492e0370f5d4c68f43e2ff4fc91e40bb7.tar.bz2
fping: Update to 3.1
New website, and new maintainer. fping has been mothballed since 2002. A new maintainer has taken over this project, set up a new website, fping.org, and committed the project on GitHub. Change homepage. Upgrade to version 3.1 Add head url on GitHub Remove `--man` because it uses a modern configure that works. Add caveat about this software needing to be owned by root and run as root or with the setuid bit set. An issue is open with the developer to see if there is a workaround for that. Closes #11931. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fping.rb21
1 files changed, 14 insertions, 7 deletions
diff --git a/Library/Formula/fping.rb b/Library/Formula/fping.rb
index af0a1cf88..8f4899ccc 100644
--- a/Library/Formula/fping.rb
+++ b/Library/Formula/fping.rb
@@ -1,15 +1,22 @@
require 'formula'
class Fping < Formula
- url 'http://fping.sourceforge.net/download/fping.tar.gz'
- homepage 'http://fping.sourceforge.net/'
- md5 'd5e8be59e307cef76bc479e1684df705'
- version '2.4b2_to-ipv6'
+ homepage 'http://fping.org/'
+ url 'https://github.com/schweikert/fping/tarball/3.1'
+ sha1 '1584e662ef3ba08e239e626df73ec74bc34548ee'
+
+ head 'https://github.com/schweikert/fping.git'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--mandir=#{man}"
+ system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
system "make install"
end
+
+ def caveats; <<-EOS.undent
+ fping can only be run by root by default so either use sudo to run fping or
+ setuid root #{sbin}/fping
+
+ EOS
+ end
+
end