Files
jturner 331ce324c8 Update spiped to 1.6.4
Fixes a bug which can cause spiped to abort of a RST package arrives
from one side of a pipe at the same time as a FIN packet arrives from
the other end.
2025-04-02 17:37:59 +00:00

31 lines
825 B
Makefile

COMMENT = utility for creating secure pipes between socket addresses
DISTNAME = spiped-1.6.4
CATEGORIES = security sysutils
MAINTAINER = James Turner <james@calminferno.net>
HOMEPAGE = https://www.tarsnap.com/spiped.html
SITES = https://www.tarsnap.com/spiped/
# BSD
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
WANTLIB = c crypto pthread
EXTRACT_SUFX = .tgz
FAKE_FLAGS = BINDIR="${WRKINST}${PREFIX}/bin" \
MAN1DIR="${WRKINST}${PREFIX}/man/man1"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spiped
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/spiped/
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/spiped/
perl -pi -e 's,/etc/ssh/spiped.key,${SYSCONFDIR}/spiped/spiped.key,' \
${PREFIX}/share/doc/spiped/README.md
.include <bsd.port.mk>