From 62aff83492e0370f5d4c68f43e2ff4fc91e40bb7 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Sat, 28 Apr 2012 14:06:50 -0700 Subject: 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 --- Library/Formula/fping.rb | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3