summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-04-13 08:48:41 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-13 08:50:05 +0200
commit83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e (patch)
tree495abae5ca01e26034bc59d4b8a49c6dd2356c88 /net-libs/adns
parentdev-libs/liboop: Remove last-rited pkg (diff)
downloadgentoo-83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e.tar.gz
gentoo-83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e.tar.bz2
gentoo-83b59c5342f0ed81bb1eb3c4b1217d22f4da1a7e.zip
net-libs/adns: Remove last-rited pkg
Closes: https://bugs.gentoo.org/513238 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-libs/adns')
-rw-r--r--net-libs/adns/Manifest1
-rw-r--r--net-libs/adns/adns-1.4-r2.ebuild42
-rw-r--r--net-libs/adns/adns-1.4.ebuild35
-rw-r--r--net-libs/adns/files/README.security11
-rw-r--r--net-libs/adns/files/adns-1.4-cnamechain.patch132
-rw-r--r--net-libs/adns/metadata.xml5
6 files changed, 0 insertions, 226 deletions
diff --git a/net-libs/adns/Manifest b/net-libs/adns/Manifest
deleted file mode 100644
index a48993540ed5..000000000000
--- a/net-libs/adns/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST adns-1.4.tar.gz 252668 BLAKE2B 10373868fb322cb48ba5e2425b9e6ef7c1593240f22b412b1a7128349d29e05fa2be53750a06fdf29e3ef8f51e6144a27c19f066a80b195bf5ecf1a8da29ce6a SHA512 9c067def9467578edbbaa47d5e9bc822dabc96bb66f58d032f93b842aaf3746783102ecda9303b24c6437db34d1c4819d2a0e13d08c23c9c7be27c8180604775
diff --git a/net-libs/adns/adns-1.4-r2.ebuild b/net-libs/adns/adns-1.4-r2.ebuild
deleted file mode 100644
index 36e6d678aa28..000000000000
--- a/net-libs/adns/adns-1.4-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
-HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
-SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
-
-LICENSE="GPL-2+ LGPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-cnamechain.patch
- # remove bogus test wrt bug #295072
- rm "${S}"/regress/case-cnametocname.sys || die
- eapply_user
-}
-
-src_configure() {
- CC=$(tc-getCC) econf
-}
-
-src_compile() {
- emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB)
-}
-
-src_install () {
- dodir /usr/{include,bin,$(get_libdir)}
- emake prefix="${ED}"/usr libdir="${ED}"/usr/$(get_libdir) install
- dodoc README TODO changelog "${FILESDIR}"/README.security
- docinto html
- dodoc README.html
- MY_POSTINST_MSG=$(<"${FILESDIR}"/README.security)
-}
-
-pkg_postinst() {
- ewarn "${MY_POSTINST_MSG}"
-}
diff --git a/net-libs/adns/adns-1.4.ebuild b/net-libs/adns/adns-1.4.ebuild
deleted file mode 100644
index ff58ec85e529..000000000000
--- a/net-libs/adns/adns-1.4.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Advanced, easy to use, asynchronous-capable DNS client library and utilities"
-HOMEPAGE="http://www.chiark.greenend.org.uk/~ian/adns/"
-SRC_URI="ftp://ftp.chiark.greenend.org.uk/users/ian/adns/${P}.tar.gz"
-
-LICENSE="GPL-2+ LGPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_compile() {
- CC=$(tc-getCC) econf || die "econf failed"
- emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) || die "emake failed"
-}
-
-src_install () {
- dodir /usr/{include,bin,$(get_libdir)}
- emake prefix="${D}"/usr libdir="${D}"/usr/$(get_libdir) install || die "emake install failed"
- dodoc README TODO changelog "${FILESDIR}"/README.security
- dohtml *.html
- MY_POSTINST_MSG=$(<"${FILESDIR}"/README.security)
-}
-
-pkg_postinst() {
- ewarn "${MY_POSTINST_MSG}"
-}
diff --git a/net-libs/adns/files/README.security b/net-libs/adns/files/README.security
deleted file mode 100644
index c09f544f3f99..000000000000
--- a/net-libs/adns/files/README.security
+++ /dev/null
@@ -1,11 +0,0 @@
-SECURITY AND PERFORMANCE - AN IMPORTANT NOTE
-
-adns is not a `full-service resolver': it does no caching of responses
-at all, and has no defence against bad nameservers or fake packets
-which appear to come from your real nameservers. It relies on the
-full-service resolvers listed in resolv.conf to handle these tasks.
-
-For secure and reasonable operation you MUST run a full-service
-nameserver on the same system as your adns applications, or on the
-same local, fully trusted network. You MUST only list such
-nameservers in the adns configuration (eg resolv.conf).
diff --git a/net-libs/adns/files/adns-1.4-cnamechain.patch b/net-libs/adns/files/adns-1.4-cnamechain.patch
deleted file mode 100644
index 9edf69461c01..000000000000
--- a/net-libs/adns/files/adns-1.4-cnamechain.patch
+++ /dev/null
@@ -1,132 +0,0 @@
-[ADNS] Re: CNAME chains
-Brad Spencer spencer at infointeractive.com
-Mon, 28 Aug 2006 14:43:00 -0300
-
-Previous message: CNAME chains
-Next message: CNAME chains option
-Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
---pf9I7BMVVzbSWLtt
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: inline
-
-On Fri, Aug 25, 2006 at 11:36:04AM -0700, William Ahern wrote:
-> On Fri, Aug 25, 2006 at 09:39:01AM +0100, peter burden wrote:
-> > Hello,
-> > Is there any way to make ADNS follow CNAME chains ?
-> >
-> > I have set the adns_qf_cname_loose query flag and it seems OK for a
-> > single
-> > CNAME - e.g. (output from 'dig')
-
-I posted a small patch back in 2003 that made changes to adns so that
-it would follow CNAME chains. See
-
-http://www.chiark.greenend.org.uk/pipermail/adns-discuss/2003/001072.html
-
-The patch included in that post is against an old adns version, so I
-have attached my latest version of the patch to this message. (I have
-not tested that the attached patch applied cleanly to the current adns
-source, but it may be slightly more in sync with the current version.)
-
-> CNAME chains are technically not allowed. Such chains are violations of the
-> specifications. Also, I believe MX host lookups returning CNAMEs (i.e. MX
-> yahoo.com -> A mail.yahoo.com -> CNAME foo) is also illegal.
-
-I have also been told that CNAME chains are illegal, but I can not
-find any actual text that says that a resolver should fail when it
-encounters them. In fact, RFC 1034 Section 3.6.2 says:
-
- Domain names in RRs which point at another name should always point at
- the primary name and not the alias. This avoids extra indirections in
- accessing information. For example, the address to name RR for the
- above host should be:
-
- 52.0.0.10.IN-ADDR.ARPA IN PTR C.ISI.EDU
-
- rather than pointing at USC-ISIC.ARPA.
-
-The above implies that CNAME chains are illegal, IMO. But then, the
-next sentence is:
-
- Of course, by the robustness principle, domain software should not
- fail when presented with CNAME chains or loops; CNAME chains
- should be followed and CNAME loops signalled as an error.
-
-This advice, coupled with the fact that CNAME chains exist in the
-wild, triggered me to create the patch in the first place. My patch
-doesn't detect loops, but instead simply won't follow chains longer
-than a certain (hard-coded) size.
-
-Hope this helps!
-
---
-------------------------------------------------------------------
-Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
-Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
-
---pf9I7BMVVzbSWLtt
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: attachment; filename="cname_chains.diff"
-
-Index: adns-1.0/src/internal.h
-===================================================================
-RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/internal.h,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -p -r1.3 -r1.4
---- adns-1.0/src/internal.h 2 Oct 2003 17:01:46 -0000 1.3
-+++ adns-1.0/src/internal.h 2 Oct 2003 17:14:29 -0000 1.4
-@@ -206,6 +206,9 @@ struct adns__query {
- int cname_dglen, cname_begin;
- /* If non-0, has been allocated using . */
-
-+ int cname_alias_hops_left;
-+ /* The number of cname alias hops we will allow */
-+
- vbuf search_vb;
- int search_origlen, search_pos, search_doneabs;
- /* Used by the searching algorithm. The query domain in textual form
-Index: adns-1.0/src/query.c
-===================================================================
-RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/query.c,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -p -r1.3 -r1.4
---- adns-1.0/src/query.c 2 Oct 2003 17:01:47 -0000 1.3
-+++ adns-1.0/src/query.c 2 Oct 2003 17:14:29 -0000 1.4
-@@ -63,6 +63,8 @@ static adns_query query_alloc(adns_state
-
- qu->cname_dgram= 0;
- qu->cname_dglen= qu->cname_begin= 0;
-+ /* Allow CNAME chains up to some sane limit */
-+ qu->cname_alias_hops_left = 10;
-
- adns__vbuf_init(&qu->search_vb);
- qu->search_origlen= qu->search_pos= qu->search_doneabs= 0;
-Index: adns-1.0/src/reply.c
-===================================================================
-RCS file: /iia/cvsroot/3rdParty/gnu/adns/adns-1.0/src/reply.c,v
-retrieving revision 1.3
-retrieving revision 1.4
-diff -u -p -r1.3 -r1.4
---- adns-1.0/src/reply.c 2 Oct 2003 17:01:47 -0000 1.3
-+++ adns-1.0/src/reply.c 2 Oct 2003 17:14:30 -0000 1.4
-@@ -191,12 +191,13 @@ void adns__procdgram(adns_state ads, con
- if (qu->flags & adns_qf_cname_forbid) {
- adns__query_fail(qu,adns_s_prohibitedcname);
- return;
-- } else if (qu->cname_dgram) { /* Ignore second and subsequent CNAME(s) */
-+ } else if (qu->cname_dgram && --(qu->cname_alias_hops_left) <= 0) { /* Don't follow "too long" CNAME chains */
- adns__debug(ads,serv,qu,"allegedly canonical name %s"
-- " is actually alias for %s", qu->answer->cname,
-+ " is actually alias for %s and aliases too deep",
-+ qu->answer->cname,
- adns__diag_domain(ads,serv,qu, &qu->vb,
- dgram,dglen,rdstart));
-- adns__query_fail(qu,adns_s_prohibitedcname);
-+ adns__query_fail(qu,adns_s_norecurse);
- return;
- } else if (wantedrrs) { /* Ignore CNAME(s) after RR(s). */
- adns__debug(ads,serv,qu,"ignoring CNAME (to %s) coexisting with RR",
-
---pf9I7BMVVzbSWLtt--
diff --git a/net-libs/adns/metadata.xml b/net-libs/adns/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-libs/adns/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>