View | Details | Raw Unified | Return to bug 119997
Collapse All | Expand All

(-)/home/jnlin/ports/bind94/Makefile (-2 / +24 lines)
Lines 13-19 Link Here
13
13
14
PORTNAME=	bind94
14
PORTNAME=	bind94
15
PORTVERSION=	9.4.2
15
PORTVERSION=	9.4.2
16
PORTREVISION=	1
16
PORTREVISION=	2
17
CATEGORIES=	dns net ipv6
17
CATEGORIES=	dns net ipv6
18
MASTER_SITES=	${MASTER_SITE_ISC} \
18
MASTER_SITES=	${MASTER_SITE_ISC} \
19
		http://dougbarton.us/Downloads/%SUBDIR%/
19
		http://dougbarton.us/Downloads/%SUBDIR%/
Lines 39-45 Link Here
39
OPTIONS=	REPLACE_BASE "Replace base BIND with this version" off \
39
OPTIONS=	REPLACE_BASE "Replace base BIND with this version" off \
40
		LARGE_FILE "64-bit file support" off \
40
		LARGE_FILE "64-bit file support" off \
41
		IPV6 "IPv6 Support (autodetected by default)" off \
41
		IPV6 "IPv6 Support (autodetected by default)" off \
42
		THREADS	"Compile with thread support" on
42
		THREADS	"Compile with thread support" on \
43
		GEOIP "Compile with GeoIP support" off
43
44
44
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
45
46
Lines 73-78 Link Here
73
BIND_DESTETC=	${PREFIX}/etc
74
BIND_DESTETC=	${PREFIX}/etc
74
.endif
75
.endif
75
76
77
.if defined(WITH_GEOIP)
78
LIB_DEPENDS+=	GeoIP:${PORTSDIR}/net/GeoIP
79
80
CONFIGURE_ENV+=	 CFLAGS="-I${LOCALBASE}/include" \
81
		 LDFLAGS="-L${LOCALBASE}/lib" \
82
		 LIBS="-L${LOCALBASE}/lib -lGeoIP"
83
84
GEOIP_PATCH_VER=	9.4.1
85
86
DISTFILES+=	bind-${GEOIP_PATCH_VER}-geodns-patch.tar.gz:geodns
87
MASTER_SITES+=	http://www.caraytech.com/geodns/:geodns
88
EXTRACT_ONLY+=	bind-${GEOIP_PATCH_VER}-geodns-patch.tar.gz
89
EXTRA_PATCHES+=	${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff
90
.endif
91
76
PLIST_SUB=	BIND_DESTETC="${BIND_DESTETC}"
92
PLIST_SUB=	BIND_DESTETC="${BIND_DESTETC}"
77
93
78
MAN1=	dig.1 host.1 nslookup.1
94
MAN1=	dig.1 host.1 nslookup.1
Lines 116-121 Link Here
116
132
117
verify:	checksum
133
verify:	checksum
118
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
134
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
135
136
pre-patch:
137
.if defined(WITH_GEOIP)
138
	@${MV} ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff ${WRKDIR}/bind-${GEOIP_PATCH_VER}-geodns-patch/patch.diff.Dist
139
	@${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
140
.endif
119
141
120
post-patch:
142
post-patch:
121
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \
143
.for FILE in check/named-checkconf.8 named/named.8 nsupdate/nsupdate.8 \
(-)/home/jnlin/ports/bind94/distinfo (+3 lines)
Lines 4-6 Link Here
4
MD5 (bind-9.4.2.tar.gz.asc) = acbccd025da3e1b6b980ca2a023310b3
4
MD5 (bind-9.4.2.tar.gz.asc) = acbccd025da3e1b6b980ca2a023310b3
5
SHA256 (bind-9.4.2.tar.gz.asc) = c6e43af53f0102b7db4f5c2d824f509587323884ecf984a4b2c0c66e510ded01
5
SHA256 (bind-9.4.2.tar.gz.asc) = c6e43af53f0102b7db4f5c2d824f509587323884ecf984a4b2c0c66e510ded01
6
SIZE (bind-9.4.2.tar.gz.asc) = 479
6
SIZE (bind-9.4.2.tar.gz.asc) = 479
7
MD5 (bind-9.4.1-geodns-patch.tar.gz) = d3d515bdef525f9a31787b36a105e690
8
SHA256 (bind-9.4.1-geodns-patch.tar.gz) = 352413037e4779519c0a5b70aef801c8f84bcf15d1d485b16096d75f83644a65
9
SIZE (bind-9.4.1-geodns-patch.tar.gz) = 2057

Return to bug 119997