Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind-tools/
Date: Sat, 24 Mar 2018 00:27:15
Message-Id: 1521851223.d008a9babbdd680601477d27b8f5ff14dcdbf70c.bman@gentoo
1 commit: d008a9babbdd680601477d27b8f5ff14dcdbf70c
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 24 00:26:07 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 24 00:27:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d008a9ba
7
8 net-dns/bind-tools: drop vulnerable wrt bug #644706
9
10 net-dns/bind-tools/Manifest | 1 -
11 net-dns/bind-tools/bind-tools-9.11.1_p3.ebuild | 136 -------------------------
12 2 files changed, 137 deletions(-)
13
14 diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest
15 index bae4f022e51..7aa88f4a7f2 100644
16 --- a/net-dns/bind-tools/Manifest
17 +++ b/net-dns/bind-tools/Manifest
18 @@ -1,2 +1 @@
19 -DIST bind-9.11.1-P3.tar.gz 9749095 BLAKE2B 1b68b57b9aed1a5210464e9c47a4e0569f1932076c042a7096dc04f69b45da9df8b2d56ec0f1f0d0fb136e7f61a39b3cb20d1912075f3a4138cbdf47f859cf0a SHA512 bf92ce1e07e5c84cc42b413bdbd3ad97f37712a6dc330dc10182992d948b7a393d5446efa188379b39020c34d810cebe2a7acccc9b8aa6bb564e1f3e6be42e96
20 DIST bind-9.11.2_p1.tar.gz 9783329 BLAKE2B 5a3bbd87112064231bd5e6b09ebb4014f9d5cf65cb601c03555ff540a22d87aec3990cd8e37ce5ff09e9a149bdf122d20ecb01f87731e6c79d80379a6926014f SHA512 168f27f580e3be2f7ada27afa2f72e715e750eec76831cf01bd32fabc1fa65dc29dab0eb7ed1682b076d3be99269897ddbc2c10551631a3911d9e5ae1aa40597
21
22 diff --git a/net-dns/bind-tools/bind-tools-9.11.1_p3.ebuild b/net-dns/bind-tools/bind-tools-9.11.1_p3.ebuild
23 deleted file mode 100644
24 index 58ee7e1ee3a..00000000000
25 --- a/net-dns/bind-tools/bind-tools-9.11.1_p3.ebuild
26 +++ /dev/null
27 @@ -1,136 +0,0 @@
28 -# Copyright 1999-2018 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI="5"
32 -
33 -inherit eutils autotools flag-o-matic toolchain-funcs
34 -
35 -MY_PN=${PN//-tools}
36 -MY_PV=${PV/_p/-P}
37 -MY_PV=${MY_PV/_rc/rc}
38 -MY_P="${MY_PN}-${MY_PV}"
39 -
40 -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
41 -HOMEPAGE="http://www.isc.org/software/bind"
42 -SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
43 -
44 -LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
45 -SLOT="0"
46 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~amd64-fbsd"
47 -IUSE="doc gost gssapi idn ipv6 libressl readline seccomp ssl urandom xml"
48 -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
49 -
50 -REQUIRED_USE="gost? ( !libressl ssl )"
51 -
52 -CDEPEND="
53 - ssl? (
54 - !libressl? ( dev-libs/openssl:0= )
55 - libressl? ( dev-libs/libressl )
56 - )
57 - gost? ( >=dev-libs/openssl-1.0.0:0=[-bindist] )
58 - xml? ( dev-libs/libxml2 )
59 - idn? ( <net-dns/idnkit-2:= )
60 - gssapi? ( virtual/krb5 )
61 - readline? ( sys-libs/readline:0= )
62 - seccomp? ( sys-libs/libseccomp )"
63 -DEPEND="${CDEPEND}
64 - virtual/pkgconfig"
65 -RDEPEND="${CDEPEND}
66 - !<net-dns/bind-9.10.2"
67 -
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -# bug 479092, requires networking
71 -RESTRICT="test"
72 -
73 -src_prepare() {
74 - # bug 600212
75 - epatch "${FILESDIR}"/${PN}-9.11.0_p5-dyndb-dlopen.patch
76 -
77 - epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch #231247
78 -
79 - # Disable tests for now, bug 406399
80 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
81 -
82 - # bug #220361
83 - rm aclocal.m4
84 - rm -rf libtool.m4/
85 -
86 - mv configure.in configure.ac || die # configure.in is deprecated
87 - eautoreconf
88 -}
89 -
90 -src_configure() {
91 - local myconf=
92 -
93 - if use urandom; then
94 - myconf="${myconf} --with-randomdev=/dev/urandom"
95 - else
96 - myconf="${myconf} --with-randomdev=/dev/random"
97 - fi
98 -
99 - # bug 344029
100 - append-cflags "-DDIG_SIGCHASE"
101 -
102 - # localstatedir for nsupdate -l, bug 395785
103 - tc-export BUILD_CC
104 - econf \
105 - --localstatedir=/var \
106 - --without-python \
107 - --without-libjson \
108 - --without-zlib \
109 - --without-lmdb \
110 - --disable-openssl-version-check \
111 - $(use_enable ipv6) \
112 - $(use_with idn) \
113 - $(usex idn --with-idnlib=-lidnkit '') \
114 - $(use_enable seccomp) \
115 - $(use_with ssl openssl) \
116 - $(use_with xml libxml2) \
117 - $(use_with gssapi) \
118 - $(use_with readline) \
119 - $(use_with gost) \
120 - ${myconf}
121 -
122 - # bug #151839
123 - echo '#undef SO_BSDCOMPAT' >> config.h
124 -}
125 -
126 -src_compile() {
127 - local AR=$(tc-getAR)
128 -
129 - emake AR="${AR}" -C lib/
130 - emake AR="${AR}" -C bin/delv/
131 - emake AR="${AR}" -C bin/dig/
132 - emake AR="${AR}" -C bin/nsupdate/
133 - emake AR="${AR}" -C bin/dnssec/
134 -}
135 -
136 -src_install() {
137 - dodoc README CHANGES FAQ
138 -
139 - cd "${S}"/bin/delv
140 - dobin delv
141 - doman delv.1
142 -
143 - cd "${S}"/bin/dig
144 - dobin dig host nslookup
145 - doman {dig,host,nslookup}.1
146 -
147 - cd "${S}"/bin/nsupdate
148 - dobin nsupdate
149 - doman nsupdate.1
150 - if use doc; then
151 - dohtml nsupdate.html
152 - fi
153 -
154 - cd "${S}"/bin/dnssec
155 - for tool in dsfromkey importkey keyfromlabel keygen \
156 - revoke settime signzone verify; do
157 - dobin dnssec-"${tool}"
158 - doman dnssec-"${tool}".8
159 - if use doc; then
160 - dohtml dnssec-"${tool}".html
161 - fi
162 - done
163 -}