diff options
| author | Rémi Prévost | 2010-02-11 11:05:46 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-11 09:26:58 -0800 |
| commit | d4d92208d0e33f3f9030f3fdbca783a1e3272785 (patch) | |
| tree | e2b32c4f4654982ddf90e0527d1775fbfe2c92b5 /Library | |
| parent | ab7c4fa132e19c75975c852d7027ca0d122117b9 (diff) | |
| download | homebrew-d4d92208d0e33f3f9030f3fdbca783a1e3272785.tar.bz2 | |
pwnat 0.1-beta
pwnat, pronounced "poe-nat", is a tool that allows any number of clients
behind NATs to communicate with a server behind a separate NAT with *no*
port forwarding and *no* DMZ setup on any routers in order to directly
communicate with each other. The server does not need to know anything
about the clients trying to connect.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pwnat.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/pwnat.rb b/Library/Formula/pwnat.rb new file mode 100644 index 000000000..8f8fab940 --- /dev/null +++ b/Library/Formula/pwnat.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Pwnat <Formula + url 'http://samy.pl/pwnat/pwnat-0.1-beta.tgz' + homepage 'http://samy.pl/pwnat/' + md5 'c0cf6e02c6497a0b8ae5f541a8a1e3d5' + version '0.1-beta' + + def install + inreplace "Makefile" do |s| + s.change_make_var! "CC", ENV.cc + s.change_make_var! "CFLAGS", ENV['CFLAGS'] + s.change_make_var! "LDFLAGS", "-lz" + end + + system "make" + bin.install "pwnat" + end +end |
