diff options
| author | Guyzmo | 2013-01-16 18:53:24 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-10 08:38:23 -0800 |
| commit | 9e503a302fc7943c1180fed2a28c87352f7c5853 (patch) | |
| tree | e131468e4864f440b506b4db85e5c4e574103768 /Library | |
| parent | 896e1ff7626cb72cc83f6d6368a3cfb94886c016 (diff) | |
| download | homebrew-9e503a302fc7943c1180fed2a28c87352f7c5853.tar.bz2 | |
peervpn v0.029
Closes #16312.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/peervpn.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/peervpn.rb b/Library/Formula/peervpn.rb new file mode 100644 index 000000000..91b6f2cb8 --- /dev/null +++ b/Library/Formula/peervpn.rb @@ -0,0 +1,30 @@ +require "formula" + +class Peervpn < Formula + homepage "http://www.peervpn.net" + url "http://www.peervpn.net/files/peervpn-0-029.tar.gz" + version "0.029" + sha1 "ebe2214aa002de2a7c1c69f257f8113c2b6ac8a7" + + depends_on "tuntap" + + def patches + "https://raw.github.com/gist/4170462/6460aa7cd015cc2a5f4128c5b1952b912073f5cd/freevpn0.029__platform__io.patch" + end if MacOS.version == :snow_leopard + + def install + system "make" + bin.install "peervpn" + etc.install "peervpn.conf" unless (etc/'peervpn.conf').exist? + end + + def caveats; <<-EOS.undent + To configure PeerVPN, edit: + #{etc}/peervpn.conf + EOS + end + + def test + system "#{bin}/peervpn" + end +end |
