summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2009-02-15 02:14:27 +0000
committerDaniel Black <dragonheart@gentoo.org>2009-02-15 02:14:27 +0000
commit100e419b8fa3e9c52c9af74ed385fa11ca448e82 (patch)
tree0996c285b8f502b90d048112cebb25c95690bffd /net-libs
parentHad a bug in the first edition of the patch, roll out a new revision instead. (diff)
downloadgentoo-2-100e419b8fa3e9c52c9af74ed385fa11ca448e82.tar.gz
gentoo-2-100e419b8fa3e9c52c9af74ed385fa11ca448e82.tar.bz2
gentoo-2-100e419b8fa3e9c52c9af74ed385fa11ca448e82.zip
added warning thanks to Robert Buchholz bug #238119.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/adns/ChangeLog8
-rw-r--r--net-libs/adns/adns-1.1.ebuild32
-rw-r--r--net-libs/adns/adns-1.4.ebuild10
-rw-r--r--net-libs/adns/files/README.security11
4 files changed, 24 insertions, 37 deletions
diff --git a/net-libs/adns/ChangeLog b/net-libs/adns/ChangeLog
index 496e9319db35..1d899ed4410e 100644
--- a/net-libs/adns/ChangeLog
+++ b/net-libs/adns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/adns
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.31 2008/04/21 17:51:54 phreak Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/ChangeLog,v 1.32 2009/02/15 02:14:25 dragonheart Exp $
+
+ 15 Feb 2009; Daniel Black <dragonheart@gentoo.org> +files/README.security,
+ -adns-1.1.ebuild, adns-1.4.ebuild:
+ added warning thanks to Robert Buchholz bug #238119.
21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Fix up metadata.xml. If there's no maintainer for the package, the metadata
diff --git a/net-libs/adns/adns-1.1.ebuild b/net-libs/adns/adns-1.1.ebuild
deleted file mode 100644
index 983b34c8ddfb..000000000000
--- a/net-libs/adns/adns-1.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.1.ebuild,v 1.11 2005/04/22 20:43:38 hansmi Exp $
-
-inherit eutils multilib
-
-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="LGPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc alpha hppa ~mips ia64 amd64 ppc64"
-IUSE=""
-
-DEPEND="virtual/libc"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-gcc34.patch
-}
-
-src_install () {
- dodir /usr/{include,bin,$(get_libdir)}
- make prefix=${D}/usr lib_dir=${D}/usr/$(get_libdir) install || die
- dodoc README TODO
- dohtml *.html
-
- dosym libadns.so.1 /usr/$(get_libdir)/libadns.so
-}
diff --git a/net-libs/adns/adns-1.4.ebuild b/net-libs/adns/adns-1.4.ebuild
index 48434df41755..3968dc828a26 100644
--- a/net-libs/adns/adns-1.4.ebuild
+++ b/net-libs/adns/adns-1.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.4.ebuild,v 1.9 2008/03/24 00:46:08 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/adns/adns-1.4.ebuild,v 1.10 2009/02/15 02:14:25 dragonheart Exp $
inherit eutils multilib toolchain-funcs
@@ -24,6 +24,10 @@ src_compile() {
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
+ dodoc README TODO changelog "${FILESDIR}"/README.security
dohtml *.html
}
+
+pkg_postinst() {
+ ewarn "$(<${FILESDIR}/README.security)"
+}
diff --git a/net-libs/adns/files/README.security b/net-libs/adns/files/README.security
new file mode 100644
index 000000000000..c09f544f3f99
--- /dev/null
+++ b/net-libs/adns/files/README.security
@@ -0,0 +1,11 @@
+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).