1 |
commit: e40b9b455b925425198ed2d250fc997b3bc56b94 |
2 |
Author: bgo <bgo <AT> 9dt <DOT> de> |
3 |
AuthorDate: Sat Sep 2 16:43:53 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 09:51:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40b9b45 |
7 |
|
8 |
net-dns/dnsdist: remove vulnerable version. |
9 |
|
10 |
CVE-2016-7069 |
11 |
CVE-2017-7557 |
12 |
|
13 |
Bug: https://bugs.gentoo.org/628534 |
14 |
Bug: https://bugs.gentoo.org/628578 |
15 |
|
16 |
Closes: https://github.com/gentoo/gentoo/pull/5596 |
17 |
|
18 |
net-dns/dnsdist/dnsdist-1.1.0-r1.ebuild | 84 --------------------------------- |
19 |
1 file changed, 84 deletions(-) |
20 |
|
21 |
diff --git a/net-dns/dnsdist/dnsdist-1.1.0-r1.ebuild b/net-dns/dnsdist/dnsdist-1.1.0-r1.ebuild |
22 |
deleted file mode 100644 |
23 |
index 765c8a19663..00000000000 |
24 |
--- a/net-dns/dnsdist/dnsdist-1.1.0-r1.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,84 +0,0 @@ |
27 |
-# Copyright 1999-2017 Gentoo Foundation |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
- |
30 |
-EAPI=6 |
31 |
- |
32 |
-EGIT_REPO_URI="https://github.com/PowerDNS/pdns.git" |
33 |
- |
34 |
-if [[ ${PV} = 9999 ]]; then |
35 |
- ADDITIONAL_ECLASSES="autotools git-r3" |
36 |
-fi |
37 |
- |
38 |
-inherit eutils flag-o-matic user ${ADDITIONAL_ECLASSES} |
39 |
- |
40 |
-DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" |
41 |
-HOMEPAGE="http://dnsdist.org" |
42 |
- |
43 |
-if [[ ${PV} == 9999 ]]; then |
44 |
- SRC_URI="" |
45 |
- S="${WORKDIR}/${P}/pdns/dnsdistdist" |
46 |
-else |
47 |
- SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" |
48 |
- KEYWORDS="~amd64 ~x86" |
49 |
-fi |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-IUSE="dnscrypt luajit regex remote-logging +ssl test" |
54 |
-REQUIRED_USE="dnscrypt? ( ssl )" |
55 |
- |
56 |
-DEPEND=" |
57 |
- >=dev-libs/boost-1.35:= |
58 |
- dev-libs/libedit:= |
59 |
- luajit? ( dev-lang/luajit:= ) |
60 |
- !luajit? ( >=dev-lang/lua-5.1:= ) |
61 |
- remote-logging? ( dev-libs/protobuf:= ) |
62 |
- regex? ( dev-libs/re2:= ) |
63 |
- ssl? ( dev-libs/libsodium:= ) |
64 |
-" |
65 |
- |
66 |
-RDEPEND="${DEPEND}" |
67 |
- |
68 |
-[[ ${PV} == 9999 ]] && DEPEND+=" |
69 |
- app-text/pandoc |
70 |
- dev-util/ragel |
71 |
-" |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- [[ ${PV} == 9999 ]] && eautoreconf |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- econf \ |
80 |
- --sysconfdir=/etc/dnsdist \ |
81 |
- $(use_enable ssl libsodium) \ |
82 |
- $(use_with remote-logging protobuf) \ |
83 |
- $(use_enable regex re2) \ |
84 |
- $(use_enable dnscrypt) \ |
85 |
- $(use_with luajit) \ |
86 |
- $(use_enable test unit-tests) |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- default |
91 |
- |
92 |
- insinto /etc/dnsdist |
93 |
- doins "${FILESDIR}"/dnsdist.conf.example |
94 |
- |
95 |
- newconfd "${FILESDIR}"/dnsdist.confd ${PN} |
96 |
- newinitd "${FILESDIR}"/dnsdist.initd ${PN} |
97 |
-} |
98 |
- |
99 |
-pkg_preinst() { |
100 |
- enewgroup dnsdist |
101 |
- enewuser dnsdist -1 -1 -1 dnsdist |
102 |
-} |
103 |
- |
104 |
-pkg_postinst() { |
105 |
- elog "dnsdist provides multiple instances support. You can create more instances" |
106 |
- elog "by symlinking the dnsdist init script to another name." |
107 |
- elog |
108 |
- elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" |
109 |
- elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." |
110 |
-} |