mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/pdns-recursor: Remove vulnerable
Gentoo-Bug: #531992 Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST pdns-recursor-3.5.3.tar.bz2 176298 SHA256 192c0b47a1cfcdccaa88d70fd33766a4c381f4223f966416f15e169df5d58eaa SHA512 2cfc1706cd1a4a06cae89e4f20da8458629fd9a2c4be6c30037f7162cb1dc91e98a22e602d890a9da09c7d495fb0c61855ae937e39a75ef99e08a095f7062312 WHIRLPOOL eeb888b317b04be86c16c47d48064820b31718074a8e1d0d4e7b7744c9ac3e2b600fde53122ef19f3f144186370474a2a50b2c38772be2af2ce6baa6d6d01194
|
||||
DIST pdns-recursor-3.6.1.tar.bz2 196460 SHA256 e57bad320d67d08604fc6f6b7e49b5553cfb5baf3460a3e06d53ba2f7d8de396 SHA512 cd878ed28345129bb0aca2c15a238ea5a0b5fe94e9aae1d0ae023a9a66ec4abae3667aa82e3950e46e9cdde8168878aaaeb759bb247de1841b5cff471ffb347a WHIRLPOOL c645e1cb269ad551d8a4c7f2b413e361898f1ac5561fa2ddf9a627edfe961fce8b1b84a09ea4a82a4a4f67a8f1d5fdce226a08ebacb28adf57ebbe8c1a13d3a5
|
||||
DIST pdns-recursor-3.6.2.tar.bz2 200313 SHA256 d9abf5bb5982cee1c3ba6eaa684d2777b7c0d3f038e201dd4e7362b4652750a4 SHA512 1476ccdb84c20dcb116b7e1d808b1cf2745acca78cd3b72a6985f19429d40af658a1ae85e8d5bc31c36c9858f76f5536b1f335e7dbfad5988db410a7931aa209 WHIRLPOOL c8fb1a861276f6e18d4288f78d119e7731caaec31b040919c9b6fcc93d53b05c5c7cb75cf2aedb4c3c975f822d6a33bb12d57a1402d88dab51459906c147e319
|
||||
DIST pdns-recursor-3.6.3.tar.bz2 200302 SHA256 6fc28c953b24710349e288bb1338d483e55ac299dcc801c62d831a66cc2aea5e SHA512 4e15061f3776063e30f4098d655dcc8e55864976c8256d38218c8554ac7c58d820f2575f56a4c8e9559c446412fbb53c74f1cfb04b6c06bbd0d4228b459f1ce0 WHIRLPOOL a51b50f44e073eb66a08216851b2a4845df16dfc73bbbde1fe1a5cf305f02afe8a0a12b5296cda27ca0b64db12177c774eea2e3731997a3c5745580552ceed55
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="The PowerDNS Recursor"
|
||||
HOMEPAGE="http://www.powerdns.com/"
|
||||
SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="lua"
|
||||
|
||||
DEPEND="lua? ( >=dev-lang/lua-5.1 )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-dns/pdns-2.9.20-r1"
|
||||
DEPEND="${DEPEND}
|
||||
>=dev-libs/boost-1.33.1"
|
||||
|
||||
pkg_setup() {
|
||||
filter-flags -ftree-vectorize
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.1.7.2-error-message.patch \
|
||||
"${FILESDIR}"/${P}-fdlimit.patch
|
||||
|
||||
sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
OPTFLAGS="" \
|
||||
LUA_LIBS_CONFIG="-llua" \
|
||||
LUA_CPPFLAGS_CONFIG="" \
|
||||
LUA="$(use lua && echo 1)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin pdns_recursor rec_control
|
||||
doman pdns_recursor.1 rec_control.1
|
||||
|
||||
insinto /etc/powerdns
|
||||
doins "${FILESDIR}"/recursor.conf
|
||||
|
||||
doinitd "${FILESDIR}"/precursor
|
||||
|
||||
# Pretty ugly, uh?
|
||||
dodir /var/lib/powerdns/var/lib
|
||||
dosym ../.. /var/lib/powerdns/var/lib/powerdns
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="The PowerDNS Recursor"
|
||||
HOMEPAGE="http://www.powerdns.com/"
|
||||
SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="lua"
|
||||
|
||||
DEPEND="lua? ( >=dev-lang/lua-5.1 )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-dns/pdns-2.9.20-r1"
|
||||
DEPEND="${DEPEND}
|
||||
>=dev-libs/boost-1.33.1"
|
||||
|
||||
pkg_setup() {
|
||||
filter-flags -ftree-vectorize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
true
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
LOCALSTATEDIR=/var/lib/powerdns \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
OPTFLAGS="" \
|
||||
LUA_LIBS_CONFIG="-llua" \
|
||||
LUA_CPPFLAGS_CONFIG="" \
|
||||
LUA="$(use lua && echo 1)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin pdns_recursor rec_control
|
||||
doman pdns_recursor.1 rec_control.1
|
||||
|
||||
insinto /etc/powerdns
|
||||
doins "${FILESDIR}"/recursor.conf
|
||||
|
||||
doinitd "${FILESDIR}"/precursor
|
||||
|
||||
# Pretty ugly, uh?
|
||||
dodir /var/lib/powerdns/var/lib
|
||||
dosym ../.. /var/lib/powerdns/var/lib/powerdns
|
||||
}
|
||||
Reference in New Issue
Block a user