mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
net-dns/pdns-recursor: drop 5.3.9
Bug: https://bugs.gentoo.org/980417 Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
@@ -71,7 +71,6 @@ DIST object-0.36.7.crate 329938 BLAKE2B 0b02cf2f44e99002909b38125edada1a259feae5
|
||||
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.10.tar.xz 1372072 BLAKE2B 0342848244693dc67ea5c45ef57bd0ee84e6d878abc3bffe7fa77f4922d458ced95fc8fdfb816a765d79492ee1e1ba9d3388fbdbf9a5410f2be7c442cd7e2d37 SHA512 c17618c0965b049c0c0e96838ce5772391964e819e07800d17ad184e46bb3eade8aad35efa1de58f59ca0e04cbbc8028319f41bfe4103e4b1acb3f57cf035cd3
|
||||
DIST pdns-recursor-5.3.9.tar.xz 1371556 BLAKE2B 33701bec4292430a13b89cf55c24576f2a087083602a54063ac1d74c760e6052fa0d516a2871b4465ade82030a1da8682491f41fc9e73659d542143d058e0b86 SHA512 13a340d2179de5fb445cd4e4e334249c9e9e19429379fffc6561ceec3a018b6e4090c9d91717f33d8cc74c8f41d34b0cf3c13e5db42437f42dae7ccb513c0424
|
||||
DIST pdns-recursor-5.4.5.tar.xz 1396556 BLAKE2B 940ef12ba561530cbb74cda7e8050ea7d6974ffbf90783ce61628af54618abf888894b62db3fad37eee1047dacc26b803118ad730d9950445e86b2f43f5fb008 SHA512 83add4958131c1a4caaf5203eb8c0718f0b41c22194a49a699bf591d2f46a42891f03202be4f6a560dc8b35d79ef6a9e22fa1575cc3554b166c25523bbbdc8c4
|
||||
DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7fe6f468a53482eb2db7f93dfdaab64ac812b3664899db260055a93449462e6d219c695942fc5b030517b197b4df9b95f SHA512 5951ea8315e52cf3acfbaa023cb9e13a136b114c54a7da0bd44619ae24cd2159d4a96469d7572a2fdabd94e19513a033387117d7ca81d0eb409fb383e4acda44
|
||||
DIST percent-encoding-2.3.2.crate 11583 BLAKE2B 58925243b23a6a1decc3d92c4ce17d06af5206844ad283b49e69e523ac0db2c36c3f4407af4104ab92c029c2581c228bdf416a054a2531191a9e912448ba4408 SHA512 495b4aac88a7a46420811671d6bd82817e4eb2fe51d5068d11c5b50d0d927895d54c855cb07d4f4ad5a2d42b22f9419ad0183c14781dbfa240804fd49761035a
|
||||
|
||||
@@ -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