From a02008e6474a86e76f1b691de2d1f0d08a1badd4 Mon Sep 17 00:00:00 2001 From: David Kendal Date: Fri, 8 Mar 2013 21:08:00 +0000 Subject: ucspi-tcp 0.88 Closes #18342. Signed-off-by: Adam Vandenberg --- Library/Formula/ucspi-tcp.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Library/Formula/ucspi-tcp.rb (limited to 'Library') diff --git a/Library/Formula/ucspi-tcp.rb b/Library/Formula/ucspi-tcp.rb new file mode 100644 index 000000000..b2a1d5325 --- /dev/null +++ b/Library/Formula/ucspi-tcp.rb @@ -0,0 +1,24 @@ +require 'formula' + +class UcspiTcp < Formula + homepage 'http://cr.yp.to/ucspi-tcp.html' + url 'http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz' + sha1 '793b4189795b563085602c030dd8aa0d206ddc0e' + + def patches + "http://www.fefe.de/ucspi/ucspi-tcp-0.88-ipv6.diff19.bz2" + end + + def install + (buildpath/'conf-home').unlink + (buildpath/'conf-home').write prefix + + system "make" + system "make setup check" + share.install prefix/'man' + end + + def test + system "tcpserver" + end +end -- cgit v1.2.3