From 8ef2a357e951d20fb2482a6d5f61a6fef75350ad Mon Sep 17 00:00:00 2001 From: pettai Date: Sun, 25 Jul 2010 19:57:25 +0000 Subject: Add installation of the CONF files, to ease the usability of this package --- security/dnssec-tools/Makefile | 16 +++++++++++++++- security/dnssec-tools/PLIST | 5 ++++- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'security') diff --git a/security/dnssec-tools/Makefile b/security/dnssec-tools/Makefile index 144c0ff94ec..9f1f99bdb8c 100644 --- a/security/dnssec-tools/Makefile +++ b/security/dnssec-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2010/07/23 08:42:05 pettai Exp $ +# $NetBSD: Makefile,v 1.3 2010/07/25 19:57:25 pettai Exp $ # DISTNAME= dnssec-tools-1.7 @@ -42,8 +42,22 @@ CONFIGURE_ARGS+= --with-perl-build-args="INSTALLDIRS=vendor DESTDIR=${DESTDIR}" USE_LIBTOOL= yes USE_LANGUAGES= c c++ +EGDIR= ${PREFIX}/share/examples/dnssec-tools +PKG_SYSCONFSUBDIR?= dnssec-tools + +CONF_FILES= ${EGDIR}/dnsval.conf ${PKG_SYSCONFDIR}/dnsval.conf +CONF_FILES+= ${EGDIR}/resolv.conf ${PKG_SYSCONFDIR}/resolv.conf +CONF_FILES+= ${EGDIR}/root.hints ${PKG_SYSCONFDIR}/root.hints + +INSTALLATION_DIRS= ${EGDIR} + .include "options.mk" +post-install: + ${INSTALL_DATA} ${WRKSRC}/validator/etc/dnsval.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/validator/etc/resolv.conf ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/validator/etc/root.hints ${DESTDIR}${EGDIR} + .include "../../lang/perl5/packlist.mk" .include "../../lang/perl5/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" diff --git a/security/dnssec-tools/PLIST b/security/dnssec-tools/PLIST index f6c55681105..3018387b21f 100644 --- a/security/dnssec-tools/PLIST +++ b/security/dnssec-tools/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2010/07/23 22:41:49 pettai Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/07/25 19:57:25 pettai Exp $ bin/getaddr bin/gethost bin/getname @@ -62,3 +62,6 @@ share/dnssec-tools/donuts/rules/dnssec.rules.txt share/dnssec-tools/donuts/rules/nsec_check.rules.txt share/dnssec-tools/donuts/rules/parent_child.rules.txt share/dnssec-tools/donuts/rules/recommendations.rules.txt +share/examples/dnssec-tools/dnsval.conf +share/examples/dnssec-tools/resolv.conf +share/examples/dnssec-tools/root.hints -- cgit v1.2.3