Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/adns/, net-libs/adns/files/, profiles/
Date: Sat, 13 Apr 2019 06:50:33
Message-Id: 1555138205.83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e.mgorny@gentoo
1 commit: 83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 13 06:48:41 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 13 06:50:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b59c53
7
8 net-libs/adns: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/513238
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-libs/adns/Manifest | 1 -
14 net-libs/adns/adns-1.4-r2.ebuild | 42 --------
15 net-libs/adns/adns-1.4.ebuild | 35 -------
16 net-libs/adns/files/README.security | 11 ---
17 net-libs/adns/files/adns-1.4-cnamechain.patch | 132 --------------------------
18 net-libs/adns/metadata.xml | 5 -
19 profiles/package.mask | 10 --
20 7 files changed, 236 deletions(-)
21
22 diff --git a/net-libs/adns/Manifest b/net-libs/adns/Manifest
23 deleted file mode 100644
24 index a48993540ed..00000000000
25 --- a/net-libs/adns/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST adns-1.4.tar.gz 252668 BLAKE2B 10373868fb322cb48ba5e2425b9e6ef7c1593240f22b412b1a7128349d29e05fa2be53750a06fdf29e3ef8f51e6144a27c19f066a80b195bf5ecf1a8da29ce6a SHA512 9c067def9467578edbbaa47d5e9bc822dabc96bb66f58d032f93b842aaf3746783102ecda9303b24c6437db34d1c4819d2a0e13d08c23c9c7be27c8180604775
29
30 diff --git a/net-libs/adns/adns-1.4-r2.ebuild b/net-libs/adns/adns-1.4-r2.ebuild
31 deleted file mode 100644
32 index 36e6d678aa2..00000000000
33 --- a/net-libs/adns/adns-1.4-r2.ebuild
34 +++ /dev/null
35 @@ -1,42 +0,0 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -inherit multilib toolchain-funcs
42 -
43 -DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
44 -HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
45 -SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2+ LGPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
50 -
51 -src_prepare() {
52 - eapply "${FILESDIR}"/${P}-cnamechain.patch
53 - # remove bogus test wrt bug #295072
54 - rm "${S}"/regress/case-cnametocname.sys || die
55 - eapply_user
56 -}
57 -
58 -src_configure() {
59 - CC=$(tc-getCC) econf
60 -}
61 -
62 -src_compile() {
63 - emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB)
64 -}
65 -
66 -src_install () {
67 - dodir /usr/{include,bin,$(get_libdir)}
68 - emake prefix="${ED}"/usr libdir="${ED}"/usr/$(get_libdir) install
69 - dodoc README TODO changelog "${FILESDIR}"/README.security
70 - docinto html
71 - dodoc README.html
72 - MY_POSTINST_MSG=$(<"${FILESDIR}"/README.security)
73 -}
74 -
75 -pkg_postinst() {
76 - ewarn "${MY_POSTINST_MSG}"
77 -}
78
79 diff --git a/net-libs/adns/adns-1.4.ebuild b/net-libs/adns/adns-1.4.ebuild
80 deleted file mode 100644
81 index ff58ec85e52..00000000000
82 --- a/net-libs/adns/adns-1.4.ebuild
83 +++ /dev/null
84 @@ -1,35 +0,0 @@
85 -# Copyright 1999-2018 Gentoo Foundation
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=0
89 -
90 -inherit eutils multilib toolchain-funcs
91 -
92 -DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
93 -HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
94 -SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
95 -
96 -LICENSE="GPL-2+ LGPL-2+"
97 -SLOT="0"
98 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
99 -IUSE=""
100 -
101 -DEPEND=""
102 -RDEPEND=""
103 -
104 -src_compile() {
105 - CC=$(tc-getCC) econf || die "econf failed"
106 - emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) || die "emake failed"
107 -}
108 -
109 -src_install () {
110 - dodir /usr/{include,bin,$(get_libdir)}
111 - emake prefix="${D}"/usr libdir="${D}"/usr/$(get_libdir) install || die "emake install failed"
112 - dodoc README TODO changelog "${FILESDIR}"/README.security
113 - dohtml *.html
114 - MY_POSTINST_MSG=$(<"${FILESDIR}"/README.security)
115 -}
116 -
117 -pkg_postinst() {
118 - ewarn "${MY_POSTINST_MSG}"
119 -}
120
121 diff --git a/net-libs/adns/files/README.security b/net-libs/adns/files/README.security
122 deleted file mode 100644
123 index c09f544f3f9..00000000000
124 --- a/net-libs/adns/files/README.security
125 +++ /dev/null
126 @@ -1,11 +0,0 @@
127 -SECURITY AND PERFORMANCE - AN IMPORTANT NOTE
128 -
129 -adns is not a `full-service resolver': it does no caching of responses
130 -at all, and has no defence against bad nameservers or fake packets
131 -which appear to come from your real nameservers. It relies on the
132 -full-service resolvers listed in resolv.conf to handle these tasks.
133 -
134 -For secure and reasonable operation you MUST run a full-service
135 -nameserver on the same system as your adns applications, or on the
136 -same local, fully trusted network. You MUST only list such
137 -nameservers in the adns configuration (eg resolv.conf).
138
139 diff --git a/net-libs/adns/files/adns-1.4-cnamechain.patch b/net-libs/adns/files/adns-1.4-cnamechain.patch
140 deleted file mode 100644
141 index 9edf69461c0..00000000000
142 --- a/net-libs/adns/files/adns-1.4-cnamechain.patch
143 +++ /dev/null
144 @@ -1,132 +0,0 @@
145 -[ADNS] Re: CNAME chains
146 -Brad Spencer spencer at infointeractive.com
147 -Mon, 28 Aug 2006 14:43:00 -0300
148 -
149 -Previous message: CNAME chains
150 -Next message: CNAME chains option
151 -Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
152 ---pf9I7BMVVzbSWLtt
153 -Content-Type: text/plain; charset=us-ascii
154 -Content-Disposition: inline
155 -
156 -On Fri, Aug 25, 2006 at 11:36:04AM -0700, William Ahern wrote:
157 -> On Fri, Aug 25, 2006 at 09:39:01AM +0100, peter burden wrote:
158 -> > Hello,
159 -> > Is there any way to make ADNS follow CNAME chains ?
160 -> >
161 -> > I have set the adns_qf_cname_loose query flag and it seems OK for a
162 -> > single
163 -> > CNAME - e.g. (output from 'dig')
164 -
165 -I posted a small patch back in 2003 that made changes to adns so that
166 -it would follow CNAME chains. See
167 -
168 -http://www.chiark.greenend.org.uk/pipermail/adns-discuss/2003/001072.html
169 -
170 -The patch included in that post is against an old adns version, so I
171 -have attached my latest version of the patch to this message. (I have
172 -not tested that the attached patch applied cleanly to the current adns
173 -source, but it may be slightly more in sync with the current version.)
174 -
175 -> CNAME chains are technically not allowed. Such chains are violations of the
176 -> specifications. Also, I believe MX host lookups returning CNAMEs (i.e. MX
177 -> yahoo.com -> A mail.yahoo.com -> CNAME foo) is also illegal.
178 -
179 -I have also been told that CNAME chains are illegal, but I can not
180 -find any actual text that says that a resolver should fail when it
181 -encounters them. In fact, RFC 1034 Section 3.6.2 says:
182 -
183 - Domain names in RRs which point at another name should always point at
184 - the primary name and not the alias. This avoids extra indirections in
185 - accessing information. For example, the address to name RR for the
186 - above host should be:
187 -
188 - 52.0.0.10.IN-ADDR.ARPA IN PTR C.ISI.EDU
189 -
190 - rather than pointing at USC-ISIC.ARPA.
191 -
192 -The above implies that CNAME chains are illegal, IMO. But then, the
193 -next sentence is:
194 -
195 - Of course, by the robustness principle, domain software should not
196 - fail when presented with CNAME chains or loops; CNAME chains
197 - should be followed and CNAME loops signalled as an error.
198 -
199 -This advice, coupled with the fact that CNAME chains exist in the
200 -wild, triggered me to create the patch in the first place. My patch
201 -doesn't detect loops, but instead simply won't follow chains longer
202 -than a certain (hard-coded) size.
203 -
204 -Hope this helps!
205 -
206 ---
207 -------------------------------------------------------------------
208 -Brad Spencer - spencer@×××××××××××××××.com - "It's quite nice..."
209 -Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
210 -
211 ---pf9I7BMVVzbSWLtt
212 -Content-Type: text/plain; charset=us-ascii
213 -Content-Disposition: attachment; filename="cname_chains.diff"
214 -
215 -Index: adns-1.0/src/internal.h
216 -===================================================================
217 -RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/internal.h,v
218 -retrieving revision 1.3
219 -retrieving revision 1.4
220 -diff -u -p -r1.3 -r1.4
221 ---- adns-1.0/src/internal.h 2 Oct 2003 17:01:46 -0000 1.3
222 -+++ adns-1.0/src/internal.h 2 Oct 2003 17:14:29 -0000 1.4
223 -@@ -206,6 +206,9 @@ struct adns__query {
224 - int cname_dglen, cname_begin;
225 - /* If non-0, has been allocated using . */
226 -
227 -+ int cname_alias_hops_left;
228 -+ /* The number of cname alias hops we will allow */
229 -+
230 - vbuf search_vb;
231 - int search_origlen, search_pos, search_doneabs;
232 - /* Used by the searching algorithm. The query domain in textual form
233 -Index: adns-1.0/src/query.c
234 -===================================================================
235 -RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/query.c,v
236 -retrieving revision 1.3
237 -retrieving revision 1.4
238 -diff -u -p -r1.3 -r1.4
239 ---- adns-1.0/src/query.c 2 Oct 2003 17:01:47 -0000 1.3
240 -+++ adns-1.0/src/query.c 2 Oct 2003 17:14:29 -0000 1.4
241 -@@ -63,6 +63,8 @@ static adns_query query_alloc(adns_state
242 -
243 - qu->cname_dgram= 0;
244 - qu->cname_dglen= qu->cname_begin= 0;
245 -+ /* Allow CNAME chains up to some sane limit */
246 -+ qu->cname_alias_hops_left = 10;
247 -
248 - adns__vbuf_init(&qu->search_vb);
249 - qu->search_origlen= qu->search_pos= qu->search_doneabs= 0;
250 -Index: adns-1.0/src/reply.c
251 -===================================================================
252 -RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/reply.c,v
253 -retrieving revision 1.3
254 -retrieving revision 1.4
255 -diff -u -p -r1.3 -r1.4
256 ---- adns-1.0/src/reply.c 2 Oct 2003 17:01:47 -0000 1.3
257 -+++ adns-1.0/src/reply.c 2 Oct 2003 17:14:30 -0000 1.4
258 -@@ -191,12 +191,13 @@ void adns__procdgram(adns_state ads, con
259 - if (qu->flags & adns_qf_cname_forbid) {
260 - adns__query_fail(qu,adns_s_prohibitedcname);
261 - return;
262 -- } else if (qu->cname_dgram) { /* Ignore second and subsequent CNAME(s) */
263 -+ } else if (qu->cname_dgram && --(qu->cname_alias_hops_left) <= 0) { /* Don't follow "too long" CNAME chains */
264 - adns__debug(ads,serv,qu,"allegedly canonical name %s"
265 -- " is actually alias for %s", qu->answer->cname,
266 -+ " is actually alias for %s and aliases too deep",
267 -+ qu->answer->cname,
268 - adns__diag_domain(ads,serv,qu, &qu->vb,
269 - dgram,dglen,rdstart));
270 -- adns__query_fail(qu,adns_s_prohibitedcname);
271 -+ adns__query_fail(qu,adns_s_norecurse);
272 - return;
273 - } else if (wantedrrs) { /* Ignore CNAME(s) after RR(s). */
274 - adns__debug(ads,serv,qu,"ignoring CNAME (to %s) coexisting with RR",
275 -
276 ---pf9I7BMVVzbSWLtt--
277
278 diff --git a/net-libs/adns/metadata.xml b/net-libs/adns/metadata.xml
279 deleted file mode 100644
280 index 6f49eba8f49..00000000000
281 --- a/net-libs/adns/metadata.xml
282 +++ /dev/null
283 @@ -1,5 +0,0 @@
284 -<?xml version="1.0" encoding="UTF-8"?>
285 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
286 -<pkgmetadata>
287 -<!-- maintainer-needed -->
288 -</pkgmetadata>
289
290 diff --git a/profiles/package.mask b/profiles/package.mask
291 index a82a48a1760..663224b96ba 100644
292 --- a/profiles/package.mask
293 +++ b/profiles/package.mask
294 @@ -748,16 +748,6 @@ media-libs/ccaudio2
295 # Removal in 30 days. Bug #680216.
296 net-libs/libinfinity
297
298 -# Michał Górny <mgorny@g.o> (13 Mar 2019)
299 -# Ancient asynchronous DNS library. The current Gentoo version is
300 -# from 2006, and lacks support for IPv6, NSS, /etc/hosts. There were
301 -# some new upstream activity in 2014-2016 but there is probably
302 -# no reason to bump it, now that it has no reverse dependencies anymore.
303 -# It had no Gentoo maintainer since 2004, when metadata.xml was added.
304 -# A good alternative is net-dns/c-ares.
305 -# Removal in 30 days. Bug #513238.
306 -net-libs/adns
307 -
308 # Eray Aslan <eras@g.o> (01 Mar 2019)
309 # Mask experimental software
310 =mail-mta/postfix-3.5*