summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-09-27 00:15:37 +0000
committerTim Harder <radhermit@gentoo.org>2014-09-27 00:15:37 +0000
commit9bb19bb348dc57898512d077f3e1b218b2e3e3ed (patch)
treef276633abc5cb66ed07ba293feacccd45c52fa31 /net-dns/unbound
parentRemove ldns dep since it's bundled and locally modified now. (diff)
downloadgentoo-2-9bb19bb348dc57898512d077f3e1b218b2e3e3ed.tar.gz
gentoo-2-9bb19bb348dc57898512d077f3e1b218b2e3e3ed.tar.bz2
gentoo-2-9bb19bb348dc57898512d077f3e1b218b2e3e3ed.zip
Remove old.
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Diffstat (limited to 'net-dns/unbound')
-rw-r--r--net-dns/unbound/ChangeLog8
-rw-r--r--net-dns/unbound/files/unbound-1.4.17-gentoo.patch11
-rw-r--r--net-dns/unbound/unbound-1.4.16.ebuild110
-rw-r--r--net-dns/unbound/unbound-1.4.17-r1.ebuild112
-rw-r--r--net-dns/unbound/unbound-1.4.18.ebuild109
-rw-r--r--net-dns/unbound/unbound-1.4.19.ebuild109
-rw-r--r--net-dns/unbound/unbound-1.4.20.ebuild104
-rw-r--r--net-dns/unbound/unbound-1.4.21.ebuild104
8 files changed, 7 insertions, 660 deletions
diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog
index e0e109646cdf..c24f37ef8a1e 100644
--- a/net-dns/unbound/ChangeLog
+++ b/net-dns/unbound/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/unbound
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.73 2014/09/27 00:13:03 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.74 2014/09/27 00:15:37 radhermit Exp $
+
+ 27 Sep 2014; Tim Harder <radhermit@gentoo.org> -unbound-1.4.16.ebuild,
+ -unbound-1.4.17-r1.ebuild, -unbound-1.4.18.ebuild, -unbound-1.4.19.ebuild,
+ -unbound-1.4.20.ebuild, -unbound-1.4.21.ebuild,
+ -files/unbound-1.4.17-gentoo.patch:
+ Remove old.
*unbound-1.4.22-r1 (27 Sep 2014)
diff --git a/net-dns/unbound/files/unbound-1.4.17-gentoo.patch b/net-dns/unbound/files/unbound-1.4.17-gentoo.patch
deleted file mode 100644
index 555beef28737..000000000000
--- a/net-dns/unbound/files/unbound-1.4.17-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -208,8 +208,6 @@
- # Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST
- AC_LANG_C
--ACX_CHECK_COMPILER_FLAG(g, [CFLAGS="$CFLAGS -g"])
--ACX_CHECK_COMPILER_FLAG(O2, [CFLAGS="$CFLAGS -O2"])
- AC_PROG_CC
- ACX_DEPFLAG
- ACX_DETERMINE_EXT_FLAGS_UNBOUND
diff --git a/net-dns/unbound/unbound-1.4.16.ebuild b/net-dns/unbound/unbound-1.4.16.ebuild
deleted file mode 100644
index ef5c5c3cde4e..000000000000
--- a/net-dns/unbound/unbound-1.4.16.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.16.ebuild,v 1.7 2012/11/07 03:02:01 jer Exp $
-
-EAPI="3"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit eutils flag-o-matic python user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.5[ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}/${PN}-1.4.12-gentoo.patch"
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack || die
- econf \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with threads pthreads) \
- $(use_with python pyunbound) \
- $(use_with python pythonmodule) \
- --disable-rpath || die
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed"
- newconfd "${FILESDIR}/unbound.confd" unbound || die "newconfd failed"
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} || die "dodoc failed"
-
- # bug #315519
- #exeinto /usr/libexec/munin/plugins
- #doexe contrib/unbound_munin_ || die "doexe failed"
- dodoc contrib/unbound_munin_ || die "dodoc failed"
-
- docinto selinux
- dodoc contrib/selinux/* || die "dodoc failed"
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh || die "doexe failed"
-}
-
-pkg_postinst() {
- use python && python_mod_optimize unbound.py unboundmodule.py
-}
-
-pkg_postrm() {
- use python && python_mod_cleanup unbound.py unboundmodule.py
-}
diff --git a/net-dns/unbound/unbound-1.4.17-r1.ebuild b/net-dns/unbound/unbound-1.4.17-r1.ebuild
deleted file mode 100644
index 77c9921e067f..000000000000
--- a/net-dns/unbound/unbound-1.4.17-r1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.17-r1.ebuild,v 1.2 2012/11/07 03:02:01 jer Exp $
-
-EAPI="4"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit autotools eutils flag-o-matic python user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch \
- "${FILESDIR}"/${PN}-1.4.12-gentoo.patch \
- "${FILESDIR}"/${PN}-1.4.17-gentoo.patch
- eautoreconf
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack
- econf \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with threads pthreads) \
- $(use_with python pyunbound) \
- $(use_with python pythonmodule) \
- --enable-ecdsa \
- --disable-rpath
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}/unbound.initd" unbound
- newconfd "${FILESDIR}/unbound.confd" unbound
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
-
- # bug #315519
- dodoc contrib/unbound_munin_
-
- docinto selinux
- dodoc contrib/selinux/*
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh
-}
-
-pkg_postinst() {
- use python && python_mod_optimize unbound.py unboundmodule.py
-}
-
-pkg_postrm() {
- use python && python_mod_cleanup unbound.py unboundmodule.py
-}
diff --git a/net-dns/unbound/unbound-1.4.18.ebuild b/net-dns/unbound/unbound-1.4.18.ebuild
deleted file mode 100644
index 21e57f2ce873..000000000000
--- a/net-dns/unbound/unbound-1.4.18.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.18.ebuild,v 1.7 2014/06/18 13:42:49 klausman Exp $
-
-EAPI="4"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit eutils flag-o-matic python user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack
- econf \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with python pythonmodule) \
- $(use_with python pyunbound) \
- $(use_with threads pthreads) \
- --disable-rpath \
- --enable-ecdsa \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}/unbound.initd" unbound
- newconfd "${FILESDIR}/unbound.confd" unbound
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
-
- # bug #315519
- dodoc contrib/unbound_munin_
-
- docinto selinux
- dodoc contrib/selinux/*
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh
-}
-
-pkg_postinst() {
- use python && python_mod_optimize unbound.py unboundmodule.py
-}
-
-pkg_postrm() {
- use python && python_mod_cleanup unbound.py unboundmodule.py
-}
diff --git a/net-dns/unbound/unbound-1.4.19.ebuild b/net-dns/unbound/unbound-1.4.19.ebuild
deleted file mode 100644
index 203019c64951..000000000000
--- a/net-dns/unbound/unbound-1.4.19.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.19.ebuild,v 1.3 2014/08/21 14:23:59 armin76 Exp $
-
-EAPI="4"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit eutils flag-o-matic python user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack
- econf \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with python pythonmodule) \
- $(use_with python pyunbound) \
- $(use_with threads pthreads) \
- --disable-rpath \
- --enable-ecdsa \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}/unbound.initd" unbound
- newconfd "${FILESDIR}/unbound.confd" unbound
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
-
- # bug #315519
- dodoc contrib/unbound_munin_
-
- docinto selinux
- dodoc contrib/selinux/*
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh
-}
-
-pkg_postinst() {
- use python && python_mod_optimize unbound.py unboundmodule.py
-}
-
-pkg_postrm() {
- use python && python_mod_cleanup unbound.py unboundmodule.py
-}
diff --git a/net-dns/unbound/unbound-1.4.20.ebuild b/net-dns/unbound/unbound-1.4.20.ebuild
deleted file mode 100644
index 38fae968f60f..000000000000
--- a/net-dns/unbound/unbound-1.4.20.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.20.ebuild,v 1.7 2014/08/21 14:23:59 armin76 Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
-
-inherit eutils flag-o-matic python-single-r1 user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? (
- ${PYTHON_DEPS}
- dev-lang/swig
- )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack
- econf \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with python pythonmodule) \
- $(use_with python pyunbound) \
- $(use_with threads pthreads) \
- --disable-rpath \
- --enable-ecdsa \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- python_optimize
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}"/unbound.initd unbound
- newconfd "${FILESDIR}"/unbound.confd unbound
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
-
- # bug #315519
- dodoc contrib/unbound_munin_
-
- docinto selinux
- dodoc contrib/selinux/*
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh
-}
diff --git a/net-dns/unbound/unbound-1.4.21.ebuild b/net-dns/unbound/unbound-1.4.21.ebuild
deleted file mode 100644
index bc9fb0c0e0f9..000000000000
--- a/net-dns/unbound/unbound-1.4.21.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.21.ebuild,v 1.3 2014/08/21 14:23:59 armin76 Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
-
-inherit eutils flag-o-matic python-single-r1 user
-
-DESCRIPTION="A validating, recursive and caching DNS resolver"
-HOMEPAGE="http://unbound.net/"
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos"
-IUSE="debug gost python selinux static-libs test threads"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="dev-libs/expat
- dev-libs/libevent
- >=dev-libs/openssl-0.9.8
- >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
- selinux? ( sec-policy/selinux-bind )"
-
-DEPEND="${RDEPEND}
- python? (
- ${PYTHON_DEPS}
- dev-lang/swig
- )
- test? (
- net-dns/ldns-utils[examples]
- dev-util/splint
- app-text/wdiff
- )"
-
-# bug #347415
-RDEPEND="${RDEPEND}
- net-dns/dnssec-root"
-
-pkg_setup() {
- enewgroup unbound
- enewuser unbound -1 -1 /etc/unbound unbound
-
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # To avoid below error messages, set 'trust-anchor-file' to same value in
- # 'auto-trust-anchor-file'.
- # [23109:0] error: Could not open autotrust file for writing,
- # /etc/dnssec/root-anchors.txt: Permission denied
- epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
-}
-
-src_configure() {
- append-ldflags -Wl,-z,noexecstack
- econf \
- $(use_enable debug) \
- $(use_enable gost) \
- $(use_enable static-libs static) \
- $(use_with python pythonmodule) \
- $(use_with python pyunbound) \
- $(use_with threads pthreads) \
- --disable-rpath \
- --enable-ecdsa \
- --with-ldns="${EPREFIX}"/usr \
- --with-libevent="${EPREFIX}"/usr \
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
-
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
- # $(use_enable debug lock-checks) \
- # $(use_enable debug alloc-checks) \
- # $(use_enable debug alloc-lite) \
- # $(use_enable debug alloc-nonregional) \
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- # bug #299016
- if use python ; then
- find "${ED}" -name '_unbound.{la,a}' -delete || die
- python_optimize
- fi
- if ! use static-libs ; then
- find "${ED}" -name "*.la" -type f -delete || die
- fi
-
- newinitd "${FILESDIR}"/unbound.initd unbound
- newconfd "${FILESDIR}"/unbound.confd unbound
-
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
-
- # bug #315519
- dodoc contrib/unbound_munin_
-
- docinto selinux
- dodoc contrib/selinux/*
-
- exeinto /usr/share/${PN}
- doexe contrib/update-anchor.sh
-}