homebrew-core/Formula/fping.rb
nibbles 2bits 63b21eb96f 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>
2012-04-29 10:54:59 -07:00

22 lines
519 B
Ruby

require 'formula'
class Fping < Formula
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', "--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