commit:     b24fd280bd655b4188af62ec2acdba61e665440b
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Fri Nov 22 20:39:19 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Dec  5 15:16:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24fd280

net-dns/knot: 3.2.9 fixdep libbpf xdp-tools

fix build with xdp :
>In file included from libknot/xdp/bpf-user.c:27:
>./libknot/xdp/bpf-user.h:31:11: fatal error: bpf/xsk.h: No such file or
>directory
>31 | #include <bpf/xsk.h>
>| ^~~~~~~~~~~

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/39427
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-dns/knot/{knot-3.2.9.ebuild => knot-3.2.9-r1.ebuild} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-dns/knot/knot-3.2.9.ebuild b/net-dns/knot/knot-3.2.9-r1.ebuild
similarity index 95%
rename from net-dns/knot/knot-3.2.9.ebuild
rename to net-dns/knot/knot-3.2.9-r1.ebuild
index b668939ce738..7a4b327e73e2 100644
--- a/net-dns/knot/knot-3.2.9.ebuild
+++ b/net-dns/knot/knot-3.2.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,8 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns";
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz";
 
+S="${WORKDIR}/${P/_/-}"
+
 LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
 KEYWORDS="~amd64 ~riscv ~x86"
@@ -53,8 +55,9 @@ RDEPEND="
        quic? ( >=net-libs/ngtcp2-0.13.1:=[gnutls] )
        systemd? ( sys-apps/systemd:= )
        xdp? (
-                dev-libs/libbpf:=
-                net-libs/libmnl:=
+               >=dev-libs/libbpf-1.0:=
+               net-libs/libmnl:=
+               net-libs/xdp-tools
        )
 "
 DEPEND="${RDEPEND}"
@@ -63,8 +66,6 @@ BDEPEND="
        doc? ( dev-python/sphinx )
 "
 
-S="${WORKDIR}/${P/_/-}"
-
 src_configure() {
        local u
        local my_conf=(

Reply via email to