diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-12-03 22:39:44 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-12-03 22:39:44 +0000 |
commit | 8a993c4fbb65106bb787e54deb731cef04f02d72 (patch) | |
tree | dbf1c5df89b9ecf575a226d866edcf5982200899 /dns | |
parent | 2592b3d2636129c0d100298e33339f5ef906134c (diff) |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bind97/Makefile | 12 | ||||
-rw-r--r-- | dns/bind97/distinfo | 8 | ||||
-rw-r--r-- | dns/bind97/pkg-install | 13 |
3 files changed, 21 insertions, 12 deletions
diff --git a/dns/bind97/Makefile b/dns/bind97/Makefile index d7f3c26a3679..1530ada48c0c 100644 --- a/dns/bind97/Makefile +++ b/dns/bind97/Makefile @@ -6,7 +6,7 @@ # PORTNAME?= bind97 -PORTVERSION= 9.7.2.2 +PORTVERSION= 9.7.2.3 PORTREVISION?= 0 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} \ @@ -20,7 +20,7 @@ MAINTAINER= dougb@FreeBSD.org COMMENT?= The BIND DNS suite with updated DNSSEC and threads # ISC releases things like 9.4.0b3, which our versioning doesn't like -ISCVERSION= 9.7.2-P2 +ISCVERSION= 9.7.2-P3 MAKE_JOBS_UNSAFE= yes @@ -47,6 +47,7 @@ OPTIONS+= LINKS "Create conf file symlinks in ${PREFIX}" on \ DLZ_LDAP "DLZ LDAP driver" off \ DLZ_FILESYSTEM "DLZ filesystem driver" off \ DLZ_STUB "DLZ stub driver" off +CONFLICTS+= bind-tools-9.* .endif # Just in case @@ -221,12 +222,7 @@ post-install: ${WRKSRC}/README* ${DOCSDIR}/ .endif .if !defined(WITHOUT_LINKS) && !defined(WITH_REPLACE_BASE) - ${MKDIR} /var/named${PREFIX}/etc -.for DIR in ${PREFIX}/etc /var/named${PREFIX}/etc -.for FILE in named.conf rndc.key - ${LN} -sf /etc/namedb/${FILE} ${DIR}/${FILE} -.endfor -.endfor + PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .endif @${CAT} ${PKGMESSAGE} diff --git a/dns/bind97/distinfo b/dns/bind97/distinfo index 5e760dd2c006..83d0f1dfcb2b 100644 --- a/dns/bind97/distinfo +++ b/dns/bind97/distinfo @@ -1,4 +1,4 @@ -SHA256 (bind-9.7.2-P2.tar.gz) = e6d5938184066fc793c28ff975e09e9721116aede2a2d6d93b1be5e8654a5c8a -SIZE (bind-9.7.2-P2.tar.gz) = 7573857 -SHA256 (bind-9.7.2-P2.tar.gz.asc) = a9aa8ee425dbc4530acde04db818a13c2e9fe919dd700d3f472a852a3c2bbeba -SIZE (bind-9.7.2-P2.tar.gz.asc) = 481 +SHA256 (bind-9.7.2-P3.tar.gz) = cd945f4766be664f4528ec065df626ad3624481695316ec8e13ad272f4abfb7e +SIZE (bind-9.7.2-P3.tar.gz) = 7643996 +SHA256 (bind-9.7.2-P3.tar.gz.asc) = 3f9047dbd123f211b8f9d6b7cbb53f9d6db3cd713a6fc144644b0d87a75afe93 +SIZE (bind-9.7.2-P3.tar.gz.asc) = 481 diff --git a/dns/bind97/pkg-install b/dns/bind97/pkg-install new file mode 100644 index 000000000000..fef4dba0bd3c --- /dev/null +++ b/dns/bind97/pkg-install @@ -0,0 +1,13 @@ +#!/bin/sh + +[ "$2" = 'POST-INSTALL' ] || exit 0 + +/bin/mkdir -p /var/named${PKG_PREFIX}/etc + +for DIR in ${PKG_PREFIX}/etc /var/named${PKG_PREFIX}/etc; do + for FILE in named.conf rndc.key; do + /bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE} + done +done + +exit 0 |