pkgsrc/security/spiped/Makefile
wiedi 0a83eef6c9 Update spiped to 1.4.1
spiped-1.4.1
* Fix build on OS X, and improve strict POSIX compliance.
* Improved zeroing of sensitive cryptographic data.
spiped-1.4.0
* Add automatic detection of compiler support (at compile-time) and CPU
  support (at run-time) for x86 "AES New Instructions"; and when available,
  use these to improve cryptographic performance.
* Add support for -g option, which makes {spiped, spipe} require perfect
  forward secrecy by dropping connections if the peer endpoint is detected to
  be running using the -f option.
2014-09-08 22:43:08 +00:00

40 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2014/09/08 22:43:08 wiedi Exp $
DISTNAME= spiped-1.4.1
CATEGORIES= net security
MASTER_SITES= http://www.tarsnap.com/spiped/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tarsnap.com/spiped/
COMMENT= Tool for creating symmetrically encrypted and authenticated pipes
LICENSE= 2-clause-bsd
MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin
MAKE_FLAGS+= MAN1DIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
LDADD_EXTRA= ${COMPILER_RPATH_FLAG:Q}${BUILDLINK_PREFIX.openssl}/lib
CFLAGS.SunOS+= -D__EXTENSIONS__
SMF_METHODS= spiped
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LDADD_EXTRA+= -lsocket -lnsl
.endif
MAKE_ENV+= LDADD_EXTRA="${LDADD_EXTRA}"
INSTALLATION_DIRS+= share/doc/spiped ${PKGMANDIR}/man1
.if ${INIT_SYSTEM} == "smf"
MESSAGE_SRC+= MESSAGE.smf
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/spiped
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"