commit:     f94aa3d33429bf55f0e948af14b719d160e8b2af
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 08:35:28 2023 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 08:35:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94aa3d3

net-dns/knot-resolver: drop vulnerable 5.6.0, 5.6.0-r1, 5.6.0-r2

Bug: https://bugs.gentoo.org/918587
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 net-dns/knot-resolver/Manifest                     |  2 -
 net-dns/knot-resolver/files/kresd.confd            |  5 --
 net-dns/knot-resolver/files/kresd.initd            | 23 ------
 .../knot-resolver/knot-resolver-5.6.0-r1.ebuild    | 96 ----------------------
 .../knot-resolver/knot-resolver-5.6.0-r2.ebuild    | 96 ----------------------
 net-dns/knot-resolver/knot-resolver-5.6.0.ebuild   | 93 ---------------------
 6 files changed, 315 deletions(-)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index 85106ad91e9d..1dce09d66a1b 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,4 +1,2 @@
-DIST knot-resolver-5.6.0.tar.xz 1923196 BLAKE2B 
8d1595e29ca5a3d597f15eda799a1e4e91bcd992c25f442f7b9247b4facec21fb41a89c4db3b2efcd8b8384d9463965ea16c617950fb408685ee6d565686d4e2
 SHA512 
efa978a8885e9aa6459bad8016e872ded5923d6c4367bb9586764ebfbad903923583ede9cab6339107d32450bf0846a40b8ab72ba7011d57827a86d822b95840
-DIST knot-resolver-5.6.0.tar.xz.asc 833 BLAKE2B 
0a5ea3a5458be6a9b8a6cb34e3862119a53841b98148cc543046d745e14cfb49952bf2dbece6cfb3ed302affbcc6dce1911fc8900c0f4cb0acf22698d8b2257c
 SHA512 
1c3ebe636b8295b31fffe08bd1ffade9d6c83a0584ef5cf84cb9f3951260b2e77272c4524789f244cd209381c7adb8c2e4b140e2fae616927a7d037cb187b165
 DIST knot-resolver-5.7.0.tar.xz 1926196 BLAKE2B 
8debd339b12781374721b4800957d4a30ed1e3455110babbab4ad9cac7b72eabe3436fe42c97a6c898d6ac48644102ac8afcbbaca435d8fc7c54fd7bd21c2457
 SHA512 
38095b94ef341717ba99f1dd354fe184acdce05cb234ff685d2ff84992d8cba6ca1b8b3623998dfd3ffe9d728282963c6973c30996b836060c75e1d2ac3ee544
 DIST knot-resolver-5.7.0.tar.xz.asc 833 BLAKE2B 
1a8384c1db6101ab52db3b7472f6d0022e7046b0544cfc272807376391994c7d57f53a1def2be68cc86a587997bc64d8bddcfbda07969b5ae8573a9396394619
 SHA512 
a0403af705ac39d80ec0a3a608e0210f50bc647c078a8dc74a3c814b6c3541a777a2c83ce11c448a10ac9bfa8f96b38537c5a54c2d4cd15ba3ee402793eb92a4

diff --git a/net-dns/knot-resolver/files/kresd.confd 
b/net-dns/knot-resolver/files/kresd.confd
deleted file mode 100644
index 6749da309845..000000000000
--- a/net-dns/knot-resolver/files/kresd.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2023 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-KRESD_OPTS="-n /var/run/kresd"
-
-#KRESD_PIDFILE="/var/run/kresd.pid"
\ No newline at end of file

diff --git a/net-dns/knot-resolver/files/kresd.initd 
b/net-dns/knot-resolver/files/kresd.initd
deleted file mode 100644
index b443d98d749d..000000000000
--- a/net-dns/knot-resolver/files/kresd.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/kresd"
-command_args="${KRESD_OPTS}"
-pidfile="${KRESD_PIDFILE:-/var/run/${RC_SVCNAME}.pid}"
-command_background=true
-start_stop_daemon_args="--start -bm --pidfile ${pidfile} --exec ${command} -- 
${command_args}"
-
-name="knot-resolver"
-description="scaleable caching DNS resolver"
-
-depend() {
-    need net
-    use logger
-    provide dns
-}
-
-start() {
-       checkpath --directory /var/run/kresd
-       default_start
-}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
deleted file mode 100644
index dd8eb0f8c6c6..000000000000
--- a/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver";
-SRC_URI="
-       https://secure.nic.cz/files/${PN}/${P}.tar.xz
-       verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-       ${LUA_DEPS}
-       acct-group/knot-resolver
-       acct-user/knot-resolver
-       dev-db/lmdb:=
-       dev-libs/libuv:=
-       net-dns/knot:=
-       net-libs/gnutls:=
-       caps? ( sys-libs/libcap-ng )
-       dnstap? (
-               dev-libs/fstrm
-               dev-libs/protobuf-c:=
-       )
-       kresc? ( dev-libs/libedit )
-       nghttp2? ( net-libs/nghttp2:= )
-       systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
-       ${RDEPEND}
-       test? (
-                 dev-util/cmocka
-       )
-"
-BDEPEND="
-       virtual/pkgconfig
-       verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.5.3-docdir.patch
-       "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
-       fi
-
-       unpack ${P}.tar.xz
-}
-
-src_configure() {
-       local emesonargs=(
-               --localstatedir "${EPREFIX}"/var # double lib
-               # https://bugs.gentoo.org/870019
-               -Dauto_features=disabled
-               -Ddoc=disabled
-               -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
-               -Dopenssl=disabled
-               $(meson_feature caps capng)
-               $(meson_feature dnstap)
-               $(meson_feature kresc client)
-               $(meson_feature nghttp2)
-               $(meson_feature test unit_tests)
-               $(meson_feature systemd systemd_files)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-       fowners -R ${PN}: /etc/${PN}
-
-       newinitd "${FILESDIR}"/kresd.initd kresd
-       newconfd "${FILESDIR}"/kresd.confd kresd
-}
-
-pkg_postinst() {
-       use systemd && tmpfiles_process knot-resolver.conf
-}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild
deleted file mode 100644
index 7e20818b9341..000000000000
--- a/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver";
-SRC_URI="
-       https://secure.nic.cz/files/${PN}/${P}.tar.xz
-       verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-       ${LUA_DEPS}
-       acct-group/knot-resolver
-       acct-user/knot-resolver
-       dev-db/lmdb:=
-       dev-libs/libuv:=
-       net-dns/knot:=
-       net-libs/gnutls:=
-       caps? ( sys-libs/libcap-ng )
-       dnstap? (
-               dev-libs/fstrm
-               dev-libs/protobuf-c:=
-       )
-       kresc? ( dev-libs/libedit )
-       nghttp2? ( net-libs/nghttp2:= )
-       systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
-       ${RDEPEND}
-       test? (
-                 dev-util/cmocka
-       )
-"
-BDEPEND="
-       virtual/pkgconfig
-       verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.5.3-docdir.patch
-       "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
-       fi
-
-       unpack ${P}.tar.xz
-}
-
-src_configure() {
-       local emesonargs=(
-               --localstatedir "${EPREFIX}"/var # double lib
-               # https://bugs.gentoo.org/870019
-               -Dauto_features=disabled
-               -Ddoc=disabled
-               -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
-               -Dopenssl=disabled
-               $(meson_feature caps capng)
-               $(meson_feature dnstap)
-               $(meson_feature kresc client)
-               $(meson_feature nghttp2)
-               $(meson_feature test unit_tests)
-               $(meson_feature systemd systemd_files)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-       fowners -R ${PN}: /etc/${PN}
-
-       newinitd "${FILESDIR}"/kresd.initd-r1 kresd
-       newconfd "${FILESDIR}"/kresd.confd-r1 kresd
-}
-
-pkg_postinst() {
-       use systemd && tmpfiles_process knot-resolver.conf
-}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
deleted file mode 100644
index d5db86644e66..000000000000
--- a/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver";
-SRC_URI="
-       https://secure.nic.cz/files/${PN}/${P}.tar.xz
-       verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-       ${LUA_DEPS}
-       acct-group/knot-resolver
-       acct-user/knot-resolver
-       dev-db/lmdb:=
-       dev-libs/libuv:=
-       net-dns/knot:=
-       net-libs/gnutls:=
-       caps? ( sys-libs/libcap-ng )
-       dnstap? (
-               dev-libs/fstrm
-               dev-libs/protobuf-c:=
-       )
-       kresc? ( dev-libs/libedit )
-       nghttp2? ( net-libs/nghttp2:= )
-       systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
-       ${RDEPEND}
-       test? (
-                 dev-util/cmocka
-       )
-"
-BDEPEND="
-       virtual/pkgconfig
-       verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-5.5.3-docdir.patch
-       "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
-       if use verify-sig; then
-               verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
-       fi
-
-       unpack ${P}.tar.xz
-}
-
-src_configure() {
-       local emesonargs=(
-               --localstatedir "${EPREFIX}"/var # double lib
-               # https://bugs.gentoo.org/870019
-               -Dauto_features=disabled
-               -Ddoc=disabled
-               -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
-               -Dopenssl=disabled
-               $(meson_feature caps capng)
-               $(meson_feature dnstap)
-               $(meson_feature kresc client)
-               $(meson_feature nghttp2)
-               $(meson_feature test unit_tests)
-               $(meson_feature systemd systemd_files)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-       fowners -R ${PN}: /etc/${PN}
-}
-
-pkg_postinst() {
-       use systemd && tmpfiles_process knot-resolver.conf
-}

Reply via email to