[packages/xdp-tools] - updated to 1.4.1
qboosh
qboosh at pld-linux.org
Tue Dec 26 12:31:35 CET 2023
commit 9e52186b25c44543fb6117355503df5aa4d79f5e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 26 12:32:16 2023 +0100
- updated to 1.4.1
xdp-tools-sh.patch | 11 +++++++++++
xdp-tools.spec | 13 +++++++++----
2 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/xdp-tools.spec b/xdp-tools.spec
index 893d6dd..9a62132 100644
--- a/xdp-tools.spec
+++ b/xdp-tools.spec
@@ -1,19 +1,23 @@
Summary: Utilities for use with XDP
Summary(pl.UTF-8): Narzędzia do używania z XDP
Name: xdp-tools
-Version: 1.3.1
-Release: 2
+Version: 1.4.1
+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/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: bcb5da2c160bfe120198e08d8da8a59d
+Source0: https://github.com/xdp-project/xdp-tools/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 853214d0219f64eee3373e1f1ec69148
+Patch0: %{name}-sh.patch
URL: https://github.com/xdp-project/xdp-tools
BuildRequires: clang >= 11
+# llc
+BuildRequires: llvm >= 11
BuildRequires: elfutils-devel
# bpftool
BuildRequires: kernel-tools >= 4.15
BuildRequires: libbpf-devel
+BuildRequires: libcap-ng-devel
BuildRequires: libpcap-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
@@ -67,6 +71,7 @@ Statyczna biblioteka libxdp.
%prep
%setup -q
+%patch0 -p1
%build
BPFTOOL=/usr/sbin/bpftool \
diff --git a/xdp-tools-sh.patch b/xdp-tools-sh.patch
new file mode 100644
index 0000000..a35bb40
--- /dev/null
+++ b/xdp-tools-sh.patch
@@ -0,0 +1,11 @@
+--- 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()
+ exit 1
+ 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"
+ else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xdp-tools.git/commitdiff/9e52186b25c44543fb6117355503df5aa4d79f5e
More information about the pld-cvs-commit
mailing list