1 |
commit: 87e0a6b3e542aecaf9098c424f403c3cc39e3d23 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 11:44:36 2016 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 11:45:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e0a6b3 |
7 |
|
8 |
net-dns/unbound: cleanup vulnerable versions per security bug #532000 |
9 |
|
10 |
net-dns/unbound/unbound-1.4.22-r1.ebuild | 112 ------------------------------- |
11 |
1 file changed, 112 deletions(-) |
12 |
|
13 |
diff --git a/net-dns/unbound/unbound-1.4.22-r1.ebuild b/net-dns/unbound/unbound-1.4.22-r1.ebuild |
14 |
deleted file mode 100644 |
15 |
index fff8e87..0000000 |
16 |
--- a/net-dns/unbound/unbound-1.4.22-r1.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,112 +0,0 @@ |
19 |
-# Copyright 1999-2015 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-EAPI=5 |
24 |
-PYTHON_COMPAT=( python2_7 ) |
25 |
- |
26 |
-inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user |
27 |
- |
28 |
-DESCRIPTION="A validating, recursive and caching DNS resolver" |
29 |
-HOMEPAGE="http://unbound.net/" |
30 |
-SRC_URI="http://unbound.net/downloads/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="BSD GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x64-macos" |
35 |
-IUSE="debug gost python selinux static-libs test threads" |
36 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
37 |
- |
38 |
-# Note: expat is needed by executable only but the Makefile is custom |
39 |
-# and doesn't make it possible to easily install the library without |
40 |
-# the executables. MULTILIB_USEDEP may be dropped once build system |
41 |
-# is fixed. |
42 |
- |
43 |
-CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] |
44 |
- >=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}] |
45 |
- >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] |
46 |
- python? ( ${PYTHON_DEPS} )" |
47 |
- |
48 |
-DEPEND="${CDEPEND} |
49 |
- python? ( dev-lang/swig ) |
50 |
- test? ( |
51 |
- net-dns/ldns-utils[examples] |
52 |
- dev-util/splint |
53 |
- app-text/wdiff |
54 |
- )" |
55 |
- |
56 |
-RDEPEND="${CDEPEND} |
57 |
- selinux? ( sec-policy/selinux-bind )" |
58 |
- |
59 |
-# bug #347415 |
60 |
-RDEPEND="${RDEPEND} |
61 |
- net-dns/dnssec-root" |
62 |
- |
63 |
-pkg_setup() { |
64 |
- enewgroup unbound |
65 |
- enewuser unbound -1 -1 /etc/unbound unbound |
66 |
- |
67 |
- use python && python-single-r1_pkg_setup |
68 |
-} |
69 |
- |
70 |
-src_prepare() { |
71 |
- # To avoid below error messages, set 'trust-anchor-file' to same value in |
72 |
- # 'auto-trust-anchor-file'. |
73 |
- # [23109:0] error: Could not open autotrust file for writing, |
74 |
- # /etc/dnssec/root-anchors.txt: Permission denied |
75 |
- epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch |
76 |
- |
77 |
- # required for the python part |
78 |
- multilib_copy_sources |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack |
83 |
- multilib-minimal_src_configure |
84 |
-} |
85 |
- |
86 |
-multilib_src_configure() { |
87 |
- econf \ |
88 |
- $(use_enable debug) \ |
89 |
- $(use_enable gost) \ |
90 |
- $(use_enable static-libs static) \ |
91 |
- $(multilib_native_use_with python pythonmodule) \ |
92 |
- $(multilib_native_use_with python pyunbound) \ |
93 |
- $(use_with threads pthreads) \ |
94 |
- --disable-rpath \ |
95 |
- --enable-ecdsa \ |
96 |
- --with-libevent="${EPREFIX}"/usr \ |
97 |
- --with-pidfile="${EPREFIX}"/var/run/unbound.pid \ |
98 |
- --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \ |
99 |
- --with-ssl="${EPREFIX}"/usr \ |
100 |
- --with-libexpat="${EPREFIX}"/usr |
101 |
- |
102 |
- # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html |
103 |
- # $(use_enable debug lock-checks) \ |
104 |
- # $(use_enable debug alloc-checks) \ |
105 |
- # $(use_enable debug alloc-lite) \ |
106 |
- # $(use_enable debug alloc-nonregional) \ |
107 |
-} |
108 |
- |
109 |
-multilib_src_install_all() { |
110 |
- prune_libtool_files --modules |
111 |
- use python && python_optimize |
112 |
- |
113 |
- newinitd "${FILESDIR}"/unbound.initd unbound |
114 |
- newconfd "${FILESDIR}"/unbound.confd unbound |
115 |
- |
116 |
- systemd_dounit "${FILESDIR}"/unbound.service |
117 |
- systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service" |
118 |
- systemd_dounit "${FILESDIR}"/unbound-anchor.service |
119 |
- |
120 |
- dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} |
121 |
- |
122 |
- # bug #315519 |
123 |
- dodoc contrib/unbound_munin_ |
124 |
- |
125 |
- docinto selinux |
126 |
- dodoc contrib/selinux/* |
127 |
- |
128 |
- exeinto /usr/share/${PN} |
129 |
- doexe contrib/update-anchor.sh |
130 |
-} |