Gentoo Archives: gentoo-commits

From: Christian Ruppert <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind-tools/
Date: Mon, 25 Feb 2019 14:33:47
Message-Id: 1551105210.5553e15758d120a06e2ba7240fe17c2c1f059d43.idl0r@gentoo
1 commit: 5553e15758d120a06e2ba7240fe17c2c1f059d43
2 Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 14:30:35 2019 +0000
4 Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 14:33:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5553e157
7
8 net-dns/bind-tools: Cleanup old version
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Christian Ruppert <idl0r <AT> gentoo.org>
12
13 net-dns/bind-tools/Manifest | 3 -
14 net-dns/bind-tools/bind-tools-9.11.4_p2.ebuild | 139 -----------------------
15 net-dns/bind-tools/bind-tools-9.12.1.ebuild | 143 -----------------------
16 net-dns/bind-tools/bind-tools-9.12.2_p1.ebuild | 146 ------------------------
17 net-dns/bind-tools/bind-tools-9.12.2_p2.ebuild | 150 -------------------------
18 5 files changed, 581 deletions(-)
19
20 diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest
21 index 4c6f385ec01..d5443cb40af 100644
22 --- a/net-dns/bind-tools/Manifest
23 +++ b/net-dns/bind-tools/Manifest
24 @@ -1,6 +1,3 @@
25 DIST bind-9.11.2_p1.tar.gz 9783329 BLAKE2B 5a3bbd87112064231bd5e6b09ebb4014f9d5cf65cb601c03555ff540a22d87aec3990cd8e37ce5ff09e9a149bdf122d20ecb01f87731e6c79d80379a6926014f SHA512 168f27f580e3be2f7ada27afa2f72e715e750eec76831cf01bd32fabc1fa65dc29dab0eb7ed1682b076d3be99269897ddbc2c10551631a3911d9e5ae1aa40597
26 -DIST bind-9.11.4_p2.tar.gz 9617963 BLAKE2B 409cad7e0976f2e46406d45e87241d61d4d4f00bf08442c4dddbad490ea3d6e42eaad5851fddb83c61a897689a8fdba0cd920aaa0d36329868d26100ba48f946 SHA512 6c01810526fc40485a6c0403d1ddc3b76d2e59b3426b5789436bd671f158d2fa0ea7c0aef2de81998ec715dabd06683fed7b17224d5c794c61e7100a69d4cb60
27 -DIST bind-9.12.1.tar.gz 9302783 BLAKE2B 731ce67acb22f72e54de1122c5d5c3c1f0663c400bdff9545578a45e5fe3094c6d754351e57dd5c52cdfe1528305dfde25eba7382a723a60b8bfdfeebb9536cd SHA512 701e34a0a3313568c8e5cf76668fefc2a1fceb2ade0de201b8f678401569f1c622c3d1657a71772fa3298efc8b3cdefe974d98432c0087e8b45af3d50a4262fb
28 -DIST bind-9.12.2_p1.tar.gz 9429002 BLAKE2B 1460b4583a28df21490f71993c8cd595dd8f8ee76727cc8798ee34a6deb1f5a4d39706ec2833a42a7e63ce0dcad917ca975c7d725fc179e2dd0450d8d683ceb4 SHA512 22ce084179439518f7d82f0b80544db929bb4ec71d0e7bd7edad9ae915c903300837d6ead698c9fc23741796f0ba9ed3aa384b752ff65c3b9b20c8969d351cba
29 DIST bind-9.12.2_p2.tar.gz 9422128 BLAKE2B c7d56f025f381a0136aa67ccd49a3254fcfe566d5e3601410e5cada26ccab32a901fe6e14bc14e6e287fa2b3904a4eee8e3ef63329f9bc4cb11f204590ff3623 SHA512 458adf6b3d0df286e7d345a21c40b639efcb275e76f9e0bf4e40a5d76dcac875016324393e129f29397be326d1017367c506ec9cbb35871c98fad4281bc4e05a
30 DIST bind-9.12.3_p1.tar.gz 8625693 BLAKE2B 1899e04e409d3dafe63494fb7a0d8b813a6487754149bbfd01888cddc5e134ac675e9ac790684fb6fd8de4b1484e23ed7f1881c01234c9f16b27180c9a4594a9 SHA512 c1c91de88e4297e79b527775edd525c6fa948f169977563ab2e6ca93cac7317f8ca85863567f5cc151d4c6e3c081864ab1cf813bcfdd1165b52e9471b8317c28
31
32 diff --git a/net-dns/bind-tools/bind-tools-9.11.4_p2.ebuild b/net-dns/bind-tools/bind-tools-9.11.4_p2.ebuild
33 deleted file mode 100644
34 index 10a62b0b1ca..00000000000
35 --- a/net-dns/bind-tools/bind-tools-9.11.4_p2.ebuild
36 +++ /dev/null
37 @@ -1,139 +0,0 @@
38 -# Copyright 1999-2019 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=7
42 -
43 -inherit eutils autotools flag-o-matic toolchain-funcs
44 -
45 -MY_PN=${PN//-tools}
46 -MY_PV=${PV/_p/-P}
47 -MY_PV=${MY_PV/_rc/rc}
48 -MY_P="${MY_PN}-${MY_PV}"
49 -
50 -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
51 -HOMEPAGE="http://www.isc.org/software/bind"
52 -SRC_URI="https://www.isc.org/downloads/file/${MY_P}/?version=tar-gz -> ${MY_PN}-${PV}.tar.gz"
53 -
54 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
55 -SLOT="0"
56 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
57 -IUSE="doc gost gssapi idn ipv6 libressl readline seccomp ssl urandom xml"
58 -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
59 -
60 -REQUIRED_USE="gost? ( !libressl ssl )"
61 -
62 -CDEPEND="
63 - ssl? (
64 - !libressl? ( dev-libs/openssl:0= )
65 - libressl? ( dev-libs/libressl:0= )
66 - )
67 - gost? ( >=dev-libs/openssl-1.0.0:0=[-bindist] )
68 - xml? ( dev-libs/libxml2 )
69 - idn? ( <net-dns/idnkit-2:= )
70 - gssapi? ( virtual/krb5 )
71 - readline? ( sys-libs/readline:0= )
72 - seccomp? ( sys-libs/libseccomp )"
73 -DEPEND="${CDEPEND}
74 - virtual/pkgconfig"
75 -RDEPEND="${CDEPEND}
76 - !<net-dns/bind-9.10.2"
77 -
78 -S="${WORKDIR}/${MY_P}"
79 -
80 -# bug 479092, requires networking
81 -RESTRICT="test"
82 -
83 -PATCHES=(
84 - "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch #231247
85 -)
86 -
87 -src_prepare() {
88 - default
89 -
90 - # Disable tests for now, bug 406399
91 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
92 -
93 - # bug #220361
94 - rm aclocal.m4
95 - rm -rf libtool.m4/
96 -
97 - mv configure.in configure.ac || die # configure.in is deprecated
98 - eautoreconf
99 -}
100 -
101 -src_configure() {
102 - local myeconfargs=(
103 - --localstatedir=/var
104 - --without-python
105 - --without-libjson
106 - --without-zlib
107 - --without-lmdb
108 - --disable-openssl-version-check
109 - $(use_enable ipv6)
110 - $(use_with idn)
111 - $(usex idn --with-idnlib=-lidnkit '')
112 - $(use_enable seccomp)
113 - $(use_with ssl openssl)
114 - $(use_with xml libxml2)
115 - $(use_with gssapi)
116 - $(use_with readline)
117 - $(use_with gost)
118 - )
119 -
120 - if use urandom; then
121 - myeconfargs+=( --with-randomdev=/dev/urandom )
122 - else
123 - myeconfargs+=( --with-randomdev=/dev/random )
124 - fi
125 -
126 - # bug 344029
127 - append-cflags "-DDIG_SIGCHASE"
128 -
129 - # localstatedir for nsupdate -l, bug 395785
130 - tc-export BUILD_CC
131 - econf "${myeconfargs[@]}"
132 -
133 - # bug #151839
134 - echo '#undef SO_BSDCOMPAT' >> config.h
135 -}
136 -
137 -src_compile() {
138 - local AR=$(tc-getAR)
139 -
140 - emake AR="${AR}" -C lib/
141 - emake AR="${AR}" -C bin/delv/
142 - emake AR="${AR}" -C bin/dig/
143 - emake AR="${AR}" -C bin/nsupdate/
144 - emake AR="${AR}" -C bin/dnssec/
145 -}
146 -
147 -src_install() {
148 - dodoc README CHANGES
149 -
150 - cd "${S}"/bin/delv || die
151 - dobin delv
152 - doman delv.1
153 -
154 - cd "${S}"/bin/dig || die
155 - dobin dig host nslookup
156 - doman {dig,host,nslookup}.1
157 -
158 - cd "${S}"/bin/nsupdate || die
159 - dobin nsupdate
160 - doman nsupdate.1
161 - if use doc; then
162 - docinto html
163 - dodoc nsupdate.html
164 - fi
165 -
166 - cd "${S}"/bin/dnssec || die
167 - for tool in dsfromkey importkey keyfromlabel keygen \
168 - revoke settime signzone verify; do
169 - dobin dnssec-"${tool}"
170 - doman dnssec-"${tool}".8
171 - if use doc; then
172 - docinto html
173 - dodoc dnssec-"${tool}".html
174 - fi
175 - done
176 -}
177
178 diff --git a/net-dns/bind-tools/bind-tools-9.12.1.ebuild b/net-dns/bind-tools/bind-tools-9.12.1.ebuild
179 deleted file mode 100644
180 index 6394b44eaed..00000000000
181 --- a/net-dns/bind-tools/bind-tools-9.12.1.ebuild
182 +++ /dev/null
183 @@ -1,143 +0,0 @@
184 -# Copyright 1999-2019 Gentoo Authors
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI="5"
188 -
189 -inherit eutils autotools flag-o-matic toolchain-funcs
190 -
191 -MY_PN=${PN//-tools}
192 -MY_PV=${PV/_p/-P}
193 -MY_PV=${MY_PV/_rc/rc}
194 -MY_P="${MY_PN}-${MY_PV}"
195 -
196 -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
197 -HOMEPAGE="http://www.isc.org/software/bind"
198 -SRC_URI="https://www.isc.org/downloads/file/${MY_P}/?version=tar-gz -> ${MY_PN}-${PV}.tar.gz"
199 -
200 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
201 -SLOT="0"
202 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
203 -IUSE="doc gost gssapi idn ipv6 libedit libressl readline seccomp ssl urandom xml"
204 -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
205 -
206 -REQUIRED_USE="gost? ( !libressl ssl )"
207 -
208 -CDEPEND="
209 - ssl? (
210 - !libressl? ( dev-libs/openssl:0= )
211 - libressl? ( dev-libs/libressl:0= )
212 - )
213 - gost? ( >=dev-libs/openssl-1.0.0:0=[-bindist] )
214 - xml? ( dev-libs/libxml2 )
215 - idn? ( <net-dns/idnkit-2:= )
216 - gssapi? ( virtual/krb5 )
217 - libedit? ( dev-libs/libedit )
218 - !libedit? (
219 - readline? ( sys-libs/readline:0= )
220 - )
221 - seccomp? ( sys-libs/libseccomp )"
222 -DEPEND="${CDEPEND}
223 - virtual/pkgconfig"
224 -RDEPEND="${CDEPEND}
225 - !<net-dns/bind-9.10.2"
226 -
227 -S="${WORKDIR}/${MY_P}"
228 -
229 -# bug 479092, requires networking
230 -RESTRICT="test"
231 -
232 -src_prepare() {
233 - # Disable tests for now, bug 406399
234 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
235 -
236 - # bug #220361
237 - rm aclocal.m4
238 - rm -rf libtool.m4/
239 -
240 - mv configure.in configure.ac || die # configure.in is deprecated
241 - eautoreconf
242 -}
243 -
244 -src_configure() {
245 - local myconf=
246 -
247 - if use urandom; then
248 - myconf="${myconf} --with-randomdev=/dev/urandom"
249 - else
250 - myconf="${myconf} --with-randomdev=/dev/random"
251 - fi
252 -
253 - # bug 607400
254 - if use libedit ; then
255 - myconf+=' --with-readline=-ledit'
256 - elif use readline ; then
257 - myconf+=' --with-readline=-lreadline'
258 - else
259 - myconf+=' --without-readline'
260 - fi
261 -
262 - # bug 344029
263 - append-cflags "-DDIG_SIGCHASE"
264 -
265 - # localstatedir for nsupdate -l, bug 395785
266 - tc-export BUILD_CC
267 - econf \
268 - --localstatedir="${EPREFIX}"/var \
269 - --without-python \
270 - --without-libjson \
271 - --without-zlib \
272 - --without-lmdb \
273 - --disable-openssl-version-check \
274 - $(use_enable ipv6) \
275 - $(use_with idn) \
276 - $(usex idn --with-idnlib=-lidnkit '') \
277 - $(use_enable seccomp) \
278 - $(use_with ssl openssl "${EPREFIX}"/usr) \
279 - $(use_with xml libxml2) \
280 - $(use_with gssapi) \
281 - $(use_with readline) \
282 - $(use_with gost) \
283 - ${myconf}
284 -
285 - # bug #151839
286 - echo '#undef SO_BSDCOMPAT' >> config.h
287 -}
288 -
289 -src_compile() {
290 - local AR=$(tc-getAR)
291 -
292 - emake AR="${AR}" -C lib/
293 - emake AR="${AR}" -C bin/delv/
294 - emake AR="${AR}" -C bin/dig/
295 - emake AR="${AR}" -C bin/nsupdate/
296 - emake AR="${AR}" -C bin/dnssec/
297 -}
298 -
299 -src_install() {
300 - dodoc README CHANGES
301 -
302 - cd "${S}"/bin/delv
303 - dobin delv
304 - doman delv.1
305 -
306 - cd "${S}"/bin/dig
307 - dobin dig host nslookup
308 - doman {dig,host,nslookup}.1
309 -
310 - cd "${S}"/bin/nsupdate
311 - dobin nsupdate
312 - doman nsupdate.1
313 - if use doc; then
314 - dohtml nsupdate.html
315 - fi
316 -
317 - cd "${S}"/bin/dnssec
318 - for tool in dsfromkey importkey keyfromlabel keygen \
319 - revoke settime signzone verify; do
320 - dobin dnssec-"${tool}"
321 - doman dnssec-"${tool}".8
322 - if use doc; then
323 - dohtml dnssec-"${tool}".html
324 - fi
325 - done
326 -}
327
328 diff --git a/net-dns/bind-tools/bind-tools-9.12.2_p1.ebuild b/net-dns/bind-tools/bind-tools-9.12.2_p1.ebuild
329 deleted file mode 100644
330 index fa449ecc010..00000000000
331 --- a/net-dns/bind-tools/bind-tools-9.12.2_p1.ebuild
332 +++ /dev/null
333 @@ -1,146 +0,0 @@
334 -# Copyright 1999-2019 Gentoo Authors
335 -# Distributed under the terms of the GNU General Public License v2
336 -
337 -EAPI="5"
338 -
339 -inherit eutils autotools flag-o-matic toolchain-funcs
340 -
341 -MY_PN=${PN//-tools}
342 -MY_PV=${PV/_p/-P}
343 -MY_PV=${MY_PV/_rc/rc}
344 -MY_P="${MY_PN}-${MY_PV}"
345 -
346 -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
347 -HOMEPAGE="http://www.isc.org/software/bind"
348 -SRC_URI="https://www.isc.org/downloads/file/${MY_P}/?version=tar-gz -> ${MY_PN}-${PV}.tar.gz"
349 -
350 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
351 -SLOT="0"
352 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
353 -IUSE="doc gost gssapi idn ipv6 libedit libidn2 libressl readline seccomp ssl urandom xml"
354 -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
355 -
356 -REQUIRED_USE="gost? ( !libressl ssl )
357 - idn? ( !libidn2 )
358 - libidn2? ( !idn )"
359 -
360 -CDEPEND="
361 - ssl? (
362 - !libressl? ( dev-libs/openssl:0= )
363 - libressl? ( dev-libs/libressl:0= )
364 - )
365 - gost? ( >=dev-libs/openssl-1.0.0:0=[-bindist] )
366 - xml? ( dev-libs/libxml2 )
367 - idn? ( <net-dns/idnkit-2:= )
368 - libidn2? ( net-dns/libidn2:= )
369 - gssapi? ( virtual/krb5 )
370 - libedit? ( dev-libs/libedit )
371 - !libedit? (
372 - readline? ( sys-libs/readline:0= )
373 - )
374 - seccomp? ( sys-libs/libseccomp )"
375 -DEPEND="${CDEPEND}
376 - virtual/pkgconfig"
377 -RDEPEND="${CDEPEND}
378 - !<net-dns/bind-9.10.2"
379 -
380 -S="${WORKDIR}/${MY_P}"
381 -
382 -# bug 479092, requires networking
383 -RESTRICT="test"
384 -
385 -src_prepare() {
386 - # Disable tests for now, bug 406399
387 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
388 -
389 - # bug #220361
390 - rm aclocal.m4
391 - rm -rf libtool.m4/
392 -
393 - mv configure.in configure.ac || die # configure.in is deprecated
394 - eautoreconf
395 -}
396 -
397 -src_configure() {
398 - local myconf=
399 -
400 - if use urandom; then
401 - myconf="${myconf} --with-randomdev=/dev/urandom"
402 - else
403 - myconf="${myconf} --with-randomdev=/dev/random"
404 - fi
405 -
406 - # bug 607400
407 - if use libedit ; then
408 - myconf+=' --with-readline=-ledit'
409 - elif use readline ; then
410 - myconf+=' --with-readline=-lreadline'
411 - else
412 - myconf+=' --without-readline'
413 - fi
414 -
415 - # bug 344029
416 - append-cflags "-DDIG_SIGCHASE"
417 -
418 - # localstatedir for nsupdate -l, bug 395785
419 - tc-export BUILD_CC
420 - econf \
421 - --localstatedir="${EPREFIX}"/var \
422 - --without-python \
423 - --without-libjson \
424 - --without-zlib \
425 - --without-lmdb \
426 - $(use_enable ipv6) \
427 - $(use_with idn idnkit) \
428 - $(usex idn --with-idnlib=-lidnkit '') \
429 - $(use_with libidn2) \
430 - $(use_enable seccomp) \
431 - $(use_with ssl openssl "${EPREFIX}"/usr) \
432 - $(use_with xml libxml2) \
433 - $(use_with gssapi) \
434 - $(use_with readline) \
435 - $(use_with gost) \
436 - ${myconf}
437 -
438 - # bug #151839
439 - echo '#undef SO_BSDCOMPAT' >> config.h
440 -}
441 -
442 -src_compile() {
443 - local AR=$(tc-getAR)
444 -
445 - emake AR="${AR}" -C lib/
446 - emake AR="${AR}" -C bin/delv/
447 - emake AR="${AR}" -C bin/dig/
448 - emake AR="${AR}" -C bin/nsupdate/
449 - emake AR="${AR}" -C bin/dnssec/
450 -}
451 -
452 -src_install() {
453 - dodoc README CHANGES
454 -
455 - cd "${S}"/bin/delv
456 - dobin delv
457 - doman delv.1
458 -
459 - cd "${S}"/bin/dig
460 - dobin dig host nslookup
461 - doman {dig,host,nslookup}.1
462 -
463 - cd "${S}"/bin/nsupdate
464 - dobin nsupdate
465 - doman nsupdate.1
466 - if use doc; then
467 - dohtml nsupdate.html
468 - fi
469 -
470 - cd "${S}"/bin/dnssec
471 - for tool in dsfromkey importkey keyfromlabel keygen \
472 - revoke settime signzone verify; do
473 - dobin dnssec-"${tool}"
474 - doman dnssec-"${tool}".8
475 - if use doc; then
476 - dohtml dnssec-"${tool}".html
477 - fi
478 - done
479 -}
480
481 diff --git a/net-dns/bind-tools/bind-tools-9.12.2_p2.ebuild b/net-dns/bind-tools/bind-tools-9.12.2_p2.ebuild
482 deleted file mode 100644
483 index b9598e8b1fc..00000000000
484 --- a/net-dns/bind-tools/bind-tools-9.12.2_p2.ebuild
485 +++ /dev/null
486 @@ -1,150 +0,0 @@
487 -# Copyright 1999-2019 Gentoo Authors
488 -# Distributed under the terms of the GNU General Public License v2
489 -
490 -EAPI=7
491 -
492 -inherit eutils autotools flag-o-matic toolchain-funcs
493 -
494 -MY_PN=${PN//-tools}
495 -MY_PV=${PV/_p/-P}
496 -MY_PV=${MY_PV/_rc/rc}
497 -MY_P="${MY_PN}-${MY_PV}"
498 -
499 -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
500 -HOMEPAGE="http://www.isc.org/software/bind"
501 -SRC_URI="https://www.isc.org/downloads/file/${MY_P}/?version=tar-gz -> ${MY_PN}-${PV}.tar.gz"
502 -
503 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
504 -SLOT="0"
505 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
506 -IUSE="doc gost gssapi idn ipv6 libedit libidn2 libressl readline seccomp ssl urandom xml"
507 -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
508 -
509 -REQUIRED_USE="gost? ( !libressl ssl )
510 - idn? ( !libidn2 )
511 - libidn2? ( !idn )"
512 -
513 -CDEPEND="
514 - ssl? (
515 - !libressl? ( dev-libs/openssl:0= )
516 - libressl? ( dev-libs/libressl:0= )
517 - )
518 - gost? ( >=dev-libs/openssl-1.0.0:0=[-bindist] )
519 - xml? ( dev-libs/libxml2 )
520 - idn? ( <net-dns/idnkit-2:= )
521 - libidn2? ( net-dns/libidn2:= )
522 - gssapi? ( virtual/krb5 )
523 - libedit? ( dev-libs/libedit )
524 - !libedit? (
525 - readline? ( sys-libs/readline:0= )
526 - )
527 - seccomp? ( sys-libs/libseccomp )"
528 -DEPEND="${CDEPEND}
529 - virtual/pkgconfig"
530 -RDEPEND="${CDEPEND}
531 - !<net-dns/bind-9.10.2"
532 -
533 -S="${WORKDIR}/${MY_P}"
534 -
535 -# bug 479092, requires networking
536 -RESTRICT="test"
537 -
538 -src_prepare() {
539 - default
540 -
541 - # Disable tests for now, bug 406399
542 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
543 -
544 - # bug #220361
545 - rm aclocal.m4
546 - rm -rf libtool.m4/
547 -
548 - mv configure.in configure.ac || die # configure.in is deprecated
549 - eautoreconf
550 -}
551 -
552 -src_configure() {
553 - local myeconfargs=(
554 - --localstatedir="${EPREFIX}"/var
555 - --without-python
556 - --without-libjson
557 - --without-zlib
558 - --without-lmdb
559 - $(use_enable ipv6)
560 - $(use_with idn idnkit)
561 - $(usex idn --with-idnlib=-lidnkit '')
562 - $(use_with libidn2)
563 - $(use_enable seccomp)
564 - $(use_with ssl openssl "${EPREFIX}"/usr)
565 - $(use_with xml libxml2)
566 - $(use_with gssapi)
567 - $(use_with readline)
568 - $(use_with gost)
569 - )
570 -
571 - if use urandom; then
572 - myeconfargs+=( --with-randomdev=/dev/urandom )
573 - else
574 - myeconfargs+=( --with-randomdev=/dev/random )
575 - fi
576 -
577 - # bug 607400
578 - if use libedit ; then
579 - myeconfargs+=( --with-readline=-ledit )
580 - elif use readline ; then
581 - myeconfargs+=( --with-readline=-lreadline )
582 - else
583 - myeconfargs+=( --without-readline )
584 - fi
585 -
586 - # bug 344029
587 - append-cflags "-DDIG_SIGCHASE"
588 -
589 - # localstatedir for nsupdate -l, bug 395785
590 - tc-export BUILD_CC
591 - econf "${myeconfargs[@]}"
592 -
593 - # bug #151839
594 - echo '#undef SO_BSDCOMPAT' >> config.h
595 -}
596 -
597 -src_compile() {
598 - local AR=$(tc-getAR)
599 -
600 - emake AR="${AR}" -C lib/
601 - emake AR="${AR}" -C bin/delv/
602 - emake AR="${AR}" -C bin/dig/
603 - emake AR="${AR}" -C bin/nsupdate/
604 - emake AR="${AR}" -C bin/dnssec/
605 -}
606 -
607 -src_install() {
608 - dodoc README CHANGES
609 -
610 - cd "${S}"/bin/delv || die
611 - dobin delv
612 - doman delv.1
613 -
614 - cd "${S}"/bin/dig || die
615 - dobin dig host nslookup
616 - doman {dig,host,nslookup}.1
617 -
618 - cd "${S}"/bin/nsupdate || die
619 - dobin nsupdate
620 - doman nsupdate.1
621 - if use doc; then
622 - docinto html
623 - dodoc nsupdate.html
624 - fi
625 -
626 - cd "${S}"/bin/dnssec || die
627 - for tool in dsfromkey importkey keyfromlabel keygen \
628 - revoke settime signzone verify; do
629 - dobin dnssec-"${tool}"
630 - doman dnssec-"${tool}".8
631 - if use doc; then
632 - docinto html
633 - dodoc dnssec-"${tool}".html
634 - fi
635 - done
636 -}