mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 05:08:10 -07:00
net-dns/pdns-recursor: drop 4.9.0, 4.9.1
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
parent
bcb0b0a293
commit
052d91d7f5
@ -12,8 +12,6 @@ DIST itoa-1.0.9.crate 10492 BLAKE2B 0d5acef9ae72d3f4b5a387d231952e6025def69da81d
|
||||
DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385
|
||||
DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc988154669eb196afca19fe39ffe63627ee705c4ee3cf9cca9628d0bb8fc4cdeb7ef52b41bab810d12721a6ad53d9557ee SHA512 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170
|
||||
DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8
|
||||
DIST pdns-recursor-4.9.0.tar.bz2 1551436 BLAKE2B 6e0dbaa6c666599b1d4246c544d8933d9b476b55f946c8a9d67c5983e3f2745947e3a225bd198d11566dd97a45e47022bba56f53a1a1b9b70b71b80656118f04 SHA512 c9694fe7c852441d55c9e89e7d212e7d5a3a4e81742adc5240f673f9bc91205a36a6071e5992baec078806e8ae73f390dfc0b5ed795365a35040284372f8e6ad
|
||||
DIST pdns-recursor-4.9.1.tar.bz2 1566613 BLAKE2B c5c8cc577739411b0106bf2ca26e4bca708b70c9294ac5f57086d64290a3d106dd001d06e42365efb4d448f130ce50406e5fd47a83f79c8f18236c4dbf0eff4f SHA512 f342699fad0cee9dadc6d59edb5770d1f81bac5a4cb3cf7fef0e1f15ae65ff504e95f0e9de91c36cdef40f6ab2c6a27aebdb377e1f043c4f03b82da7cbd9051b
|
||||
DIST pdns-recursor-4.9.2.tar.bz2 1562694 BLAKE2B 21d5fc0645c9cac65ec71c4e11d285b5d166d688e650911854417bf8f92bd7948a9b1f71767689ea2fe370e7bfd96ba0987e31fb28d528a09cb3711ef3aedf33 SHA512 ee2dac5d256c9f4a9155fe6885522c5413482f0fd179099e956db2abbf4510fc6696fc1ac93bb4af341ebb2f052350637524267aa21fe6a0e92194e9219d1d45
|
||||
DIST pdns-recursor-5.0.1.tar.bz2 1658747 BLAKE2B ef25dc093ac97b92022bbcfcb0d1a5b4f1f6be13b410db7255a80708b00e1374707f45ff553bd0a1b53f8c6cd910b96d0367b1bc46f8cbe33a251df5990992dd SHA512 f7e3be53f751f1b92e0a7b1beed8385b74447b42ec024a6f78002e87eaece62d3a63a6a2df0574921a861af1ec7e5eb22611f5a0d6604616c41e9fd9f695b723
|
||||
DIST proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1
|
||||
|
||||
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit flag-o-matic lua-single
|
||||
|
||||
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="debug dnstap snmp sodium systemd test valgrind"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${LUA_DEPS}
|
||||
dnstap? ( dev-libs/fstrm )
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
sodium? ( dev-libs/libsodium:= )
|
||||
elibc_glibc? (
|
||||
arm? ( >=sys-libs/glibc-2.34 )
|
||||
x86? ( >=sys-libs/glibc-2.34 )
|
||||
)
|
||||
dev-libs/openssl:=
|
||||
dev-libs/boost:=[context]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-dns/pdns-2.9.20-r1
|
||||
acct-user/pdns
|
||||
acct-group/pdns"
|
||||
DEPEND="${DEPEND}
|
||||
valgrind? ( dev-debug/valgrind )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/_/-}
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
filter-flags -ftree-vectorize
|
||||
append-lfs-flags
|
||||
append-cppflags -D_TIME_BITS=64
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir=/etc/powerdns \
|
||||
--with-nod-cache-dir=/var/lib/powerdns \
|
||||
--with-service-user=pdns \
|
||||
--with-service-group=pdns \
|
||||
--with-lua="${ELUA}" \
|
||||
$(use_enable debug verbose-logging) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable dnstap dnstap) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable valgrind) \
|
||||
$(use_with sodium libsodium) \
|
||||
$(use_with snmp net-snmp)
|
||||
}
|
||||
|
||||
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=pdns/' \
|
||||
-e 's/^# quiet=$/quiet=on/' \
|
||||
-e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
|
||||
"${D}"/etc/powerdns/recursor.conf
|
||||
|
||||
newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local old
|
||||
|
||||
for old in ${REPLACING_VERSIONS}; do
|
||||
ver_test ${old} -lt 4.0.0-r1 || 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
|
||||
}
|
||||
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit flag-o-matic lua-single
|
||||
|
||||
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="debug dnstap snmp sodium systemd test valgrind"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${LUA_DEPS}
|
||||
dnstap? ( dev-libs/fstrm )
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
sodium? ( dev-libs/libsodium:= )
|
||||
elibc_glibc? (
|
||||
arm? ( >=sys-libs/glibc-2.34 )
|
||||
x86? ( >=sys-libs/glibc-2.34 )
|
||||
)
|
||||
dev-libs/openssl:=
|
||||
dev-libs/boost:=[context]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-dns/pdns-2.9.20-r1
|
||||
acct-user/pdns
|
||||
acct-group/pdns"
|
||||
DEPEND="${DEPEND}
|
||||
valgrind? ( dev-debug/valgrind )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/_/-}
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
filter-flags -ftree-vectorize
|
||||
append-lfs-flags
|
||||
append-cppflags -D_TIME_BITS=64
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir=/etc/powerdns \
|
||||
--with-nod-cache-dir=/var/lib/powerdns \
|
||||
--with-service-user=pdns \
|
||||
--with-service-group=pdns \
|
||||
--with-lua="${ELUA}" \
|
||||
$(use_enable debug verbose-logging) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable dnstap dnstap) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable valgrind) \
|
||||
$(use_with sodium libsodium) \
|
||||
$(use_with snmp net-snmp)
|
||||
}
|
||||
|
||||
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=pdns/' \
|
||||
-e 's/^# quiet=$/quiet=on/' \
|
||||
-e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
|
||||
"${D}"/etc/powerdns/recursor.conf
|
||||
|
||||
newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local old
|
||||
|
||||
for old in ${REPLACING_VERSIONS}; do
|
||||
ver_test ${old} -lt 4.0.0-r1 || 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user