diff options
| author | Berk D. Demir | 2012-08-31 21:12:58 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-05 21:23:41 -0700 |
| commit | be515147eecc78543f17e5fba0acacdc2b7d8929 (patch) | |
| tree | e283f54611abc41c9d68b02de4730495b5e7c264 /Library/Formula | |
| parent | 01f9289419e499bea897b2a8e4567e588019e221 (diff) | |
| download | homebrew-be515147eecc78543f17e5fba0acacdc2b7d8929.tar.bz2 | |
spiped 1.2.1
A minor fix release to solve portability issues with ``uint8_t''
decleration. Still no resolution for Mac OS X not ignoring ``librt''
(now obsolete) linkage request. We remove it from LDADD with a patch.
Now installs README files for both executables to documentation
directory.
Closes #14728.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/spiped.rb | 55 |
1 files changed, 49 insertions, 6 deletions
diff --git a/Library/Formula/spiped.rb b/Library/Formula/spiped.rb index 701ca07d4..68790d151 100644 --- a/Library/Formula/spiped.rb +++ b/Library/Formula/spiped.rb @@ -2,18 +2,61 @@ require 'formula' class Spiped < Formula homepage 'http://www.tarsnap.com/spiped.html' - url 'https://www.tarsnap.com/spiped/spiped-1.2.0.tgz' - sha256 '46fb94da62bf1f074513047519f2d4f5faf103e5b8555e14a375a42b74508a6b' + url 'https://www.tarsnap.com/spiped/spiped-1.2.1.tgz' + sha256 '4e2e532b2a7df8e9a771c27a1bc2889f0d834e986d4f4a02a2a12174560ea44b' - depends_on :bsdmake + depends_on :bsdmake => :build + # - Removes ``-lrt'' from LDADD. + # - Fixes a typo in spipe README. def patches - # - Include ``stdint.h'' for ``uint8_t'' definition. - # - Remove unconditional ``librt'' from LDADD. - "https://raw.github.com/gist/3541617/e212734f3ff105f636ea6e225ad7c9d5cb0ce347/spiped-1.2.0-macosx-mountain-lion.patch" + DATA end def install system "bsdmake", "BINDIR_DEFAULT=#{bin}", "install" + doc.install 'spiped/README' => 'README.spiped', + 'spipe/README' => 'README.spipe' end end + +__END__ +diff --git a/spipe/Makefile b/spipe/Makefile +index 873dd5f..3818f53 100644 +--- a/spipe/Makefile ++++ b/spipe/Makefile +@@ -2,7 +2,7 @@ + PROG=spipe + SRCS=main.c pushbits.c proto_conn.c proto_crypt.c proto_handshake.c proto_pipe.c sha256.c elasticarray.c ptrheap.c timerqueue.c asprintf.c daemonize.c entropy.c monoclock.c sock.c warnp.c events_immediate.c events_network.c events_timer.c events.c network_accept.c network_buf.c network_connect.c crypto_aesctr.c crypto_dh.c crypto_dh_group14.c crypto_entropy.c crypto_verify_bytes.c + IDIRS=-I ../proto -I ../lib/alg -I ../lib/datastruct -I ../lib/util -I ../lib/events -I ../lib/network -I ../lib/crypto +-LDADD=-lrt -lcrypto -lpthread ++LDADD=-lcrypto -lpthread + + all: ${PROG} + +diff --git a/spiped/Makefile b/spiped/Makefile +index 91533b9..28b8a35 100644 +--- a/spiped/Makefile ++++ b/spiped/Makefile +@@ -2,7 +2,7 @@ + PROG=spiped + SRCS=main.c dispatch.c proto_conn.c proto_crypt.c proto_handshake.c proto_pipe.c sha256.c elasticarray.c ptrheap.c timerqueue.c asprintf.c daemonize.c entropy.c monoclock.c sock.c warnp.c events_immediate.c events_network.c events_timer.c events.c network_accept.c network_buf.c network_connect.c crypto_aesctr.c crypto_dh.c crypto_dh_group14.c crypto_entropy.c crypto_verify_bytes.c + IDIRS=-I ../proto -I ../lib/alg -I ../lib/datastruct -I ../lib/util -I ../lib/events -I ../lib/network -I ../lib/crypto +-LDADD=-lrt -lcrypto ++LDADD=-lcrypto + + all: ${PROG} + +diff --git a/spipe/README b/spipe/README +index 9bb731b..c0b8177 100644 +--- a/spipe/README ++++ b/spipe/README +@@ -1,7 +1,7 @@ + spipe usage + =========== + +-usage: spiped -t <target socket> -k <key file> [-f] [-o <connection timeout>] ++usage: spipe -t <target socket> -k <key file> [-f] [-o <connection timeout>] + + Options: + -t <target socket> |
