diff options
| author | Philipp Fehre | 2010-05-21 11:38:25 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-16 10:03:41 -0700 |
| commit | 53176a5c1378780c06cc7b12a2bb0eb2c662cc04 (patch) | |
| tree | 32fd5365aae6b8db040efc29426bfac82f4131ac /Library | |
| parent | 81035c3dd9a25da9450d0f4650c43918d3df40cf (diff) | |
| download | homebrew-53176a5c1378780c06cc7b12a2bb0eb2c662cc04.tar.bz2 | |
Added Formula for N2N VPN
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/n2n.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/n2n.rb b/Library/Formula/n2n.rb new file mode 100644 index 000000000..ff1e0e4f1 --- /dev/null +++ b/Library/Formula/n2n.rb @@ -0,0 +1,25 @@ +require 'formula' + +class N2n < Formula + url 'http://www.sideshowcoder.railsplayground.net/files/n2n-2.7.tar.gz' + homepage 'http://www.ntop.org/n2n/' + md5 '8e64e4fd0ebf05c76b942549dc8b6b76' + + def install + system "make" + system "make", "PREFIX=#{prefix}", "install" + end + + def caveats + <<-EOF.undent + To link correctly you need to have access to the /usr/local/sbin + and link n2n + + $ chown `whoami`:staff /usr/local/sbin + $ brew link n2n + + n2n also requires the tun/tap devices. To get these on OS X: + http://tuntaposx.sourceforge.net/download.xhtml + EOF + end +end |
