commit: 9809bbac163bda76715617680a4a51df795c773b Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri Jan 16 10:21:30 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 19 06:36:24 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9809bbac
net-dns/knot: drop 3.4.8, 3.5.1 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45406 Signed-off-by: Sam James <sam <AT> gentoo.org> net-dns/knot/Manifest | 6 -- net-dns/knot/knot-3.4.8.ebuild | 230 --------------------------------------- net-dns/knot/knot-3.5.1.ebuild | 237 ----------------------------------------- 3 files changed, 473 deletions(-) diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index b374666d5db8..bc5e6515d20c 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -1,12 +1,6 @@ -DIST knot-3.4.8-manpages.tar.xz 37756 BLAKE2B 19eff0aa04988619f3950c3d983992558b25a7c24cc690b5c85b44a5839004e4b50db17008eb183e3bd5012856d6b9aa9dbad70ec57a707ba3333acdbebd00d3 SHA512 3fd1826a10cdb94690c1e457e6b12abc47b8338e0873fd6ca1e3d15f1e83e544da1db98e2d0ddb90e190d8e0ff878980a0da23537ff1af54c52cdbd2bdbd4a06 -DIST knot-3.4.8.tar.xz 1656224 BLAKE2B 493fb10965fc8ec037b2e89652f18b35e2f5f655423663fd88aa87385ff8d1333203914d64b87b2ad21f6ccee61e8c50a886b6b4bd04ad8597ed734002919d3e SHA512 62fb62e07c751bbc63759c0c74e3967b6a245bb0c76770e109b2c1bacf1580be98315ce3ecac8adfbdd37beab7b300a06078c44e57a1189def9efbc48b8d2c3e -DIST knot-3.4.8.tar.xz.asc 833 BLAKE2B 0bdcfd3a9ada6c9b09a418bd1686f30e08aadefcbafab786c3073f855c2f958ed3b7b563a7f6d1561d89735787b4e331fa4b37b93a2edc89a99c476cde628c6b SHA512 55900f6cd9963299066597da6eab2be61a9a8fb7acd562b24a6883466e132372b99fc9e9643aef39566d2eff5fec27850fed0d8b97ca8ea417626ef5c90481e1 DIST knot-3.4.9-manpages.tar.xz 38044 BLAKE2B 274e53e1eea937c653fba1df4c3de858428c1d791d547c815a4a23c20173cdca8dcb5b43f09c463a13d5dbaa7782c9cb7202cb779be1e7f75152be9bfaad3a06 SHA512 183739249acfc4152631eb2227497d5f366a557762268af2800f641c1562a7b7a9b4135bf20ae834168994215bc528962dd87752a86fd92cda3f0a4e00644cd2 DIST knot-3.4.9.tar.xz 1622872 BLAKE2B 8188c3230fda2991a59157ab3168a156b42943be092e097b9f415879cb33d1d93ac989b1148793ad8a6900889ab88c0e7f288b96f3b52531e8b5b9636cc57703 SHA512 295bf54a28c98019fdcc4eb4382b27083b4239993624fdaab505afe2d00ec35d5e6f480ad5987a33e95cd604c5fbdf05ac2552377c7e0c389bbb0de35c658045 DIST knot-3.4.9.tar.xz.asc 833 BLAKE2B e6104ac0c20f83f472f5b7fd9cb9c214f1708f4f451ef00022bf256774c43655314f0f749cc82797f11e2d048e598f2342b36e0b62fbe5b3c9cac9a7ef341c5e SHA512 6d5898c8c04b9e50453cc8787cae533988b069b1d2dbbbe3f99a970de090d0790460fd28b7c88e3b194e3341f915cb4cf299ad7b32adc79fdb84b3c0eecb1a62 -DIST knot-3.5.1-manpages.tar.xz 40092 BLAKE2B fe925acfa6e7a6e8e990e99beb6544c6aae3d0e8e0e72bad54a9b25b3ebd565630436244c3f6564e3f7723a7992f4886e5e69cbd6f3ac414134ec321c236bea3 SHA512 a7fe27becc8f19292eaf9ecf2f5aba79ddc5c1ea5defd1b7450f3a3aad51d478d27a3b8d9cca2701fda975e7441944a4d9d6d6092e506a2aaf59411896780061 -DIST knot-3.5.1.tar.xz 1676008 BLAKE2B aa6b9d173c7fc0ff7011691ac6178a8b24ae7482c9ccc87ee4b7cc1932d5fa678a367462098f2c2e28865aa5b37bc5ba1b787d8fc4d222cfd1aeb1da1452ebc8 SHA512 f4f42425fe20a0632489a6de642993515a7914b0392553dc8842e3ec2a4ab0c515dd3e11799c90a7f36e79d83fa92998aa6f03a5c6c527d1520c2cb6388fc9ba -DIST knot-3.5.1.tar.xz.asc 833 BLAKE2B 02f6fe62cdff94c8f274a203ff3873b0d10abc52c8fb2817325ebfcf56e16b048db46c63874894e2922db3a7db3ecfb25155f54c0958d2095054aff50aff555f SHA512 740528e26e999bf4c12cc2995838f8d1bf0aaac68d3bc823f45090ed5f498bb3cb294b4c07fa0056dd8b7033a7502f800cbdf608276fbf40c79d566035aca8d3 DIST knot-3.5.2-manpages.tar.xz 40252 BLAKE2B 5da3035fbded6d05fe7d25d80329e83e9375dad9d4da7e1d1c50873e2f704bea76839808a10e6e7b8d45f267dd5366410b1cb1f1616f95a404897ea59652bb73 SHA512 62e621b8cc06ad6edc8858c74d7ea4bfb6fb45c01c7f17765176bd9f7240a4724c1833a6a18fe10767ca87688bdcf0ba67c66e092bd0623278ccd53a4b1c6c89 DIST knot-3.5.2.tar.xz 1710680 BLAKE2B 215b09a91f2ba21f23f996df2a1e6ea187f362bfb6dc80d5cd1b45cd84ebf4ccb77f90ff567e91dab36f02aae1a776efcc0aea2a54b830eb85039d0b39ff803f SHA512 4dd8e42088f792459859da807427024ded926c2a8fb5b9fd4596b631a184269e3d84f0cd4be9192f2546977c598c418f8d44cabccbc393f9f7cf2f0dd5adc595 DIST knot-3.5.2.tar.xz.asc 833 BLAKE2B e5ba45566c403b2a7b477fdf940ce7d13d5ab8901f0e25b3232eaa3bd5a85114679750a1164bd304f872336b152210923c65e7577a7b4dd485250c89f97310ba SHA512 5f6ee7fedc0d5b904572d2f6d47858065cdc4efa7217b4e9dcbb38ae63a1533646ba2b042bb0c1fe533a3caf6ba41c81010616393d2a0adcea77712608931b38 diff --git a/net-dns/knot/knot-3.4.8.ebuild b/net-dns/knot/knot-3.4.8.ebuild deleted file mode 100644 index c1a996a9b293..000000000000 --- a/net-dns/knot/knot-3.4.8.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit autotools python-r1 flag-o-matic systemd tmpfiles verify-sig - -# subslot: libknot major.libdnssec major.libzscanner major -KNOT_SUBSLOT="15.9.4" - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" -SRC_URI=" - https://knot-dns.nic.cz/release/${P}.tar.xz - !doc? ( https://raw.githubusercontent.com/PPN-SD/gentoo-manpages/refs/tags/${P}/${P}-manpages.tar.xz ) - verify-sig? ( https://knot-dns.nic.cz/release/${P}.tar.xz.asc ) -" - -LICENSE="GPL-3+" -SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -# Modules without dep. Built unconditionally. -KNOT_MODULES=( - "authsignal" - "cookies" - "dnsproxy" - "noudp" - "onlinesign" - "queryacl" - "rrl" - "stats" - "synthrecord" - "whoami" -) - -KNOT_MODULES_OPT=( - "dnstap" - "geoip" -) - -IUSE="caps +daemon dbus doc doh +fastparser +idn pkcs11 prometheus python quic selinux systemd test +utils xdp ${KNOT_MODULES_OPT[@]}" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - prometheus? ( python ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMON_DEPEND=" - dev-libs/libedit - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) -" -RDEPEND=" - dev-db/lmdb:= - net-libs/gnutls:=[pkcs11?] - daemon? ( - ${COMMON_DEPEND} - acct-group/knot - acct-user/knot - dev-libs/userspace-rcu:= - caps? ( sys-libs/libcap-ng ) - dbus? ( sys-apps/dbus ) - geoip? ( dev-libs/libmaxminddb:= ) - systemd? ( sys-apps/systemd:= ) - ) - prometheus? ( - dev-python/prometheus-client[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) - python? ( ${PYTHON_DEPS} ) - quic? ( net-libs/ngtcp2[gnutls] ) - selinux? ( sec-policy/selinux-knot ) - utils? ( - ${COMMON_DEPEND} - doh? ( net-libs/nghttp2:= ) - idn? ( net-dns/libidn2:= ) - ) - xdp? ( - >=dev-libs/libbpf-1.0:= - net-libs/xdp-tools - utils? ( net-libs/libmnl:= ) - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - $(python_gen_any_dep ' - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-panels[${PYTHON_USEDEP}] - ') - ) - python? ( ${PYTHON_DEPS} ) - test? ( - pkcs11? ( dev-libs/softhsm ) - ) - verify-sig? ( sec-keys/openpgp-keys-knot ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.asc - -# Used to check cpuset_t in sched.h with NetBSD. -# False positive because linux have sched.h too but with cpu_set_t -QA_CONFIG_IMPL_DECL_SKIP=( cpuset_create cpuset_destroy ) - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \ - "dev-python/sphinx-panels[${PYTHON_USEDEP}]" -} - -pkg_setup() { - if use doc || use python; then - python_setup - fi -} - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - default -} - -src_prepare() { - default - # avoid the old ltmain.sh modified by upstream which causes a linking issue - # reproduced with test and musl - eautoreconf -} - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable caps cap_ng) - $(use_enable daemon) - # enable-dnstap defines support for kdig only - $(use_enable dnstap dnstap $(usex utils)) - $(use_enable doc documentation) - $(use_with doh libnghttp2) - $(use_enable fastparser) - $(use_enable geoip maxminddb) - $(use_with idn libidn) - $(use_enable quic) - $(use_enable systemd) - $(use_enable utils utilities) - $(use_enable xdp) - ) - # modules are only used by daemon - # module-dnstap defines support for knotd only - if use daemon; then - for u in "${KNOT_MODULES[@]}"; do - my_conf+=("--with-module-${u}") - done - for u in "${KNOT_MODULES_OPT[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - else - my_conf+=("--disable-modules") - fi - - if use !daemon; then - my_conf+=("--enable-dbus=no") - elif use dbus; then - my_conf+=("--enable-dbus=libdbus") - elif use !dbus && use !systemd; then - my_conf+=("--enable-dbus=no") - elif use !dbus && use systemd; then - my_conf+=("--enable-dbus=systemd") - fi - - if use riscv; then - append-libs -latomic - fi - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_install() { - if use doc; then - local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - else - doman "${WORKDIR}"/man/* - fi - - if use python; then - python_foreach_impl python_domodule python/libknot/libknot - newdoc python/libknot/README.md README.python.md - fi - - if use prometheus; then - python_foreach_impl python_domodule python/knot_exporter/knot_exporter - python_scriptinto /usr/sbin - python_foreach_impl python_newscript python/knot_exporter/knot_exporter/knot_exporter.py knot-exporter - newdoc python/knot_exporter/README.md README.knot_exporter.md - fi - - default - - if use daemon; then - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die - - newinitd "${FILESDIR}"/knot-3.init knot - newconfd "${FILESDIR}"/knot.confd knot - - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf - - use systemd && systemd_newunit distro/common/knot.service knot.service - fi - - find "${D}" -name '*.la' -delete || die - - keepdir /var/lib/knot -} - -pkg_postinst() { - use daemon && tmpfiles_process ${PN}.conf -} diff --git a/net-dns/knot/knot-3.5.1.ebuild b/net-dns/knot/knot-3.5.1.ebuild deleted file mode 100644 index 6999295e48f3..000000000000 --- a/net-dns/knot/knot-3.5.1.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -inherit autotools eapi9-ver python-r1 systemd tmpfiles verify-sig - -# subslot: libknot major.libdnssec major.libzscanner major -KNOT_SUBSLOT="16.10.5" - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" -SRC_URI=" - https://knot-dns.nic.cz/release/${P}.tar.xz - !doc? ( https://raw.githubusercontent.com/PPN-SD/gentoo-manpages/refs/tags/${P}/${P}-manpages.tar.xz ) - verify-sig? ( https://knot-dns.nic.cz/release/${P}.tar.xz.asc ) -" -LICENSE="GPL-2+" -SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -# Modules without dep. Built unconditionally. -KNOT_MODULES=( - "authsignal" - "cookies" - "dnsproxy" - "noudp" - "onlinesign" - "queryacl" - "rrl" - "stats" - "synthrecord" - "whoami" -) - -KNOT_MODULES_OPT=( - "dnstap" - "geoip" -) - -IUSE="caps +daemon dbus doc doh +fastparser +idn pkcs11 prometheus python quic redis selinux systemd test +utils xdp ${KNOT_MODULES_OPT[@]}" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - prometheus? ( python ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -COMMON_DEPEND=" - dev-libs/libedit - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) -" -RDEPEND=" - dev-db/lmdb:= - net-libs/gnutls:=[pkcs11?] - daemon? ( - ${COMMON_DEPEND} - acct-group/knot - acct-user/knot - dev-libs/userspace-rcu:= - caps? ( sys-libs/libcap-ng ) - dbus? ( sys-apps/dbus ) - geoip? ( dev-libs/libmaxminddb:= ) - redis? ( >=dev-libs/hiredis-1.1.0:= ) - systemd? ( sys-apps/systemd:= ) - ) - prometheus? ( - dev-python/prometheus-client[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) - python? ( ${PYTHON_DEPS} ) - quic? ( net-libs/ngtcp2[gnutls] ) - selinux? ( sec-policy/selinux-knot ) - utils? ( - ${COMMON_DEPEND} - doh? ( net-libs/nghttp2:= ) - idn? ( net-dns/libidn2:= ) - ) - xdp? ( - >=dev-libs/libbpf-1.0:= - net-libs/xdp-tools - utils? ( net-libs/libmnl:= ) - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( - $(python_gen_any_dep ' - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-panels[${PYTHON_USEDEP}] - ') - ) - python? ( ${PYTHON_DEPS} ) - test? ( - pkcs11? ( dev-libs/softhsm ) - ) - verify-sig? ( sec-keys/openpgp-keys-knot ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.asc - -# Used to check cpuset_t in sched.h with NetBSD. -# False positive because linux have sched.h too but with cpu_set_t -QA_CONFIG_IMPL_DECL_SKIP=( cpuset_create cpuset_destroy ) - -python_check_deps() { - use doc || return 0 - python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" \ - "dev-python/sphinx-panels[${PYTHON_USEDEP}]" -} - -pkg_setup() { - if use doc || use python; then - python_setup - fi -} - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - default -} - -src_prepare() { - default - # avoid the old ltmain.sh modified by upstream which causes a linking issue - # reproduced with test and musl - eautoreconf -} - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable caps cap_ng) - $(use_enable daemon) - # enable-dnstap defines support for kdig only - $(use_enable dnstap dnstap $(usex utils)) - $(use_enable doc documentation) - $(use_with doh libnghttp2) - $(use_enable fastparser) - $(use_enable geoip maxminddb) - $(use_with idn libidn) - $(use_enable quic) - $(use_enable redis redis $(usex daemon client)) - $(use_enable systemd) - $(use_enable utils utilities) - $(use_enable xdp) - ) - # modules are only used by daemon - # module-dnstap defines support for knotd only - if use daemon; then - for u in "${KNOT_MODULES[@]}"; do - my_conf+=("--with-module-${u}") - done - for u in "${KNOT_MODULES_OPT[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - else - my_conf+=( --disable-modules ) - fi - - if use !daemon; then - my_conf+=("--enable-dbus=no") - elif use dbus; then - my_conf+=("--enable-dbus=libdbus") - elif use !dbus && use !systemd; then - my_conf+=("--enable-dbus=no") - elif use !dbus && use systemd; then - my_conf+=("--enable-dbus=systemd") - fi - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_install() { - if use doc; then - local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - else - doman "${WORKDIR}"/man/* - fi - - if use python; then - python_foreach_impl python_domodule python/libknot/libknot - newdoc python/libknot/README.md README.python.md - fi - - if use prometheus; then - python_foreach_impl python_domodule python/knot_exporter/knot_exporter - python_scriptinto /usr/sbin - python_foreach_impl python_newscript python/knot_exporter/knot_exporter/knot_exporter.py knot-exporter - newdoc python/knot_exporter/README.md README.knot_exporter.md - fi - - default - - if use daemon; then - rm -r "${ED}"/var/run/ || die - - newinitd "${FILESDIR}"/knot-3.init knot - newconfd "${FILESDIR}"/knot.confd knot - - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf - - use systemd && systemd_newunit distro/common/knot.service knot.service - fi - - find "${D}" -name '*.la' -delete || die - - keepdir /var/lib/knot -} - -pkg_postinst() { - use daemon && tmpfiles_process ${PN}.conf - - if has_version net-dns/redis-knot || use redis; then - ewarn "To use redis, ${EPREFIX}/usr/$(get_libdir)/knot/redis/knot.so from net-dns/redis-knot" - ewarn "must be loaded by an instance of Redis." - fi - - if ver_replacing -lt 3.5; then - elog "See documentation for migration:" - elog "https://www.knot-dns.cz/docs/3.5/html/migration.html#upgrade-3-4-x-to-3-5-x" - fi -}
