summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-03-15 16:07:01 +0000
committertron <tron@pkgsrc.org>2005-03-15 16:07:01 +0000
commit1600729e58693e92d364308d4dff4d960d1b8aa9 (patch)
treea1e7821ebd09025bc7552e3b0fcb01108d7cb234 /net
parent3f2ba880b99b9ca1fc184880440c780c1ffa6989 (diff)
downloadpkgsrc-1600729e58693e92d364308d4dff4d960d1b8aa9.tar.gz
- Reorder assignment to fix "pkglint" warnings.
- Use RCD_SCRIPTS mechanism to install startup scripts as suggested by Greg A. Woods in PR pkg/19099.
Diffstat (limited to 'net')
-rw-r--r--net/bind9/Makefile22
-rw-r--r--net/bind9/PLIST4
2 files changed, 8 insertions, 18 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index e487cf720a8..6753ae11841 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.65 2005/01/26 09:32:31 tron Exp $
+# $NetBSD: Makefile,v 1.66 2005/03/15 16:07:01 tron Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= bind-${BIND_VERSION}pl1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.isc.org/sw/bind/
-COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
-
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= 9.3.0-patch1
PATCH_DIST_STRIP= -p1
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://www.isc.org/sw/bind/
+COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS
+
BIND_VERSION= 9.3.0
DIST_SUBDIR= bind/${BIND_VERSION}
@@ -23,6 +23,7 @@ BUILD_DEFS+= USE_INET6
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-libtool=yes \
@@ -35,14 +36,6 @@ CONFIGURE_ARGS+=--with-openssl=${SSLBASE}
PTHREAD_OPTS+= native
-post-build:
- ${SED} \
- -e 's|@PREFIX@|${PREFIX}|' \
- <${FILESDIR}/named.sh >${WRKDIR}/named
- ${SED} \
- -e 's|@PREFIX@|${PREFIX}|' \
- <${FILESDIR}/lwresd.sh >${WRKDIR}/lwresd
-
# include/isc/ipv6.h is installed on non-ipv6 platforms
.if defined(USE_INET6) && (${USE_INET6} == "YES")
PLIST_SUBST+= IPV6H="@comment "
@@ -51,6 +44,7 @@ PLIST_SUBST+= IPV6H=
.endif
PLIST_SRC= ${WRKDIR}/PLIST
+RCD_SCRIPTS= lwresd named
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bind9
@@ -67,8 +61,6 @@ post-install:
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type f -print ) >> ${PLIST_SRC}
(cd ${PREFIX}; ${FIND} share/doc/bind9 -type d -print ) | \
${SED} -e 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
- ${INSTALL_SCRIPT} ${WRKDIR}/named ${PREFIX}/etc/rc.d/named9
- ${INSTALL_SCRIPT} ${WRKDIR}/lwresd ${PREFIX}/etc/rc.d/lwresd
.include "../../mk/pthread.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/net/bind9/PLIST b/net/bind9/PLIST
index 5fa41b3eb7c..bb9f779dae8 100644
--- a/net/bind9/PLIST
+++ b/net/bind9/PLIST
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.13 2004/10/03 09:20:41 tron Exp $
+@comment $NetBSD: PLIST,v 1.14 2005/03/15 16:07:01 tron Exp $
bin/dig
bin/host
bin/isc-config.sh
bin/nslookup
bin/nsupdate
-etc/rc.d/lwresd
-etc/rc.d/named9
${IPV6H}include/isc/ipv6.h
include/bind/arpa/inet.h
include/bind/arpa/nameser.h