sntop: style nits

This commit is contained in:
Adam Vandenberg 2012-03-21 21:22:14 -07:00
parent 6604053f35
commit fb4804a7fd

View file

@ -1,10 +1,10 @@
require 'formula'
class Sntop < Formula
url 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/sntop-1.4.3.tar.gz'
homepage 'http://sntop.sourceforge.net/'
url 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/sntop-1.4.3.tar.gz'
md5 '0e99c64ea5a1bad6c1a32ac0dc2e9dd9'
version 'v1.4.3'
depends_on 'fping'
def install
@ -16,13 +16,11 @@ class Sntop < Formula
system "make install"
end
def caveats
<<-EOS.undent
def caveats; <<-EOS.undent
sntop uses fping by default. fping can only be run by root by default so
either use sudo to run sntop or setuid root fping.
Alternatively, run sntop using standard ping (sntop -p).
EOS
end
end