diff options
author | Sven Wegener <swegener@gentoo.org> | 2017-12-03 22:41:10 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2017-12-03 22:41:10 +0000 |
commit | 35bcdfdde75be76491c9e2c9e2b4263c0be411da (patch) | |
tree | a428c5cdfcf57f6e3f7cff18c95fc9bc50173175 /net-dns/pdns-recursor | |
parent | net-dns/pdns: Cleanup (diff) | |
download | gentoo-35bcdfdde75be76491c9e2c9e2b4263c0be411da.tar.gz gentoo-35bcdfdde75be76491c9e2c9e2b4263c0be411da.tar.bz2 gentoo-35bcdfdde75be76491c9e2c9e2b4263c0be411da.zip |
net-dns/pdns-recursor: Cleanup
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'net-dns/pdns-recursor')
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 1 | ||||
-rw-r--r-- | net-dns/pdns-recursor/files/CVE-2017-15090-4.0.6.patch | 15 | ||||
-rw-r--r-- | net-dns/pdns-recursor/files/CVE-2017-15092-4.0.6.patch | 85 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.0.6-r1.ebuild | 81 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.0.6.ebuild | 77 |
5 files changed, 0 insertions, 259 deletions
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index d508e86709aa..587e95d0995e 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1,3 +1,2 @@ -DIST pdns-recursor-4.0.6.tar.bz2 1105423 BLAKE2B 50cc52f118630d4d8ce9876c2e11494a3c972ec90003c40fea36801eb08bd8b6173f876e6f53eb672ad8ff3da04e669946740a50f653a21459f25c1137d91297 SHA512 2203fd96469deded1da677344485da221eec036b1ad9fb418a89cd4477d73f2a6fcf984a39b574561df6946f440ddf1982de20cd39d7204da9c27e74216d1159 DIST pdns-recursor-4.0.7.tar.bz2 1107546 BLAKE2B 3ccda73878599e3ade69e4dc6b0787e588a8403fb7cacfbe574409513b8723cbfd29a3c73d857120def801da60a4bedbc0f0c396e6642adb0287204cde301331 SHA512 0c8873adcce5ed9b41f161bc71635da23496b4ae48dbffff7dcdf9c5181e720f9aa94e18bd64e0dff9fa03eae8410dc93585a74d13f0c16d38b0d1c0f4146bb2 DIST pdns-recursor-4.1.0-rc3.tar.bz2 1191353 BLAKE2B fcbc6f08f962c9c2f459448770406734eff2caab43b615690e9d910b65327e45182aa2c9bcadadeaa6eb3984a8cb463849d5e001ffb98bb618966da5b8557a8a SHA512 141e3fcbf5e7c81ae0228fb7a15c599ef5ae41e2c2d169e2f7b4f57c6c832ac40d3e20302d219ba565c4a514b1297906684247a1a56cd740e3ea0bff4a7da51d diff --git a/net-dns/pdns-recursor/files/CVE-2017-15090-4.0.6.patch b/net-dns/pdns-recursor/files/CVE-2017-15090-4.0.6.patch deleted file mode 100644 index fa0bfd099abf..000000000000 --- a/net-dns/pdns-recursor/files/CVE-2017-15090-4.0.6.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -ru pdns-recursor-4.0.6.orig/validate-recursor.cc pdns-recursor-4.0.6/validate-recursor.cc ---- pdns-recursor-4.0.6.orig/validate-recursor.cc 2017-07-04 17:43:07.000000000 +0200 -+++ pdns-recursor-4.0.6/validate-recursor.cc 2017-11-02 18:29:16.612520450 +0100 -@@ -87,6 +87,11 @@ - bool first = true; - for(const auto& csp : cspmap) { - for(const auto& sig : csp.second.signatures) { -+ -+ if (!csp.first.first.isPartOf(sig->d_signer)) { -+ return increaseDNSSECStateCounter(Bogus); -+ } -+ - vState newState = getKeysFor(sro, sig->d_signer, keys); // XXX check validity here - - if (newState == Bogus) // No hope diff --git a/net-dns/pdns-recursor/files/CVE-2017-15092-4.0.6.patch b/net-dns/pdns-recursor/files/CVE-2017-15092-4.0.6.patch deleted file mode 100644 index 1425c33586c2..000000000000 --- a/net-dns/pdns-recursor/files/CVE-2017-15092-4.0.6.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff -ru pdns-recursor-4.0.6.orig/html/local.js pdns-recursor-4.0.6/html/local.js ---- pdns-recursor-4.0.6.orig/html/local.js 2017-07-04 17:43:07.000000000 +0200 -+++ pdns-recursor-4.0.6/html/local.js 2017-11-02 18:26:04.624586674 +0100 -@@ -63,7 +63,7 @@ - - $.getJSON(qstring, - function(data) { -- var bouw="<table><tr><th>Number</th><th>Domain</th><th>Type</th></tr>"; -+ var table = $('<table><tr><th>Number</th><th>Domain</th><th>Type</th></tr></table>'); - var num=0; - var total=0, rest=0; - $.each(data["entries"], function(a,b) { -@@ -75,12 +75,26 @@ - if(b[1].length > 25) - b[1]=b[1].substring(0,25); - -- bouw=bouw+("<tr><td>"+b[0]+"</td><td>"+b[1]+"</td><td>"+b[2]+"</td></tr>"); -- }); -- bouw+="<tr><td>"+rest+"</td><td>Rest</td></tr>"; -- bouw=bouw+"</table>"; -- $("#queryring").html(bouw); -- -+ var line = $('<tr />'); -+ var number = $('<td />'); -+ number.text(b[0]); -+ var domain = $('<td />'); -+ domain.text(b[1]); -+ var type = $('<td />'); -+ type.text(b[2]); -+ line.append(number); -+ line.append(domain); -+ line.append(type); -+ table.append(line); -+ }); -+ var line = $('<tr />'); -+ var number = $('<td />'); -+ number.text(rest); -+ var label = $('<td>Rest</td>'); -+ line.append(number); -+ line.append(label); -+ table.append(line); -+ $("#queryring").html(table); - }); - - filtered=$("#filter2").is(':checked') -@@ -91,7 +105,7 @@ - - $.getJSON(qstring, - function(data) { -- var bouw="<table><tr><th>Number</th><th>Servfail domain</th><th>Type</th></tr>"; -+ var table = $('<table><tr><th>Number</th><th>Servfail domain</th><th>Type</th></tr></table>'); - var num=0, total=0, rest=0; - $.each(data["entries"], function(a,b) { - total+=b[0]; -@@ -101,11 +115,26 @@ - } - if(b[1].length > 25) - b[1]=b[1].substring(0,25); -- bouw=bouw+("<tr><td>"+b[0]+"</td><td>"+b[1]+"</td><td>"+b[2]+"</td></tr>"); -+ var line = $('<tr />'); -+ var number = $('<td />'); -+ number.text(b[0]); -+ var domain = $('<td />'); -+ domain.text(b[1]); -+ var type = $('<td />'); -+ type.text(b[2]); -+ line.append(number); -+ line.append(domain); -+ line.append(type); -+ table.append(line); - }); -- bouw+="<tr><td>"+rest+"</td><td>Rest</td></tr>"; -- bouw=bouw+"</table>"; -- $("#servfailqueryring").html(bouw); -+ var line = $('<tr />'); -+ var number = $('<td />'); -+ number.text(rest); -+ var label = $('<td>Rest</td>'); -+ line.append(number); -+ line.append(label); -+ table.append(line); -+ $("#servfailqueryring").html(table); - - }); - diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.6-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.6-r1.ebuild deleted file mode 100644 index 30f31e4cc5bb..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-4.0.6-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs flag-o-matic eutils versionator - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="libressl lua luajit protobuf systemd" -REQUIRED_USE="?? ( lua luajit )" - -DEPEND="lua? ( >=dev-lang/lua-5.1:= ) - luajit? ( dev-lang/luajit:= ) - protobuf? ( - dev-libs/protobuf - >=dev-libs/boost-1.42:= - ) - systemd? ( sys-apps/systemd:0= ) - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:=" -RDEPEND="${DEPEND} - !<net-dns/pdns-2.9.20-r1" -DEPEND="${DEPEND} - virtual/pkgconfig" - -S="${WORKDIR}"/${P/_/-} - -PATCHES=( - "${FILESDIR}"/CVE-2017-{15090,15092,15093,15094}-4.0.6.patch -) - -pkg_setup() { - filter-flags -ftree-vectorize -} - -src_configure() { - econf \ - --sysconfdir=/etc/powerdns \ - $(use_enable systemd) \ - $(use_with lua) \ - $(use_with luajit) \ - $(use_with protobuf) -} - -src_install() { - default - - mv "${D}"/etc/powerdns/recursor.conf{-dist,} - - # set defaults: setuid=nobody, setgid=nobody - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ - -e 's/^# quiet=$/quiet=on/' \ - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ - "${D}"/etc/powerdns/recursor.conf - - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor - - keepdir /var/lib/powerdns -} - -pkg_postinst() { - local old - - for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 4.0.0-r1 - [[ $? -eq 1 ]] || continue - - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" - ewarn "to pdns-recursor, please update your runlevels accordingly." - - break - done -} diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.6.ebuild deleted file mode 100644 index 8ad027121b3c..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-4.0.6.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs flag-o-matic eutils versionator - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="libressl lua luajit protobuf systemd" -REQUIRED_USE="?? ( lua luajit )" - -DEPEND="lua? ( >=dev-lang/lua-5.1:= ) - luajit? ( dev-lang/luajit:= ) - protobuf? ( - dev-libs/protobuf - >=dev-libs/boost-1.42:= - ) - systemd? ( sys-apps/systemd:0= ) - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:=" -RDEPEND="${DEPEND} - !<net-dns/pdns-2.9.20-r1" -DEPEND="${DEPEND} - virtual/pkgconfig" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - filter-flags -ftree-vectorize -} - -src_configure() { - econf \ - --sysconfdir=/etc/powerdns \ - $(use_enable systemd) \ - $(use_with lua) \ - $(use_with luajit) \ - $(use_with protobuf) -} - -src_install() { - default - - mv "${D}"/etc/powerdns/recursor.conf{-dist,} - - # set defaults: setuid=nobody, setgid=nobody - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ - -e 's/^# quiet=$/quiet=on/' \ - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ - "${D}"/etc/powerdns/recursor.conf - - newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor - - keepdir /var/lib/powerdns -} - -pkg_postinst() { - local old - - for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 4.0.0-r1 - [[ $? -eq 1 ]] || continue - - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" - ewarn "to pdns-recursor, please update your runlevels accordingly." - - break - done -} |