diff options
author | itojun <itojun@pkgsrc.org> | 2004-02-16 21:55:14 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2004-02-16 21:55:14 +0000 |
commit | 097aac282e369f1d58be99a13433ba1e7d9131d3 (patch) | |
tree | b986b18661b195d8bb8cb89ac1e6e7f67b322797 /net | |
parent | 909f053d920c399a87a8087728aaa235fee92e5f (diff) | |
download | pkgsrc-097aac282e369f1d58be99a13433ba1e7d9131d3.tar.gz |
install readme. link w/ libwrap. and other tweaks. PR 24034
Diffstat (limited to 'net')
-rw-r--r-- | net/nsd/Makefile | 24 | ||||
-rw-r--r-- | net/nsd/PLIST | 14 |
2 files changed, 36 insertions, 2 deletions
diff --git a/net/nsd/Makefile b/net/nsd/Makefile index e8c4df7e420..152faf90bd6 100644 --- a/net/nsd/Makefile +++ b/net/nsd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2004/02/15 18:47:04 itojun Exp $ +# $NetBSD: Makefile,v 1.18 2004/02/16 21:55:14 itojun Exp $ DISTNAME= nsd-2.0.0 CATEGORIES= net @@ -13,7 +13,29 @@ BUILD_DEFS+= USE_INET6 .include "../../mk/bsd.prefs.mk" GNU_CONFIGURE= yes +USE_BUILDLINK2= yes CONFIGURE_ARGS= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+=--enable-bind8-stats +CONFIGURE_ARGS+=--with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers} +.if !defined(USE_INET6) +CONFIGURE_ARGS+=--disable-ipv6 +.endif +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+=--with-pidfile=/var/run/nsd.pid +CONFIGURE_ARGS+=--with-user=named +CONFIGURE_ARGS+=--with-namedxfer=/usr/libexec/named-xfer +.endif +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/nsd + ${INSTALL_DATA_DIR} ${PREFIX}/share/nsd/contrib +.for FILE in README RELNOTES DIFFERENCES LICENSE NSD-DATABASE TODO + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/nsd +.endfor +.for FILE in README build-nsdzones.pl build-nsdzones.pl.README example-plugin.c + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/nsd/contrib +.endfor + +.include "../../security/tcp_wrappers/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/nsd/PLIST b/net/nsd/PLIST index 8f0f963ffda..2e28a88d9db 100644 --- a/net/nsd/PLIST +++ b/net/nsd/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2004/02/15 18:47:04 itojun Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/02/16 21:55:14 itojun Exp $ sbin/nsd sbin/nsd-notify sbin/nsdc @@ -7,3 +7,15 @@ man/man8/nsd.8 man/man8/nsd-notify.8 man/man8/nsdc.8 man/man8/zonec.8 +share/nsd/DIFFERENCES +share/nsd/LICENSE +share/nsd/NSD-DATABASE +share/nsd/README +share/nsd/RELNOTES +share/nsd/TODO +share/nsd/contrib/README +share/nsd/contrib/build-nsdzones.pl +share/nsd/contrib/build-nsdzones.pl.README +share/nsd/contrib/example-plugin.c +@dirrm share/nsd/contrib +@dirrm share/nsd |