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 <jacknagel@gmail.com>
This commit is contained in:
Berk D. Demir 2011-08-28 12:49:22 -07:00 committed by Jack Nagel
parent 11545a2ede
commit 311882f26a

16
Formula/spiped.rb Normal file
View file

@ -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