13de75010a
spiped-1.6.1 * New option -u username:groupname (spiped): change the user and/or group ownership of the process. * Use RDRAND as an additional source of entropy on CPUs which support it. * Use SHANI instructions on CPUs which support them. * Warn about failed connections and exit with non-zero status (spipe). spiped-1.6.0 * The -n option (spiped) is no longer limited to a maximum limit of 500 simultaneous connections. * The -k option now accepts "-" as a synonym for standard input. * New option -v (spipe/spiped): Print version number. * Add workaround for docker signal-handling bug in spiped. * Perform a graceful shutdown on SIGTERM.
37 lines
987 B
Makefile
37 lines
987 B
Makefile
# $NetBSD: Makefile,v 1.20 2020/04/06 09:27:13 wiz Exp $
|
|
|
|
DISTNAME= spiped-1.6.1
|
|
CATEGORIES= security net
|
|
MASTER_SITES= http://www.tarsnap.com/spiped/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.tarsnap.com/spiped/
|
|
COMMENT= Tool for creating symmetrically encrypted and authenticated pipes
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_LANGUAGES= c99
|
|
TEST_TARGET= test
|
|
|
|
MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin
|
|
MAKE_FLAGS+= MAN1DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
LDADD_EXTRA= ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.openssl}/lib
|
|
LDADD_EXTRA+= -L${BUILDLINK_PREFIX.openssl}/lib
|
|
|
|
OPSYSVARS+= LDADD_EXTRA
|
|
LDADD_EXTRA.SunOS+= -lsocket -lnsl
|
|
|
|
CFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
SMF_METHODS= spiped
|
|
|
|
MAKE_ENV+= LDADD_EXTRA="${LDADD_EXTRA}"
|
|
|
|
INSTALLATION_DIRS+= share/doc/spiped ${PKGMANDIR}/man1
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/spiped
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|