* pkgsrc change: switch dependency from net/bind914 to net/bind916. zkt 1.1.4 -- 9. May 2016 * misc Hint to mailinglist removed from README file * bug pathname wasn't initialized in any case (dist_and_reload() in nscomm.c Thanks Jeremy C. Reed * bug move $(LIBS) at the end of the ggc link line in Makefile.in * misc Exitcode of external command is now visible in log messages stderr of each external command is redirected to stdin * bug Fixed some potential memory leaks in ncparse.c dki.c zfparse.c and zkt-soaserial.c (mostly a missing fclose() on error conditions). Thanks to Jeremy C. Reed * misc README file changed to Markdown syntax * bug running zkt-keyman -3 didn't change anything on the key database so a zkt-signer run afterwards didn't see anything to do. Now the timestamp of the dnskey.db will be reset to a value less than the timestamp of the (new) key signing key. Thanks to Sven Strickroth for finding this. * func New binary zkt-delegate added Because it depends on the ldns library, it is located in a separate directory and use a different Makefile * func New Compile time option "--enable-ds-tracking" added. Now dig is used on KSK rollover to check if the DS record is announced in the parent zone. Thanks to Sven Strickroth providing the patch. zkt 1.1.3 -- 21. Nov 2014 * func New Config Parameter DependFiles added. Contains a (comma separated) list of files which are included into the ZoneFile. The timestamps of this files are checked additional to the timestamp of the ZoneFile. Based on a suggestion from Sven Strickroth * misc Makefile changed to build tar file out of git repository * misc Minimum supported BIND version is now 9.8 * bug Fixed bug in BIND version parsing (9.10.1 was parsed as 910 which is similar to 9.1.0) Version 9.10.1 is parsed now as 091001 * misc Remove flag to request large exponent when creating keys (BIND always creates keys with large exponents since BIND 9.5.0) * misc Project moved to github Thanks to Jakob Schlyter for doing the initial stuff
60 lines
2.1 KiB
Makefile
60 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2020/09/01 14:06:52 taca Exp $
|
|
|
|
DISTNAME= zkt-1.1.4
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.hznet.de/dns/zkt/
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= https://www.hznet.de/dns/zkt/
|
|
COMMENT= DNSSEC Zone Key Tool
|
|
LICENSE= original-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-configpath=${PKG_SYSCONFDIR}/zkt
|
|
#CONFIGURE_ARGS+= --enable-configpath=/var/chroot/named/etc
|
|
|
|
INSTALLATION_DIRS= sbin share/doc/zkt ${PKGMANDIR}/man8 etc/zkt
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# NetBSD has bind in base, util path=/usr/sbin
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/sbin/dnssec-keygen)
|
|
CONFIGURE_ARGS+= --enable-bind_util_path=/usr/sbin
|
|
.endif
|
|
|
|
# DragonFly uses pkgsrc bind, so the util path must be explicitly defined
|
|
# Without any global bind package to point to, pick the latest one and
|
|
# hope one of the other 3 bind packages isn't already installed because
|
|
# this one will fail to build due to conflict in that case.
|
|
|
|
.if ${OPSYS} == "DragonFly"
|
|
CONFIGURE_ARGS+= --enable-bind_util_path=${BUILDLINK_PREFIX.bind}/sbin
|
|
.include "../../net/bind916/buildlink3.mk"
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zkt-conf \
|
|
${DESTDIR}${PREFIX}/sbin/zkt-conf
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zkt-keyman \
|
|
${DESTDIR}${PREFIX}/sbin/zkt-keyman
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zkt-ls \
|
|
${DESTDIR}${PREFIX}/sbin/zkt-ls
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zkt-signer \
|
|
${DESTDIR}${PREFIX}/sbin/zkt-signer
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zkt-soaserial \
|
|
${DESTDIR}${PREFIX}/sbin/zkt-soaserial
|
|
${INSTALL_MAN} ${WRKSRC}/man/zkt-conf.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/zkt-conf.8
|
|
${INSTALL_MAN} ${WRKSRC}/man/zkt-ls.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/zkt-ls.8
|
|
${INSTALL_MAN} ${WRKSRC}/man/zkt-keyman.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/zkt-keyman.8
|
|
${INSTALL_MAN} ${WRKSRC}/man/zkt-signer.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/zkt-signer.8
|
|
${INSTALL_DATA} ${WRKSRC}/README.md \
|
|
${DESTDIR}${PREFIX}/share/doc/zkt/README.md
|
|
${INSTALL_DATA} ${WRKSRC}/README.logging \
|
|
${DESTDIR}${PREFIX}/share/doc/zkt/README.logging
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|