pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nsd install readme. link w/ libwrap. and other t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e21db75674a5
branches:  trunk
changeset: 468784:e21db75674a5
user:      itojun <itojun%pkgsrc.org@localhost>
date:      Mon Feb 16 21:55:14 2004 +0000

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

diffstat:

 net/nsd/Makefile |  24 +++++++++++++++++++++++-
 net/nsd/PLIST    |  14 +++++++++++++-
 2 files changed, 36 insertions(+), 2 deletions(-)

diffs (64 lines):

diff -r c0f3f4d26998 -r e21db75674a5 net/nsd/Makefile
--- a/net/nsd/Makefile  Mon Feb 16 21:50:26 2004 +0000
+++ b/net/nsd/Makefile  Mon Feb 16 21:55:14 2004 +0000
@@ -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 @@
 .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 -r c0f3f4d26998 -r e21db75674a5 net/nsd/PLIST
--- a/net/nsd/PLIST     Mon Feb 16 21:50:26 2004 +0000
+++ b/net/nsd/PLIST     Mon Feb 16 21:55:14 2004 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index