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 Homebrew/homebrew#11931.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
master
nibbles 2bits 2012-04-28 14:06:50 -07:00 committed by Charlie Sharpsteen
parent a652cd4c7d
commit 63b21eb96f
1 changed files with 14 additions and 7 deletions

View File

@ -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