mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/pdns-recursor: drop 5.3.6
Bug: https://bugs.gentoo.org/978054 Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
@@ -70,7 +70,6 @@ DIST mio-1.1.1.crate 105630 BLAKE2B db279c3e46108375f5391a5ebc3ae07e8ccbcc9f6a71
|
||||
DIST object-0.36.7.crate 329938 BLAKE2B 0b02cf2f44e99002909b38125edada1a259feae59fd0e5ef52001755b6878cac710c87c60fbafdbe405281e039f68572ea3d8093d16128899090fd70df7f2fa8 SHA512 dd69172349ecf51fd2351d32cc4453760ca1d15e854a1cf5ed99112032901a54b4645b24163b946deed11f81d3e3035e1a5afd8bff20f335dbd05eceab073478
|
||||
DIST once_cell-1.20.2.crate 33394 BLAKE2B 79dd394fcf1637adfef28b4159ec653c8b71d2bda0e0e36a940c04e3d87698f039dc30c97f26648ecf0d9742962f1f0a117568f7c705a8a3fc167085b0ca3e80 SHA512 bc6005bdab7a154c01e2203fb553a68695727475a9a882cf906d49c054ce886ad92cb491d380b6b9fe71a81b2fd690ce91c9a6cf8dfa8508470ac9acfc8a31c8
|
||||
DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990
|
||||
DIST pdns-recursor-5.3.6.tar.xz 1369856 BLAKE2B b760eb6c8f8099f5baa6c6f8b6aff3122f8077db11230b4a12352aa4c811e0ce42fc172384b06a289028c0a796b9a75323407d6ccedbcbd27469008c7cf38154 SHA512 1f53b47c18a940fe85d3693e26e323f39b323a97372bd2fb479d89e3a54e2720536c0369a1c5315198d78ea0868dde1d1ce47b6108a09c27ca0ec2372fc64eb8
|
||||
DIST pdns-recursor-5.3.8.tar.xz 1370448 BLAKE2B 193f8d649128e0c0dcabb3687bed0e78f3440867478ef8a08cd37a5efbfa6ce1382eae2abadde3f909d21aef834ad6a41e68f81bb79904dd7bdaabc2d344b592 SHA512 ab249316c087805786567396558f7f0b26b922204670dcb55686d68f17cd9132026964a1244a27c4b53298c74e5a0013519bd06f66cc5f3392f4b836171c7130
|
||||
DIST pdns-recursor-5.4.3.tar.xz 1394600 BLAKE2B de971a46981d2f4d4f65512f651ce2c8a40b2dc38c7781e113959ebf594ec58e0842674667f16a9e06abf66d8b47b44883780e68a111dbb7588b5cf2f5c8d69b SHA512 8b51a693bcf57efa66e57b077a61efda4449d5a69f56ab1045929a7a8982c20dc15b36a09229986e0e12c81642196877534d57eb1c3d4b07e9cdb4639bf8b42b
|
||||
DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7fe6f468a53482eb2db7f93dfdaab64ac812b3664899db260055a93449462e6d219c695942fc5b030517b197b4df9b95f SHA512 5951ea8315e52cf3acfbaa023cb9e13a136b114c54a7da0bd44619ae24cd2159d4a96469d7572a2fdabd94e19513a033387117d7ca81d0eb409fb383e4acda44
|
||||
|
||||
@@ -1,193 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
RUST_MIN_VER="1.82"
|
||||
CRATES="
|
||||
addr2line@0.24.2
|
||||
adler2@2.0.0
|
||||
anstyle@1.0.10
|
||||
backtrace@0.3.74
|
||||
base64@0.22.1
|
||||
bytes@1.11.1
|
||||
cc@1.2.11
|
||||
cfg-if@1.0.0
|
||||
clap@4.5.27
|
||||
clap_builder@4.5.27
|
||||
clap_lex@0.7.4
|
||||
codespan-reporting@0.13.1
|
||||
cxx@1.0.192
|
||||
cxx-build@1.0.192
|
||||
cxxbridge-cmd@1.0.192
|
||||
cxxbridge-flags@1.0.192
|
||||
cxxbridge-macro@1.0.192
|
||||
equivalent@1.0.1
|
||||
fnv@1.0.7
|
||||
foldhash@0.2.0
|
||||
form_urlencoded@1.2.1
|
||||
futures-channel@0.3.31
|
||||
futures-core@0.3.31
|
||||
futures-task@0.3.31
|
||||
futures-util@0.3.31
|
||||
getrandom@0.2.15
|
||||
gimli@0.31.1
|
||||
hashbrown@0.16.1
|
||||
http@1.2.0
|
||||
http-body@1.0.1
|
||||
http-body-util@0.1.2
|
||||
httparse@1.10.0
|
||||
httpdate@1.0.3
|
||||
hyper@1.6.0
|
||||
hyper-rustls@0.27.5
|
||||
hyper-util@0.1.10
|
||||
indexmap@2.12.1
|
||||
ipnet@2.11.0
|
||||
itoa@1.0.14
|
||||
libc@0.2.169
|
||||
link-cplusplus@1.0.12
|
||||
memchr@2.7.4
|
||||
miniz_oxide@0.8.3
|
||||
mio@1.0.3
|
||||
object@0.36.7
|
||||
once_cell@1.20.2
|
||||
percent-encoding@2.3.1
|
||||
pin-project-lite@0.2.16
|
||||
pin-utils@0.1.0
|
||||
proc-macro2@1.0.93
|
||||
quote@1.0.38
|
||||
ring@0.17.13
|
||||
rustc-demangle@0.1.24
|
||||
rustls@0.23.22
|
||||
rustls-pemfile@2.2.0
|
||||
rustls-pki-types@1.11.0
|
||||
rustls-webpki@0.102.8
|
||||
ryu@1.0.19
|
||||
scratch@1.0.7
|
||||
serde@1.0.217
|
||||
serde_derive@1.0.217
|
||||
serde_yaml@0.9.34+deprecated
|
||||
shlex@1.3.0
|
||||
smallvec@1.13.2
|
||||
socket2@0.5.8
|
||||
strsim@0.11.1
|
||||
subtle@2.6.1
|
||||
syn@2.0.98
|
||||
termcolor@1.4.1
|
||||
tokio@1.43.1
|
||||
tokio-rustls@0.26.1
|
||||
tower-service@0.3.3
|
||||
tracing@0.1.41
|
||||
tracing-core@0.1.33
|
||||
try-lock@0.2.5
|
||||
unicode-ident@1.0.16
|
||||
unicode-width@0.1.14
|
||||
unsafe-libyaml@0.2.11
|
||||
untrusted@0.9.0
|
||||
want@0.3.1
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
winapi-util@0.1.9
|
||||
windows-sys@0.52.0
|
||||
windows-sys@0.59.0
|
||||
windows-targets@0.52.6
|
||||
windows_aarch64_gnullvm@0.52.6
|
||||
windows_aarch64_msvc@0.52.6
|
||||
windows_i686_gnu@0.52.6
|
||||
windows_i686_gnullvm@0.52.6
|
||||
windows_i686_msvc@0.52.6
|
||||
windows_x86_64_gnu@0.52.6
|
||||
windows_x86_64_gnullvm@0.52.6
|
||||
windows_x86_64_msvc@0.52.6
|
||||
zeroize@1.8.1
|
||||
"
|
||||
|
||||
inherit cargo flag-o-matic lua-single
|
||||
|
||||
DESCRIPTION="The PowerDNS Recursor"
|
||||
HOMEPAGE="https://www.powerdns.com/"
|
||||
SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.xz ${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE="debug dns-over-tls 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-1.54:=[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
|
||||
filter-lto
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-experimental-64bit-time_t-support-on-glibc \
|
||||
--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 dns-over-tls) \
|
||||
$(use_enable dnstap dnstap) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable valgrind) \
|
||||
$(use_with sodium libsodium) \
|
||||
$(use_with snmp net-snmp)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# rename .yml to .conf to facilitate easy upgrade and switch to .yml
|
||||
mv "${D}"/etc/powerdns/recursor.{yml-dist,conf} || die
|
||||
|
||||
sed -i \
|
||||
-e 's/^# set\([ug]\)id: '\'\''$/ set\1id: '\''pdns'\''/' \
|
||||
-e 's/^# chroot: '\'\''$/ chroot: '\''\/var\/lib\/powerdns'\''/' \
|
||||
"${D}"/etc/powerdns/recursor.conf || die
|
||||
|
||||
newinitd "${FILESDIR}"/pdns-recursor-r3 pdns-recursor
|
||||
|
||||
keepdir /var/lib/powerdns
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Starting with 5.1.x we default to using the new yaml configuration file format."
|
||||
einfo "The old configuration file format is still supported for now, but please update"
|
||||
einfo "your recursor.conf to yaml using 'rec_control show-yaml'."
|
||||
}
|
||||
Reference in New Issue
Block a user