summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-06-20 13:37:22 +0000
committerabs <abs@pkgsrc.org>2006-06-20 13:37:22 +0000
commit7e8bc3002f5a895d72d5cc58fe9068930568ee1c (patch)
tree618fedcabcabfa0d16b07b9d6620d612467f5f36 /net
parent681667325ae5010ba8a01c94188f6c4fed258573 (diff)
downloadpkgsrc-7e8bc3002f5a895d72d5cc58fe9068930568ee1c.tar.gz
The contents of include/bind vary widly between systems as bind9
dutifully installs whatever it thinks might be missing or just substandard on the current system. As the Makefile already adds the contents of share/doc/bind9 dynamically to the PLIST, do the same for include/bind. Fixes the PLIST on RedHat EL 2 & 3, and does not break it on NetBSD/3 No PKGREVISION bump as no change to anything but generated PLIST
Diffstat (limited to 'net')
-rw-r--r--net/bind9/Makefile6
-rw-r--r--net/bind9/PLIST29
2 files changed, 6 insertions, 29 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile
index cd9bbb652fa..ee538da6006 100644
--- a/net/bind9/Makefile
+++ b/net/bind9/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2006/04/25 16:19:40 tron Exp $
+# $NetBSD: Makefile,v 1.78 2006/06/20 13:37:22 abs Exp $
DISTNAME= bind-${BIND_VERSION}
CATEGORIES= net
@@ -36,6 +36,7 @@ PTHREAD_OPTS+= native
FILES_SUBST+= BIND_GROUP=${BIND_GROUP:Q} BIND_USER=${BIND_USER:Q} PAX=${PAX:Q}
MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
+
# include/isc/ipv6.h is installed on non-ipv6 platforms
.if defined(USE_INET6) && (${USE_INET6} == "YES")
PLIST_SUBST+= IPV6H="@comment "
@@ -61,6 +62,9 @@ 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}
+ (cd ${PREFIX}; ${FIND} include/bind -type f -print ) >> ${PLIST_SRC}
+ (cd ${PREFIX}; ${FIND} include/bind -type d -print ) | \
+ ${SED} -e 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
.include "../../mk/pthread.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/net/bind9/PLIST b/net/bind9/PLIST
index 6730a5ce166..f1440589cc9 100644
--- a/net/bind9/PLIST
+++ b/net/bind9/PLIST
@@ -1,33 +1,10 @@
-@comment $NetBSD: PLIST,v 1.17 2005/06/01 22:02:55 tron Exp $
+@comment $NetBSD: PLIST,v 1.18 2006/06/20 13:37:22 abs Exp $
bin/dig
bin/host
bin/isc-config.sh
bin/nslookup
bin/nsupdate
${IPV6H}include/isc/ipv6.h
-include/bind/arpa/inet.h
-include/bind/arpa/nameser.h
-include/bind/arpa/nameser_compat.h
-include/bind/fd_setsize.h
-include/bind/hesiod.h
-include/bind/irp.h
-include/bind/irs.h
-include/bind/isc/assertions.h
-include/bind/isc/ctl.h
-include/bind/isc/dst.h
-include/bind/isc/eventlib.h
-include/bind/isc/heap.h
-include/bind/isc/irpmarshall.h
-include/bind/isc/list.h
-include/bind/isc/logging.h
-include/bind/isc/memcluster.h
-include/bind/isc/misc.h
-include/bind/isc/tree.h
-include/bind/netdb.h
-include/bind/netgroup.h
-include/bind/res_update.h
-include/bind/resolv.h
-include/bind/sys/bitypes.h
include/bind9/check.h
include/bind9/getaddresses.h
include/bind9/version.h
@@ -324,7 +301,3 @@ share/examples/rc.d/named9
@dirrm include/dst
@dirrm include/dns
@dirrm include/bind9
-@dirrm include/bind/arpa
-@dirrm include/bind/isc
-@dirrm include/bind/sys
-@dirrm include/bind