homebrew-core/Formula/ptunnel.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

23 lines
638 B
Ruby

require 'formula'
class Ptunnel <Formula
url 'http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-0.71.tar.gz'
version '0.71'
homepage 'http://www.cs.uit.no/~daniels/PingTunnel/'
md5 '9b04771d4fa50abc15a6af690b81c71a'
def install
system "make"
bin.install "ptunnel"
man8.install "ptunnel.8"
end
def caveats
<<-EOS
Normally, ptunnel uses raw sockets and must be run as root (using sudo, for example).
Alternatively, you can try using the -u flag to start ptunnel in 'unprivileged' mode,
but this is not recommended. See http://www.cs.uit.no/~daniels/PingTunnel/ for details.
EOS
end
end