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-libs/ldns/
Date: Thu, 25 Jan 2018 00:13:45
Message-Id: 1516839215.2f8d1f906ee104fed8ee8994d8a861e15022b46b.bman@gentoo
1 commit: 2f8d1f906ee104fed8ee8994d8a861e15022b46b
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 25 00:13:35 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 25 00:13:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8d1f90
7
8 net-libs/ldns: cleanup vulnerable wrt bug #638338
9
10 net-libs/ldns/Manifest | 1 -
11 net-libs/ldns/ldns-1.6.17-r1.ebuild | 106 ----------------------------------
12 net-libs/ldns/ldns-1.6.17.ebuild | 94 ------------------------------
13 net-libs/ldns/ldns-1.7.0-r1.ebuild | 110 ------------------------------------
14 4 files changed, 311 deletions(-)
15
16 diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest
17 index 30887761393..51c3ade23c2 100644
18 --- a/net-libs/ldns/Manifest
19 +++ b/net-libs/ldns/Manifest
20 @@ -1,2 +1 @@
21 -DIST ldns-1.6.17.tar.gz 1315403 BLAKE2B 67cf163c0fc529730f6de6a7ed3c581a2fdc3be7eb3f1d2cdc4ff51c98e6b78f93fab96d19d665f2dc8592f80d92ec5d3dd16da9760124f0604eb48c09ffd201 SHA512 5de42b4b8622591db51efb0956735deee9cd5e0bee12249a03b65c5b45d7c51bf9c2edb310ef9d7431af49aef77d968bfa2455a7dedfa80cde3d433436c83785
22 DIST ldns-1.7.0.tar.gz 1304424 BLAKE2B 2f37aa2d00c1d9cf18711bd4f873f4722df01c4f4d0f627e054f04b2473c0fbf19449e293a130d5c8b98dcebafeb3d7b3f5923ae0244bd80139cea77f2171e06 SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8
23
24 diff --git a/net-libs/ldns/ldns-1.6.17-r1.ebuild b/net-libs/ldns/ldns-1.6.17-r1.ebuild
25 deleted file mode 100644
26 index c0b67b5178f..00000000000
27 --- a/net-libs/ldns/ldns-1.6.17-r1.ebuild
28 +++ /dev/null
29 @@ -1,106 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="5"
34 -PYTHON_COMPAT=( python2_7 )
35 -
36 -inherit eutils multilib-minimal python-single-r1
37 -
38 -DESCRIPTION="a library with the aim to simplify DNS programming in C"
39 -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
40 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris"
45 -IUSE="dane doc +ecdsa gost libressl python +ssl static-libs vim-syntax"
46 -
47 -# configure will die if ecdsa is enabled and ssl is not
48 -REQUIRED_USE="ecdsa? ( ssl )
49 - python? ( ${PYTHON_REQUIRED_USE} )"
50 -
51 -RDEPEND="
52 - python? ( ${PYTHON_DEPS} )
53 - dane? (
54 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
55 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
56 - )
57 - ecdsa? (
58 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[-bindist,${MULTILIB_USEDEP}] )
59 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
60 - )
61 - gost? (
62 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
63 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
64 - )
65 - ssl? (
66 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
67 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
68 - )
69 -"
70 -DEPEND="${RDEPEND}
71 - python? ( dev-lang/swig )
72 - doc? ( app-doc/doxygen )
73 -"
74 -
75 -RESTRICT="test" # 1.6.9 has no test directory
76 -
77 -MULTILIB_CHOST_TOOLS=(
78 - /usr/bin/ldns-config
79 -)
80 -
81 -pkg_setup() {
82 - use python && python-single-r1_pkg_setup
83 -}
84 -
85 -src_prepare() {
86 - epatch "${FILESDIR}/${P}_perl522.patch"
87 -}
88 -
89 -multilib_src_configure() {
90 - ECONF_SOURCE=${S} \
91 - econf \
92 - $(use_enable static-libs static) \
93 - $(use_enable ssl sha2) \
94 - $(use_enable gost) \
95 - $(use_enable ecdsa) \
96 - $(use_enable dane) \
97 - $(use_with ssl ssl "${EPREFIX}"/usr) \
98 - $(multilib_native_use_with python pyldns) \
99 - $(multilib_native_use_with python pyldnsx) \
100 - --without-drill \
101 - --without-examples \
102 - --disable-rpath
103 -}
104 -
105 -multilib_src_compile() {
106 - default
107 -
108 - if multilib_is_native_abi && use doc ; then
109 - emake doxygen
110 - fi
111 -}
112 -
113 -multilib_src_install() {
114 - default
115 -
116 - if multilib_is_native_abi && use doc ; then
117 - dohtml -r doc/html/.
118 - fi
119 -}
120 -
121 -multilib_src_install_all() {
122 - dodoc Changelog README*
123 -
124 - prune_libtool_files --modules
125 - use python && python_optimize
126 -
127 - if use vim-syntax ; then
128 - insinto /usr/share/vim/vimfiles/ftdetect
129 - doins libdns.vim
130 - fi
131 -
132 - einfo
133 - elog "Install net-dns/ldns-utils if you want drill and examples"
134 - einfo
135 -}
136
137 diff --git a/net-libs/ldns/ldns-1.6.17.ebuild b/net-libs/ldns/ldns-1.6.17.ebuild
138 deleted file mode 100644
139 index c83ddb745d9..00000000000
140 --- a/net-libs/ldns/ldns-1.6.17.ebuild
141 +++ /dev/null
142 @@ -1,94 +0,0 @@
143 -# Copyright 1999-2015 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI="5"
147 -PYTHON_COMPAT=( python2_7 )
148 -
149 -inherit eutils multilib-minimal python-single-r1
150 -
151 -DESCRIPTION="a library with the aim to simplify DNS programming in C"
152 -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
153 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
154 -
155 -LICENSE="BSD"
156 -SLOT="0"
157 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris"
158 -IUSE="dane doc +ecdsa gost python +ssl static-libs vim-syntax"
159 -
160 -# configure will die if ecdsa is enabled and ssl is not
161 -REQUIRED_USE="ecdsa? ( ssl )
162 - python? ( ${PYTHON_REQUIRED_USE} )"
163 -
164 -RDEPEND="
165 - dane? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
166 - ecdsa? ( >=dev-libs/openssl-1.0.1h-r2:0[-bindist,${MULTILIB_USEDEP}] )
167 - gost? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
168 - python? ( ${PYTHON_DEPS} )
169 - ssl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
170 -"
171 -DEPEND="${RDEPEND}
172 - python? ( dev-lang/swig )
173 - doc? ( app-doc/doxygen )
174 -"
175 -
176 -RESTRICT="test" # 1.6.9 has no test directory
177 -
178 -MULTILIB_CHOST_TOOLS=(
179 - /usr/bin/ldns-config
180 -)
181 -
182 -pkg_setup() {
183 - use python && python-single-r1_pkg_setup
184 -}
185 -
186 -src_prepare() {
187 - epatch "${FILESDIR}/${P}_perl522.patch"
188 -}
189 -
190 -multilib_src_configure() {
191 - ECONF_SOURCE=${S} \
192 - econf \
193 - $(use_enable static-libs static) \
194 - $(use_enable ssl sha2) \
195 - $(use_enable gost) \
196 - $(use_enable ecdsa) \
197 - $(use_enable dane) \
198 - $(use_with ssl ssl "${EPREFIX}"/usr) \
199 - $(multilib_native_use_with python pyldns) \
200 - $(multilib_native_use_with python pyldnsx) \
201 - --without-drill \
202 - --without-examples \
203 - --disable-rpath
204 -}
205 -
206 -multilib_src_compile() {
207 - default
208 -
209 - if multilib_is_native_abi && use doc ; then
210 - emake doxygen
211 - fi
212 -}
213 -
214 -multilib_src_install() {
215 - default
216 -
217 - if multilib_is_native_abi && use doc ; then
218 - dohtml -r doc/html/.
219 - fi
220 -}
221 -
222 -multilib_src_install_all() {
223 - dodoc Changelog README*
224 -
225 - prune_libtool_files --modules
226 - use python && python_optimize
227 -
228 - if use vim-syntax ; then
229 - insinto /usr/share/vim/vimfiles/ftdetect
230 - doins libdns.vim
231 - fi
232 -
233 - einfo
234 - elog "Install net-dns/ldns-utils if you want drill and examples"
235 - einfo
236 -}
237
238 diff --git a/net-libs/ldns/ldns-1.7.0-r1.ebuild b/net-libs/ldns/ldns-1.7.0-r1.ebuild
239 deleted file mode 100644
240 index 50cea597272..00000000000
241 --- a/net-libs/ldns/ldns-1.7.0-r1.ebuild
242 +++ /dev/null
243 @@ -1,110 +0,0 @@
244 -# Copyright 1999-2017 Gentoo Foundation
245 -# Distributed under the terms of the GNU General Public License v2
246 -
247 -EAPI="5"
248 -PYTHON_COMPAT=( python2_7 )
249 -
250 -inherit eutils multilib-minimal python-single-r1
251 -
252 -DESCRIPTION="a library with the aim to simplify DNS programming in C"
253 -HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
254 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz"
255 -
256 -LICENSE="BSD"
257 -SLOT="0"
258 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris"
259 -IUSE="+dane doc +ecdsa gost libressl python +ssl static-libs vim-syntax"
260 -
261 -# configure will die if ecdsa is enabled and ssl is not
262 -REQUIRED_USE="ecdsa? ( ssl )
263 - python? ( ${PYTHON_REQUIRED_USE} )"
264 -
265 -RDEPEND="
266 - python? ( ${PYTHON_DEPS} )
267 - dane? (
268 - !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] )
269 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
270 - )
271 - ecdsa? (
272 - !libressl? ( >=dev-libs/openssl-1.0.1e:0[-bindist,${MULTILIB_USEDEP}] )
273 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
274 - )
275 - gost? (
276 - !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] )
277 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
278 - )
279 - ssl? (
280 - !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] )
281 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
282 - )
283 -"
284 -DEPEND="${RDEPEND}
285 - python? ( dev-lang/swig )
286 - doc? ( app-doc/doxygen )
287 -"
288 -
289 -RESTRICT="test" # 1.6.9 has no test directory
290 -
291 -MULTILIB_CHOST_TOOLS=(
292 - /usr/bin/ldns-config
293 -)
294 -
295 -pkg_setup() {
296 - use python && python-single-r1_pkg_setup
297 -}
298 -
299 -multilib_src_configure() {
300 - ECONF_SOURCE=${S} \
301 - econf \
302 - $(use_enable static-libs static) \
303 - $(use_enable ssl sha2) \
304 - $(use_enable gost) \
305 - $(use_enable ecdsa) \
306 - $(use_enable dane) \
307 - $(use_with ssl ssl "${EPREFIX}"/usr) \
308 - $(multilib_native_use_with python pyldns) \
309 - $(multilib_native_use_with python pyldnsx) \
310 - --without-drill \
311 - --without-examples \
312 - --disable-dane-ta-usage \
313 - --disable-rpath
314 -
315 - # >=openssl-1.1.0 required for dane-ta
316 -}
317 -
318 -src_prepare() {
319 - epatch "${FILESDIR}/${P}-CVE-2017-1000231.patch"
320 - epatch "${FILESDIR}/${P}-CVE-2017-1000232.patch"
321 -}
322 -
323 -multilib_src_compile() {
324 - default
325 -
326 - if multilib_is_native_abi && use doc ; then
327 - emake doxygen
328 - fi
329 -}
330 -
331 -multilib_src_install() {
332 - default
333 -
334 - if multilib_is_native_abi && use doc ; then
335 - dohtml -r doc/html/.
336 - fi
337 -}
338 -
339 -multilib_src_install_all() {
340 - dodoc Changelog README*
341 -
342 - prune_libtool_files --modules
343 - use python && python_optimize
344 -
345 - if use vim-syntax ; then
346 - insinto /usr/share/vim/vimfiles/ftdetect
347 - doins libdns.vim
348 - fi
349 -
350 - einfo
351 - elog "Install net-dns/ldns-utils if you want drill and examples"
352 - einfo
353 -}