install readme. link w/ libwrap. and other tweaks. PR 24034

This commit is contained in:
itojun 2004-02-16 21:55:14 +00:00
parent 909f053d92
commit 097aac282e
2 changed files with 36 additions and 2 deletions

View file

@ -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"

View file

@ -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