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
This commit is contained in:
Jan Engelhardt 2022-03-04 20:22:37 +00:00 committed by Git OBS Bridge
parent 4bfdd58394
commit 2c561090c4
3 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,8 @@ Match the directory layout of openSUSE and SLE.
-SBINDIR?=/sbin -SBINDIR?=/sbin
+SBINDIR?=/usr/sbin +SBINDIR?=/usr/sbin
CONFDIR?=/etc/iproute2 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 NETNS_ETC_DIR?=/etc/netns
DATADIR?=$(PREFIX)/share DATADIR?=$(PREFIX)/share
@@ -31,7 +31,7 @@ DBM_INCLUDE:=$(DESTDIR)/usr/include @@ -31,7 +31,7 @@ DBM_INCLUDE:=$(DESTDIR)/usr/include

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 4 09:43:42 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Add eBPF(libbpf) support
- Adjust NETNS_RUN_DIR from /var/run to /run
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 11 21:22:27 UTC 2022 - Callum Farmer <gmbr3@opensuse.org> Tue Jan 11 21:22:27 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -42,6 +42,7 @@ BuildRequires: db-devel
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libbpf-devel
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libmnl) BuildRequires: pkgconfig(libmnl)