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/nsd/Makefile | |
parent | 909f053d920c399a87a8087728aaa235fee92e5f (diff) | |
download | pkgsrc-097aac282e369f1d58be99a13433ba1e7d9131d3.tar.gz |
install readme. link w/ libwrap. and other tweaks. PR 24034
Diffstat (limited to 'net/nsd/Makefile')
-rw-r--r-- | net/nsd/Makefile | 24 |
1 files changed, 23 insertions, 1 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" |