2014-07-15 19:48:40 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= signify
|
2016-10-26 20:03:56 +02:00
|
|
|
PORTVERSION= 0.6
|
2016-06-04 06:55:45 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2018-03-27 02:28:33 +02:00
|
|
|
PORTREVISION= 3
|
2016-06-04 06:55:45 +02:00
|
|
|
PORTEPOCH= 1
|
2014-07-15 19:48:40 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2017-02-15 13:28:29 +01:00
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
2016-06-04 06:55:45 +02:00
|
|
|
COMMENT= Create and verify cryptographic signatures
|
2014-07-15 19:48:40 +02:00
|
|
|
|
2016-06-04 06:55:45 +02:00
|
|
|
# outils includes signify from OpenBSD's base system which is under an
|
|
|
|
# ISC license. The parts of liboutils that signify uses are licensed
|
|
|
|
# under ISCL/BSD3/BSD4.
|
|
|
|
LICENSE= ISCL BSD4CLAUSE BSD3CLAUSE
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2014-07-15 19:48:40 +02:00
|
|
|
|
2016-09-11 07:41:52 +02:00
|
|
|
USES= gmake
|
2016-06-04 06:55:45 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= chneukirchen
|
|
|
|
GH_PROJECT= outils
|
2014-07-16 16:18:42 +02:00
|
|
|
|
2016-06-04 06:55:45 +02:00
|
|
|
ALL_TARGET= src/usr.bin/signify/signify
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# sys/cdefs.h and sys/limits.h override is not needed on FreeBSD
|
|
|
|
${RM} ${WRKSRC}/src/liboutils/include/sys/cdefs.h
|
|
|
|
${RM} ${WRKSRC}/src/liboutils/include/sys/limits.h
|
|
|
|
# Replace /etc/signify paths in man page and signify's safe path to
|
|
|
|
# point to /usr/local/etc/signify
|
|
|
|
${REINPLACE_CMD} 's|/etc/signify/|${ETCDIR}/|g' \
|
|
|
|
${WRKSRC}/src/usr.bin/signify/signify.c \
|
|
|
|
${WRKSRC}/src/usr.bin/signify/signify.1
|
2016-09-11 07:41:52 +02:00
|
|
|
${REINPLACE_CMD} -e 's|-lcrypto||' ${WRKSRC}/Makefile
|
2014-07-15 19:48:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2016-06-04 06:55:45 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/usr.bin/signify/signify \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/usr.bin/signify/signify.1 \
|
|
|
|
${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/openbsd-*.pub \
|
|
|
|
${STAGEDIR}${ETCDIR}
|
2014-07-15 19:48:40 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|