From 7b47cb41134d5d1436ae4e0374152f2ef8d6e09b Mon Sep 17 00:00:00 2001 From: Berk D. Demir Date: Sun, 28 Aug 2011 12:49:22 -0700 Subject: New formula: spiped Spiped is a utility for creating symmetrically encrypted and authenticated pipes between socket addresses, so that one may connect to one address (e.g., a UNIX socket on localhost) and transparently have a connection established to another address (e.g., a UNIX socket on a different system). This is similar to 'ssh -L' functionality, but does not use SSH and requires a pre-shared symmetric key. Signed-off-by: Jack Nagel --- Library/Formula/spiped.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/spiped.rb (limited to 'Library') diff --git a/Library/Formula/spiped.rb b/Library/Formula/spiped.rb new file mode 100644 index 000000000..b5c55fb74 --- /dev/null +++ b/Library/Formula/spiped.rb @@ -0,0 +1,16 @@ +require 'formula' + +class Spiped < Formula + url 'http://www.tarsnap.com/spiped/spiped-1.0.0.tgz' + homepage 'http://www.tarsnap.com/spiped.html' + sha256 '82df05533bf8d8580f57e6dbec7d7e2966eabd3ea7a0a0bb06f87000947969a3' + + def install + inreplace 'Makefile' do |s| + s.change_make_var! "LDADD", "-lcrypto" + s.change_make_var! "BINDIR_DEFAULT", bin + end + + system "bsdmake install" + end +end -- cgit v1.2.3