From 2c561090c4791776bf984429fb00db586a7afc3a9b81d3556886cf64b7a7ce9a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 4 Mar 2022 20:22:37 +0000 Subject: [PATCH] Accepting request 959361 from home:gmbr3:BPF - Add eBPF(libbpf) support - Adjust NETNS_RUN_DIR from /var/run to /run OBS-URL: https://build.opensuse.org/request/show/959361 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=220 --- adjust-installation-directories-for-openSUSE-SLE.patch | 3 ++- iproute2.changes | 6 ++++++ iproute2.spec | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/adjust-installation-directories-for-openSUSE-SLE.patch b/adjust-installation-directories-for-openSUSE-SLE.patch index 9752031..4529af8 100644 --- a/adjust-installation-directories-for-openSUSE-SLE.patch +++ b/adjust-installation-directories-for-openSUSE-SLE.patch @@ -18,7 +18,8 @@ Match the directory layout of openSUSE and SLE. -SBINDIR?=/sbin +SBINDIR?=/usr/sbin CONFDIR?=/etc/iproute2 - NETNS_RUN_DIR?=/var/run/netns +-NETNS_RUN_DIR?=/var/run/netns ++NETNS_RUN_DIR?=/run/netns NETNS_ETC_DIR?=/etc/netns DATADIR?=$(PREFIX)/share @@ -31,7 +31,7 @@ DBM_INCLUDE:=$(DESTDIR)/usr/include diff --git a/iproute2.changes b/iproute2.changes index 5b5e6e0..741c0fa 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 4 09:43:42 UTC 2022 - Callum Farmer + +- Add eBPF(libbpf) support +- Adjust NETNS_RUN_DIR from /var/run to /run + ------------------------------------------------------------------- Tue Jan 11 21:22:27 UTC 2022 - Callum Farmer diff --git a/iproute2.spec b/iproute2.spec index 5e54e55..232f5a2 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -42,6 +42,7 @@ BuildRequires: db-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: libelf-devel +BuildRequires: libbpf-devel BuildRequires: pkgconfig >= 0.21 BuildRequires: xz BuildRequires: pkgconfig(libmnl)