2014-07-15 19:48:40 +02:00
|
|
|
PORTNAME= signify
|
2016-06-04 06:55:45 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2022-10-22 20:34:27 +02:00
|
|
|
DISTVERSION= 0.12
|
2016-06-04 06:55:45 +02:00
|
|
|
PORTEPOCH= 1
|
2014-07-15 19:48:40 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
|
2022-10-22 20:34:27 +02:00
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
2016-06-04 06:55:45 +02:00
|
|
|
COMMENT= Create and verify cryptographic signatures
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/leahneukirchen/outils/
|
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.
|
2020-05-18 19:43:32 +02:00
|
|
|
LICENSE= BSD3CLAUSE BSD4CLAUSE ISCL
|
2016-06-04 06:55:45 +02:00
|
|
|
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
|
2020-01-01 17:25:28 +01:00
|
|
|
GH_ACCOUNT= leahneukirchen
|
2016-06-04 06:55:45 +02:00
|
|
|
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
|
|
|
|
|
2020-05-18 19:43:32 +02:00
|
|
|
PLIST_FILES= bin/signify \
|
|
|
|
share/man/man1/signify.1.gz
|
|
|
|
|
2016-06-04 06:55:45 +02:00
|
|
|
post-patch:
|
2018-04-05 12:24:04 +02:00
|
|
|
# The sys/* overrides are not needed on FreeBSD
|
|
|
|
@${RM} ${WRKSRC}/src/liboutils/include/sys/*
|
2016-06-04 06:55:45 +02:00
|
|
|
# Replace /etc/signify paths in man page and signify's safe path to
|
|
|
|
# point to /usr/local/etc/signify
|
2018-04-05 12:24:04 +02:00
|
|
|
@${REINPLACE_CMD} 's|/etc/signify|${ETCDIR}|g' \
|
2016-06-04 06:55:45 +02:00
|
|
|
${WRKSRC}/src/usr.bin/signify/signify.c \
|
|
|
|
${WRKSRC}/src/usr.bin/signify/signify.1
|
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
|
2020-01-10 07:34:43 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/src/usr.bin/signify/signify.1 \
|
2020-05-18 19:43:32 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
2020-01-10 07:34:43 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
2016-06-04 06:55:45 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/openbsd-*.pub \
|
|
|
|
${STAGEDIR}${ETCDIR}
|
2020-05-18 19:43:32 +02:00
|
|
|
cd ${STAGEDIR}${PREFIX} && \
|
|
|
|
${FIND} ${ETCDIR_REL} -name 'openbsd-*.pub' -type f >> ${TMPPLIST}
|
2014-07-15 19:48:40 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|