aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2007-09-02 22:08:12 +0000
committerDoug Barton <dougb@FreeBSD.org>2007-09-02 22:08:12 +0000
commit853f59fc81aa325f09f81975eb1978b860556bab (patch)
treecd5e800084ab4ebda4baedf42e8d022a3b54f96f
parentac607e06fc2f5a99db278bfdf1d57364ffbbd7c1 (diff)
downloadports-853f59fc81aa325f09f81975eb1978b860556bab.tar.gz
ports-853f59fc81aa325f09f81975eb1978b860556bab.zip
1. Add the patch for 8.4.7-P1, and bump PORTVERSION in a way that works
for us. 2. Tighten the list of master sites way down since almost all mirrors have dropped BIND 8.
Notes
Notes: svn path=/head/; revision=198668
-rw-r--r--dns/bind84/Makefile24
-rw-r--r--dns/bind84/distinfo6
2 files changed, 24 insertions, 6 deletions
diff --git a/dns/bind84/Makefile b/dns/bind84/Makefile
index af55e1ff4410..3ef7a8699f11 100644
--- a/dns/bind84/Makefile
+++ b/dns/bind84/Makefile
@@ -11,14 +11,17 @@
# you can generally build it cleanly from the source. - Doug
PORTNAME= bind84
-PORTVERSION= 8.4.7
+PORTVERSION= 8.4.7.1
CATEGORIES?= dns net ipv6
-MASTER_SITES= ${MASTER_SITE_ISC} \
- http://dougbarton.us/Downloads/%SUBDIR%/
-MASTER_SITE_SUBDIR= bind/src/${PORTVERSION}
+MASTER_SITES= ftp://ftp.isc.org/isc/%SUBDIR%/ \
+ http://dougbarton.us/Downloads/%SUBDIR%/ \
+ ftp://ftp.isc.org/isc/bind8/src/8.4.7-P1/:patch \
+ http://dougbarton.us/Downloads/bind8/src/8.4.7-P1/:patch
+MASTER_SITE_SUBDIR= bind8/src/8.4.7
DISTFILES= bind-src.tar.gz bind-doc.tar.gz \
- bind-src.tar.gz.asc bind-doc.tar.gz.asc
-DIST_SUBDIR= bind-${PORTVERSION}
+ bind-src.tar.gz.asc bind-doc.tar.gz.asc \
+ 8.4.7-p1.patch:patch 8.4.7-p1.patch.asc:patch
+DIST_SUBDIR= bind-8.4.7
EXTRACT_ONLY= bind-src.tar.gz bind-doc.tar.gz
MAINTAINER= DougB@FreeBSD.org
@@ -69,6 +72,15 @@ WRKSRC= ${WRKDIR}/src
verify: checksum
gpg --verify ${DISTDIR}/${DIST_SUBDIR}/bind-src.tar.gz.asc
gpg --verify ${DISTDIR}/${DIST_SUBDIR}/bind-doc.tar.gz.asc
+ gpg --verify ${DISTDIR}/${DIST_SUBDIR}/8.4.7-p1.patch.asc
+
+pre-patch:
+ @${SED} -e 's#^\*\*\* bind8/#*** #' -e 's#^\-\-\- bind8/#--- #' \
+ -e 's#\-c bind8/#-c #' -e 's#^Index:.*##' \
+ ${DISTDIR}/${DIST_SUBDIR}/8.4.7-p1.patch > \
+ ${WRKDIR}/8.4.7-p1
+
+EXTRA_PATCHES= ${WRKDIR}/8.4.7-p1
post-patch:
@${SED} -e "s#\'DESTETC=.*#'DESTETC=${BIND_DESTETC}'#" \
diff --git a/dns/bind84/distinfo b/dns/bind84/distinfo
index d09baa9e0777..76cb9b639c5d 100644
--- a/dns/bind84/distinfo
+++ b/dns/bind84/distinfo
@@ -10,3 +10,9 @@ SIZE (bind-8.4.7/bind-src.tar.gz.asc) = 187
MD5 (bind-8.4.7/bind-doc.tar.gz.asc) = 1a8377b48d1eae61c8246c6d27fdb5ca
SHA256 (bind-8.4.7/bind-doc.tar.gz.asc) = ae32114e896ed8d3a2f96be18986bd67c4e7be50e4fd03e7d39a022e83dd47aa
SIZE (bind-8.4.7/bind-doc.tar.gz.asc) = 187
+MD5 (bind-8.4.7/8.4.7-p1.patch) = fa86090a9afb5deaf096f21803cb819b
+SHA256 (bind-8.4.7/8.4.7-p1.patch) = a2400b6db3b68389bef6af1e1b0a732946f8fdc80605ef5a79a09b7ddaaf660a
+SIZE (bind-8.4.7/8.4.7-p1.patch) = 47224
+MD5 (bind-8.4.7/8.4.7-p1.patch.asc) = f01bb9f96077667e78fdb95e045da9a0
+SHA256 (bind-8.4.7/8.4.7-p1.patch.asc) = 08c4ad7e869ab7def323914d1cfb89fd6117cb5db8fcd46ef35ecf5c88e00411
+SIZE (bind-8.4.7/8.4.7-p1.patch.asc) = 478