Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/bind-tools: bind-tools-9.4.3_p5.ebuild ChangeLog bind-tools-9.6.1_p3.ebuild bind-tools-9.4.3_p3.ebuild bind-tools-9.4.3_p4.ebuild
Date: Wed, 27 Jan 2010 18:18:25
Message-Id: E1NaCT7-0004HG-PZ@stork.gentoo.org
1 jer 10/01/27 18:18:21
2
3 Modified: ChangeLog bind-tools-9.4.3_p3.ebuild
4 bind-tools-9.4.3_p4.ebuild
5 Added: bind-tools-9.4.3_p5.ebuild
6 bind-tools-9.6.1_p3.ebuild
7 Log:
8 Version bump (bug #301548). Do not hardcode patchlevel in MY_PV.
9 (Portage version: 2.2_rc61/cvs/Linux i686)
10
11 Revision Changes Path
12 1.149 net-dns/bind-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.149&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.149&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.148&r2=1.149
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
21 retrieving revision 1.148
22 retrieving revision 1.149
23 diff -u -r1.148 -r1.149
24 --- ChangeLog 9 Dec 2009 18:54:29 -0000 1.148
25 +++ ChangeLog 27 Jan 2010 18:18:20 -0000 1.149
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-dns/bind-tools
28 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.148 2009/12/09 18:54:29 armin76 Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.149 2010/01/27 18:18:20 jer Exp $
32 +
33 +*bind-tools-9.6.1_p3 (27 Jan 2010)
34 +*bind-tools-9.4.3_p5 (27 Jan 2010)
35 +
36 + 27 Jan 2010; Jeroen Roovers <jer@g.o> bind-tools-9.4.3_p3.ebuild,
37 + bind-tools-9.4.3_p4.ebuild, +bind-tools-9.4.3_p5.ebuild,
38 + +bind-tools-9.6.1_p3.ebuild:
39 + Version bump (bug #301548). Do not hardcode patchlevel in MY_PV.
40
41 09 Dec 2009; Raúl Porcel <armin76@g.o> bind-tools-9.4.3_p4.ebuild:
42 alpha/ia64/s390/sh/sparc stable wrt #294497
43
44
45
46 1.9 net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild?rev=1.9&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild?rev=1.9&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild?r1=1.8&r2=1.9
51
52 Index: bind-tools-9.4.3_p3.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild,v
55 retrieving revision 1.8
56 retrieving revision 1.9
57 diff -u -r1.8 -r1.9
58 --- bind-tools-9.4.3_p3.ebuild 1 Aug 2009 19:09:53 -0000 1.8
59 +++ bind-tools-9.4.3_p3.ebuild 27 Jan 2010 18:18:20 -0000 1.9
60 @@ -1,11 +1,11 @@
61 -# Copyright 1999-2009 Gentoo Foundation
62 +# Copyright 1999-2010 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild,v 1.8 2009/08/01 19:09:53 armin76 Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p3.ebuild,v 1.9 2010/01/27 18:18:20 jer Exp $
66
67 inherit flag-o-matic
68
69 MY_PN=${PN//-tools}
70 -MY_PV=${PV/_p3/-P3}
71 +MY_PV=${PV/_p/-P}
72 MY_P="${MY_PN}-${MY_PV}"
73 S="${WORKDIR}/${MY_P}"
74 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
75
76
77
78 1.6 net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild?rev=1.6&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild?rev=1.6&content-type=text/plain
82 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild?r1=1.5&r2=1.6
83
84 Index: bind-tools-9.4.3_p4.ebuild
85 ===================================================================
86 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild,v
87 retrieving revision 1.5
88 retrieving revision 1.6
89 diff -u -r1.5 -r1.6
90 --- bind-tools-9.4.3_p4.ebuild 9 Dec 2009 18:54:29 -0000 1.5
91 +++ bind-tools-9.4.3_p4.ebuild 27 Jan 2010 18:18:20 -0000 1.6
92 @@ -1,11 +1,11 @@
93 -# Copyright 1999-2009 Gentoo Foundation
94 +# Copyright 1999-2010 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild,v 1.5 2009/12/09 18:54:29 armin76 Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p4.ebuild,v 1.6 2010/01/27 18:18:20 jer Exp $
98
99 inherit flag-o-matic
100
101 MY_PN=${PN//-tools}
102 -MY_PV=${PV/_p4/-P4}
103 +MY_PV=${PV/_p/-P}
104 MY_P="${MY_PN}-${MY_PV}"
105 S="${WORKDIR}/${MY_P}"
106 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
107
108
109
110 1.1 net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild
111
112 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild?rev=1.1&view=markup
113 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild?rev=1.1&content-type=text/plain
114
115 Index: bind-tools-9.4.3_p5.ebuild
116 ===================================================================
117 # Copyright 1999-2010 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.3_p5.ebuild,v 1.1 2010/01/27 18:18:20 jer Exp $
120
121 inherit flag-o-matic
122
123 MY_PN=${PN//-tools}
124 MY_PV=${PV/_p/-P}
125 MY_P="${MY_PN}-${MY_PV}"
126 S="${WORKDIR}/${MY_P}"
127 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
128 HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
129 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
130
131 LICENSE="as-is"
132 SLOT="0"
133 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
134 IUSE="idn ipv6"
135
136 DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv )
137 net-dns/idnkit )"
138
139 src_unpack() {
140 unpack ${A} || die
141 cd "${S}" || die
142
143 use idn && {
144 # BIND 9.4.0 doesn't have this patch
145 # epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
146
147 cd "${S}"/contrib/idn/idnkit-1.0-src
148 epatch "${FILESDIR}"/${PN}-configure.patch
149 cd -
150 }
151
152 # bug #151839
153 sed -e \
154 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
155 -i lib/isc/unix/socket.c
156 }
157
158 src_compile() {
159 local myconf=
160 use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
161 use idn && myconf="${myconf} --with-idn"
162
163 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
164
165 econf ${myconf} || die "Configure failed"
166
167 cd "${S}"/lib
168 emake -j1 || die "make failed in /lib"
169
170 cd "${S}"/bin/dig
171 emake -j1 || die "make failed in /bin/dig"
172
173 cd "${S}"/lib/lwres/
174 emake -j1 || die "make failed in /lib/lwres"
175
176 cd "${S}"/bin/nsupdate/
177 emake -j1 || die "make failed in /bin/nsupdate"
178
179 cd "${S}"/bin/dnssec/
180 emake -j1 || die "make failed in /bin/dnssec"
181 }
182
183 src_install() {
184 dodoc README CHANGES FAQ
185
186 cd "${S}"/bin/dig
187 dobin dig host nslookup || die
188 doman dig.1 host.1 nslookup.1 || die
189
190 cd "${S}"/bin/nsupdate
191 dobin nsupdate || die
192 doman nsupdate.1 || die
193 dohtml nsupdate.html || die
194
195 cd "${S}"/bin/dnssec
196 dobin dnssec-keygen || die
197 doman dnssec-keygen.8 || die
198 dohtml dnssec-keygen.html || die
199 }
200
201
202
203 1.1 net-dns/bind-tools/bind-tools-9.6.1_p3.ebuild
204
205 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.6.1_p3.ebuild?rev=1.1&view=markup
206 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.6.1_p3.ebuild?rev=1.1&content-type=text/plain
207
208 Index: bind-tools-9.6.1_p3.ebuild
209 ===================================================================
210 # Copyright 1999-2010 Gentoo Foundation
211 # Distributed under the terms of the GNU General Public License v2
212 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.6.1_p3.ebuild,v 1.1 2010/01/27 18:18:20 jer Exp $
213
214 inherit eutils autotools
215
216 MY_PN=${PN//-tools}
217 MY_PV=${PV/_p/-P}
218 MY_P="${MY_PN}-${MY_PV}"
219
220 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
221 HOMEPAGE="http://www.isc.org/software/bind"
222 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
223
224 LICENSE="as-is"
225 SLOT="0"
226 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
227 IUSE="doc idn ipv6 ssl xml"
228
229 DEPEND="ssl? ( dev-libs/openssl )
230 xml? ( dev-libs/libxml2 )
231 idn? (
232 || ( sys-libs/glibc dev-libs/libiconv )
233 net-dns/idnkit
234 )"
235 RDEPEND="${DEPEND}"
236
237 S="${WORKDIR}/${MY_P}"
238
239 src_unpack() {
240 unpack ${A}
241 cd "${S}"
242
243 use idn && {
244 cd "${S}"/contrib/idn/idnkit-1.0-src
245 epatch "${FILESDIR}"/${PN}-configure.patch
246 cd -
247 }
248
249 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
250
251 # bug #151839
252 sed -i -e \
253 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
254 lib/isc/unix/socket.c || die
255
256 # bug 278364 (workaround)
257 epatch "${FILESDIR}/${PN}-9.6.1-parallel.patch"
258
259 eautoreconf
260 }
261
262 src_compile() {
263 local myconf=
264
265 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
266
267 econf \
268 $(use_enable ipv6) \
269 $(use_with idn) \
270 $(use_with ssl openssl) \
271 $(use_with xml libxml2) \
272 ${myconf}
273
274 emake -C lib/ || die "emake lib failed"
275 emake -C bin/dig/ || die "emake bin/dig failed"
276 emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
277 emake -C bin/dnssec/ || die "emake bin/dnssec failed"
278 }
279
280 src_install() {
281 dodoc README CHANGES FAQ || die
282
283 cd "${S}"/bin/dig
284 dobin dig host nslookup || die
285 doman {dig,host,nslookup}.1 || die
286
287 cd "${S}"/bin/nsupdate
288 dobin nsupdate || die
289 doman nsupdate.1 || die
290 if use doc; then
291 dohtml nsupdate.html || die
292 fi
293
294 cd "${S}"/bin/dnssec
295 dobin dnssec-keygen || die
296 doman dnssec-keygen.8 || die
297 if use doc; then
298 dohtml dnssec-keygen.html || die
299 fi
300 }