[packages/xdp-tools] - updated to 1.6.3
qboosh
qboosh at pld-linux.org
Wed May 13 21:45:19 CEST 2026
commit 35bffda7c124c57835b4b78b644a4dfbbc8a4dfe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 13 21:45:16 2026 +0200
- updated to 1.6.3
xdp-tools-sh.patch | 13 +++++++++----
xdp-tools.spec | 10 +++++-----
2 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/xdp-tools.spec b/xdp-tools.spec
index c0b2d41..01652dc 100644
--- a/xdp-tools.spec
+++ b/xdp-tools.spec
@@ -1,13 +1,13 @@
Summary: Utilities for use with XDP
Summary(pl.UTF-8): Narzędzia do używania z XDP
Name: xdp-tools
-Version: 1.5.4
+Version: 1.6.3
Release: 1
License: GPL v2, LGPL v2.1, BSD
Group: Applications/System
#Source0Download: https://github.com/xdp-project/xdp-tools/releases
Source0: https://github.com/xdp-project/xdp-tools/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e50d4a5441d41749ce75a97e05adec3c
+# Source0-md5: 64bd2e64b9b0ba699e3dc5c760c4ab5a
Patch0: %{name}-sh.patch
URL: https://github.com/xdp-project/xdp-tools
BuildRequires: clang >= 11
@@ -121,8 +121,8 @@ rm -rf $RPM_BUILD_ROOT
%files -n libxdp
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxdp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxdp.so.1
+%{_libdir}/libxdp.so.*.*.*
+%ghost %{_libdir}/libxdp.so.1
%dir %{_libdir}/bpf
%{_libdir}/bpf/xdp-dispatcher.o
%{_libdir}/bpf/xdpdump_*.o
@@ -131,7 +131,7 @@ rm -rf $RPM_BUILD_ROOT
%files -n libxdp-devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libxdp.so
+%{_libdir}/libxdp.so
%{_includedir}/xdp
%{_pkgconfigdir}/libxdp.pc
%{_mandir}/man3/libxdp.3*
diff --git a/xdp-tools-sh.patch b/xdp-tools-sh.patch
index a35bb40..abb45b2 100644
--- a/xdp-tools-sh.patch
+++ b/xdp-tools-sh.patch
@@ -1,11 +1,16 @@
---- xdp-tools-1.4.1/configure.orig 2023-10-20 18:08:05.000000000 +0200
-+++ xdp-tools-1.4.1/configure 2023-12-26 11:28:22.685725521 +0100
-@@ -112,7 +112,7 @@ check_toolchain()
+--- xdp-tools-1.6.3/configure.orig 2026-03-25 12:44:04.000000000 +0100
++++ xdp-tools-1.6.3/configure 2026-05-13 21:42:09.038729354 +0200
+@@ -109,11 +109,11 @@ check_toolchain()
exit 1
fi
+- if ! command -v $BPFTOOL &>/dev/null; then
++ if ! command -v $BPFTOOL >/dev/null 2>&1; then
+ BPFTOOL=$(whereis -b bpftool | awk '{print $2}')
+ fi
+
- if command -v $BPFTOOL &>/dev/null && $BPFTOOL gen help 2>&1 | grep 'gen skeleton.*name' > /dev/null; then
+ if command -v $BPFTOOL >/dev/null 2>&1 && $BPFTOOL gen help 2>&1 | grep 'gen skeleton.*name' > /dev/null; then
bpftool_version=$($BPFTOOL version | head -n 1)
- echo "using $bpftool_version"
+ echo "using $bpftool_version"
else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xdp-tools.git/commitdiff/35bffda7c124c57835b4b78b644a4dfbbc8a4dfe
More information about the pld-cvs-commit
mailing list