diff options
| author | Berk D. Demir | 2011-08-28 12:49:22 -0700 |
|---|---|---|
| committer | Jack Nagel | 2011-08-28 21:05:47 -0500 |
| commit | 7b47cb41134d5d1436ae4e0374152f2ef8d6e09b (patch) | |
| tree | 5e355face4a16a863120e9161210bafb647d21c8 /Library/Formula | |
| parent | 8c5f70195b667a70330223ba0219bb2333ee04ae (diff) | |
| download | homebrew-7b47cb41134d5d1436ae4e0374152f2ef8d6e09b.tar.bz2 | |
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>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/spiped.rb | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
