From b2265d571a899a917554a94133491143f7ca301a Mon Sep 17 00:00:00 2001 From: Witold Baryluk Date: Sat, 15 Aug 2026 13:53:53 +0000 Subject: Enable clat (464XLAT) Add libbpf-dev to be able to load and interact with loaded bpf program. Add gcc-bpf and bpftool with minimum required versions to support required features, and set explicitly the bpf compiler (network manager often prefers clang otherwise if available). Not adding any constraints on linux (where bpf is supported), as all the network-manager packages are already linux-any, so will not built on non-linux. Note: The compiled clat.bpf.o file content is incorporated into clat.skel.h during the build (as a static byte array), and is loaded from memory at runtime, not from any on disk file. For now also silence mostly a false positive of blhc reporting missing hardening flags. This is hopefully only temporary, and can be improved in the future. Fixes: ef758928d5c20c8af9f4ebf93059e5f22c9f9fec --- debian/control | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index 1b6a3588..63c317ef 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Build-Depends: debhelper-compat (= 14), gtk-doc-tools, libglib2.0-doc, libmm-glib-dev (>= 0.7.991), - libndp-dev, + libndp-dev (>= 1.9), libreadline-dev, libnewt-dev (>= 0.52.15), libteam-dev (>= 1.9), @@ -40,6 +40,9 @@ Build-Depends: debhelper-compat (= 14), python3-dbus , python3-pexpect , iproute2 , + libbpf-dev (>= 1.3.0), + gcc-bpf (>= 13.1.0), + bpftool (>= 5.13), Standards-Version: 4.7.4 Vcs-Git: https://salsa.debian.org/utopia-team/network-manager.git Vcs-Browser: https://salsa.debian.org/utopia-team/network-manager -- cgit 1.3.0-6-gf8a5