mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Added ptunnel formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
0c3cb50754
commit
d6fb4e7a67
1 file changed
+23
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
(man+'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
|
||||
Reference in new issue
Block a user