From 22a5c105f208e21f4d98453cda5c81b2c5822382 Mon Sep 17 00:00:00 2001 From: jakob Date: Sun, 19 Apr 2009 09:01:18 +0000 Subject: [PATCH] add additional documentation; from brad --- net/nsd/Makefile | 7 ++++++- net/nsd/pkg/PLIST | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/net/nsd/Makefile b/net/nsd/Makefile index b000bbc2233..402f04acb50 100644 --- a/net/nsd/Makefile +++ b/net/nsd/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.47 2009/02/01 19:13:40 jakob Exp $ +# $OpenBSD: Makefile,v 1.48 2009/04/19 09:01:18 jakob Exp $ COMMENT= authoritative-only name server daemon VERSION= 3.2.1 DISTNAME= nsd-${VERSION} +PKGNAME= ${DISTNAME}p0 CATEGORIES= net MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ @@ -32,8 +33,12 @@ CONFIGURE_ARGS+= --enable-bind8-stats \ NO_REGRESS= Yes +DOCS= README NSD-FOR-BIND-USERS + post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nsd ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nsd + cd ${WRKSRC}/doc; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/nsd mv ${WRKINST}/${SYSCONFDIR}/nsd/nsd.conf.sample ${PREFIX}/share/examples/nsd/nsd.conf .include diff --git a/net/nsd/pkg/PLIST b/net/nsd/pkg/PLIST index 0bccd17b892..b2c40d8460f 100644 --- a/net/nsd/pkg/PLIST +++ b/net/nsd/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.9 2009/02/01 19:13:40 jakob Exp $ +@comment $OpenBSD: PLIST,v 1.10 2009/04/19 09:01:18 jakob Exp $ @man man/man5/nsd.conf.5 @man man/man8/nsd-checkconf.8 @man man/man8/nsd-notify.8 @@ -14,6 +14,9 @@ @bin sbin/nsd-xfer sbin/nsdc @bin sbin/zonec +share/doc/nsd/ +share/doc/nsd/NSD-FOR-BIND-USERS +share/doc/nsd/README share/examples/nsd/ @mode 770 @group named @@ -21,7 +24,6 @@ share/examples/nsd/ @mode @group share/examples/nsd/nsd.conf -@group named @mode 640 @group named @sample ${SYSCONFDIR}/nsd/nsd.conf