net-dns/nsd: drop 4.14.2

Bug: https://bugs.gentoo.org/978031
Signed-off-by: Brett A C Sheffield <bacs@librecast.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1602
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Brett A C Sheffield
2026-08-01 15:25:22 +00:00
committed by Sam James
parent 975cd1cb2e
commit 90aba2ee5c
2 changed files with 0 additions and 192 deletions

View File

@@ -1,5 +1,3 @@
DIST nsd-4.14.2.tar.gz 1601116 BLAKE2B 2e71805ecc22549bdb6ddb8fcccb5ffaf241d0de9fe8fbdaa8b839473af413c3d0d794f458240d97a81a6b8db640f37c1c9dc0f7a59b90800bc2519c95100920 SHA512 deb7cae8ad5096d65aebdccf60165d44c0b33f6e4568f7f731c38c3d15fa6d4ea9e6edbadf9385784be0248ef8c60c972a0478560d366c11d1c8bf25db9b8002
DIST nsd-4.14.2.tar.gz.asc 659 BLAKE2B 6faeb85caba54eeaf531ec321d888a993d291932762b24bd7cc1fb18f8c5a7e6bec1aa2fd26b5d1dffe75046c30e2283668cd4163a5dbfe2b50a44a641ceae8b SHA512 7bdd5f69725a35b9f02b635d6696d09bb7d9e3906d664dd31f015e6caafa6fa63e5ca57b20eef929b888cdc12201028d0690224908b2a4a2114dab12f7057d46
DIST nsd-4.14.3.tar.gz 1617135 BLAKE2B d958a854433d25af6f05f9815fb27e6755871d489b7f800119b2ecbed575eb2067bc1d9cab0ae52ab51f71182bc1fb5c231c219943805f361c2b962487e32d42 SHA512 7acabc0e54eb24ca85578f406009f20721da0137f310eb78b3e3c88f66a4369edc2d15c513aa4c11939e4d8caf0cfb29ea6801ee085f34d1845afbbc14a35cc0
DIST nsd-4.14.3.tar.gz.asc 659 BLAKE2B c2ea88f6ada05e5f2a92dd11b94e69de7f7d1b3433fb38e3e3d110952ba73e78dcaa7a6da7c7a09dd0a14462afda3fda55460f72e53194f1ca35d9e4f45f11f2 SHA512 8604ad8e7f4b3a4fd2b8feefe27cd5ba3e18e661c4f163d61922aac285e2521429a035f4164b153ac9c657106168b14b2faba5fbb8c2d474f67685e894e6e923
DIST nsd-4.15.0.tar.gz 1623254 BLAKE2B fa40058211a8e384ceaa6ed2a096d3059aa1026a0af845b399c65af5167d1067046f5c002bcd2b9a18fe1a714050db5da16665cae8a20d84a7360317c3846b7e SHA512 8bf1ab1dcaf707ace0066aaebbbaf67c4a81b19c36d3534884de7a3b533e54ecc48334a272f039408b91a7ad80ce2e928d94f84b93ce802688581e55dec1ff44

View File

@@ -1,190 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nlnetlabs.asc
inherit autotools systemd tmpfiles toolchain-funcs verify-sig
DESCRIPTION="An authoritative only, high performance, open source name server"
HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd/about/"
if [[ ${PV} == *9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git"
else
# Version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
MY_PV="${PV/_beta/b}"
MY_PV="${MY_PV/_rc/rc}"
MY_P="${PN}-${MY_PV}"
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
SRC_URI="
https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz
verify-sig? ( https://www.nlnetlabs.nl/downloads/nsd/${MY_P}.tar.gz.asc )
"
S="${WORKDIR}"/${MY_P}
KEYWORDS="amd64 arm64 x86"
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-nlnetlabs-20260101 ) "
fi
fi
LICENSE="BSD"
SLOT="0"
IUSE="+bind8-stats debug +dnstap +ipv6 libevent memclean minimal-responses mmap munin"
IUSE+=" +nsec3 +radix-tree +ratelimit recvmmsg selinux +simdzone ssl systemd +tfo xdp verify-sig"
RDEPEND="
acct-group/nsd
acct-user/nsd
dnstap? (
>=dev-libs/fstrm-0.4
dev-libs/protobuf-c:=
)
libevent? ( dev-libs/libevent )
munin? ( net-analyzer/munin )
ssl? ( dev-libs/openssl:= )
systemd? ( sys-apps/systemd )
xdp? (
dev-libs/libbpf:=
net-libs/xdp-tools
sys-libs/libcap
)
"
DEPEND="${RDEPEND}"
BDEPEND+="
app-alternatives/lex
app-alternatives/yacc
systemd? ( virtual/pkgconfig )
xdp? ( llvm-core/clang:*[llvm_targets_BPF] )
"
RDEPEND+=" selinux? ( sec-policy/selinux-nsd )"
PATCHES=(
"${FILESDIR}/${PN}-munin-gentoo-paths.patch"
)
NSD_DBDIR="/var/db/nsd" # Default dir for NSD's databases.
NSD_ZNDIR="/var/lib/nsd" # Default dir for NSD's zone files.
QA_EXECSTACK="
usr/lib/nsd/xdp-*.o
"
src_prepare() {
default
if [[ ${PV} == *9999 ]] ; then
# When building from git, the configure script and simdzone sources are missing
# See README.md
git submodule update --init || die "Could't update submodules"
autoreconf -fi || die "autoreconf -fi failed"
else
# Required to get correct pkg-config macros with USE="systemd".
# See bugs #663618 & #758050.
eautoreconf
fi
}
src_configure() {
local myconf=(
--cache-file="${S}"/config.cache
$(use_enable bind8-stats)
$(use_enable bind8-stats zone-stats)
$(use_enable debug checking)
$(use_enable dnstap)
$(use_enable ipv6)
$(use_enable memclean)
$(use_enable minimal-responses)
$(use_enable mmap)
$(use_enable nsec3)
--disable-packed
$(use_enable radix-tree)
$(use_enable ratelimit)
$(use_enable recvmmsg)
$(use_enable systemd)
$(use_enable tfo tcp-fastopen)
$(use_enable xdp)
$(use_with libevent)
$(use_with ssl)
--with-cookiesecretsfile="${EPREFIX}${NSD_DBDIR}/cookiesecrets.txt"
--with-dbfile="${EPREFIX}${NSD_DBDIR}/nsd.db"
--with-dbdir="${EPREFIX}${NSD_DBDIR}"
--with-logfile="${EPREFIX}/var/log/nsd.log"
--with-pidfile="${EPREFIX}/run/nsd.pid"
# sharedfilesdir is used for xdp (bpf) objects
--with-sharedfilesdir="${EPREFIX}/usr/lib/nsd"
--with-xfrdfile="${EPREFIX}${NSD_DBDIR}/xfrd.state"
--with-xfrdir="${EPREFIX}${NSD_DBDIR}"
--with-zonelistfile="${EPREFIX}${NSD_DBDIR}/zone.list"
--with-zonesdir="${EPREFIX}${NSD_ZNDIR}"
)
# NSD 4.10.x introduced a new zone parser, "simdzone", which
# replaces the older parser that used flex & bison:
# https://github.com/NLnetLabs/simdzone
# It leverages SSE4.2 and/or AVX2 instruction sets for faster
# zone parsing on x86_64 architectures. Other CPU archs will
# use a fallback implementation.
if use amd64; then
myconf+=(
$(use_enable simdzone haswell)
$(use_enable simdzone westmere)
)
fi
# If the compiler indicates that time_t is at least 64-bits wide,
# then enable it in the package to support timestamps greater than
# the year 2038 (D_TIME_BITS=64). This configure switch only
# appears on glibc-based userlands.
if use elibc_glibc && tc-has-64bit-time_t; then
myconf+=( --enable-year2038 )
fi
econf "${myconf[@]}"
}
src_install() {
emake DESTDIR="${D}" install
dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
newinitd contrib/nsd.openrc nsd
newconfd contrib/nsd.openrc.conf nsd
newtmpfiles contrib/nsd-tmpfiles.conf nsd.conf
# Install munin plugin and config, if requested.
if use munin ; then
exeinto /usr/libexec/munin/plugins
doexe contrib/nsd_munin_
insinto /etc/munin/plugin-conf.d
newins "${FILESDIR}"/nsd.munin-conf nsd_munin
fi
# Use the upstream-provided systemd service file.
systemd_dounit contrib/nsd.service
# Remove the /run directory that usually resides on tmpfs and is
# being taken care of by the nsd init script anyway (checkpath).
rm -r "${ED}"/run || die "Failed to remove /run"
# BPF
dostrip -x /usr/lib/nsd
keepdir "${NSD_DBDIR}"
}
pkg_postinst() {
# See eclass/tmpfiles.eclass for info.
tmpfiles_process nsd.conf
# Database directory
# Writable by nsd:nsd for database updates and zone transfers.
install -d -m 750 -o nsd -g nsd "${EROOT}/${NSD_DBDIR}"
# Zones directory
# Writable by nsd:nsd for zone file updates (via 'nsd-control write').
install -d -m 750 -o nsd -g nsd "${EROOT}/${NSD_ZNDIR}"
}