diff options
| author | Eric Butler | 2010-03-14 20:48:33 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-03-25 23:42:04 -0700 | 
| commit | d6fb4e7a67622fd0ba7ad41947618664e39bc89d (patch) | |
| tree | b53437a28cb02f211a42503631e9d9a402e38150 | |
| parent | 0c3cb507548d3bd91cd88a21abda6079a4c20b0a (diff) | |
| download | homebrew-d6fb4e7a67622fd0ba7ad41947618664e39bc89d.tar.bz2 | |
Added ptunnel formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/ptunnel.rb | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/Library/Formula/ptunnel.rb b/Library/Formula/ptunnel.rb new file mode 100644 index 000000000..8fd8dbc35 --- /dev/null +++ b/Library/Formula/ptunnel.rb @@ -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 | 
