summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorpettai <pettai@pkgsrc.org>2010-07-25 19:57:25 +0000
committerpettai <pettai@pkgsrc.org>2010-07-25 19:57:25 +0000
commit8ef2a357e951d20fb2482a6d5f61a6fef75350ad (patch)
tree17b2f7810e726b4c795ff62c8669a3b85cf4b32a /security
parent498d9ab483e26b44237e4fe9dc60d41e7f9fe8a3 (diff)
downloadpkgsrc-8ef2a357e951d20fb2482a6d5f61a6fef75350ad.tar.gz
Add installation of the CONF files, to ease the usability of this package
Diffstat (limited to 'security')
-rw-r--r--security/dnssec-tools/Makefile16
-rw-r--r--security/dnssec-tools/PLIST5
2 files changed, 19 insertions, 2 deletions
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