FreeBSD Bugzilla – Attachment 84059 Details for
Bug 119997
[PATCH] dns/bind94: added GeoIP patches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bind94-9.4.2_2.patch
bind94-9.4.2_2.patch (text/plain), 2.50 KB, created by
Jui-Nan Lin
on 2008-01-26 09:40:00 UTC
(
hide
)
Description:
bind94-9.4.2_2.patch
Filename:
MIME Type:
Creator:
Jui-Nan Lin
Created:
2008-01-26 09:40:00 UTC
Size:
2.50 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/dns/bind94/Makefile /home/jnlin/ports/bind94/Makefile >--- /usr/ports/dns/bind94/Makefile Wed Dec 5 08:44:01 2007 >+++ /home/jnlin/ports/bind94/Makefile Sat Jan 26 17:25:48 2008 >@@ -13,7 +13,7 @@ > > PORTNAME= bind94 > PORTVERSION= 9.4.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= dns net ipv6 > MASTER_SITES= ${MASTER_SITE_ISC} \ > http://dougbarton.us/Downloads/%SUBDIR%/ >@@ -39,7 +39,8 @@ > OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \ > LARGE_FILE "64-bit file support" off \ > IPV6 "IPv6 Support (autodetected by default)" off \ >- THREADS "Compile with thread support" on >+ THREADS "Compile with thread support" on \ >+ GEOIP "Compile with GeoIP support" off > > .include <bsd.port.pre.mk> > >@@ -73,6 +74,21 @@ > BIND_DESTETC= ${PREFIX}/etc > .endif > >+.if defined(WITH_GEOIP) >+LIB_DEPENDS+= GeoIP:${PORTSDIR}/net/GeoIP >+ >+CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" \ >+ LDFLAGS="-L${LOCALBASE}/lib" \ >+ LIBS="-L${LOCALBASE}/lib -lGeoIP" >+ >+GEOIP_PATCH_VER= 9.4.1 >+ >+DISTFILES+= bind-${GEOIP_PATCH_VER}-geodns-patch.tar.gz:geodns >+MASTER_SITES+= http://www.caraytech.com/geodns/:geodns >+EXTRACT_ONLY+= bind-${GEOIP_PATCH_VER}-geodns-patch.tar.gz >+EXTRA_PATCHES+= ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff >+.endif >+ > PLIST_SUB= BIND_DESTETC="${BIND_DESTETC}" > > MAN1= dig.1 host.1 nslookup.1 >@@ -116,6 +132,12 @@ > > verify: checksum > gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc >+ >+pre-patch: >+.if defined(WITH_GEOIP) >+ @${MV} ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff.Dist >+ @${SED} -e 's#bind-9.4.1-P1[^/]*/##g' ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff.Dist > ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff >+.endif > > post-patch: > .for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \ >diff -ruN --exclude=CVS /usr/ports/dns/bind94/distinfo /home/jnlin/ports/bind94/distinfo >--- /usr/ports/dns/bind94/distinfo Sun Dec 2 05:53:34 2007 >+++ /home/jnlin/ports/bind94/distinfo Sat Jan 26 17:08:27 2008 >@@ -4,3 +4,6 @@ > MD5 (bind-9.4.2.tar.gz.asc) = acbccd025da3e1b6b980ca2a023310b3 > SHA256 (bind-9.4.2.tar.gz.asc) = c6e43af53f0102b7db4f5c2d824f509587323884ecf984a4b2c0c66e510ded01 > SIZE (bind-9.4.2.tar.gz.asc) = 479 >+MD5 (bind-9.4.1-geodns-patch.tar.gz) = d3d515bdef525f9a31787b36a105e690 >+SHA256 (bind-9.4.1-geodns-patch.tar.gz) = 352413037e4779519c0a5b70aef801c8f84bcf15d1d485b16096d75f83644a65 >+SIZE (bind-9.4.1-geodns-patch.tar.gz) = 2057
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 119997
: 84059