From 65b929f47ab101b28ba06d3696d795475626ec069ba0b7c8924f195d96084734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rostecki?= Date: Sat, 11 Dec 2021 23:40:33 +0000 Subject: [PATCH 1/3] Accepting request 939943 from home:jengelh:branches:devel:libraries:c_c++ - Update to release 0.6.1 OBS-URL: https://build.opensuse.org/request/show/939943 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=12 --- libbpf-0.5.0.tar.gz | 3 --- libbpf-0.6.1.tar.gz | 3 +++ libbpf.changes | 17 +++++++++++++++++ libbpf.spec | 5 ++++- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 libbpf-0.5.0.tar.gz create mode 100644 libbpf-0.6.1.tar.gz diff --git a/libbpf-0.5.0.tar.gz b/libbpf-0.5.0.tar.gz deleted file mode 100644 index 56c205f..0000000 --- a/libbpf-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5b27980ceab9a80b6f28d3e67b51cea526fda49bd13151ba966e33548feb4f4 -size 815083 diff --git a/libbpf-0.6.1.tar.gz b/libbpf-0.6.1.tar.gz new file mode 100644 index 0000000..6689972 --- /dev/null +++ b/libbpf-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0 +size 858232 diff --git a/libbpf.changes b/libbpf.changes index 56b0d06..c094688 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sat Dec 11 10:37:27 UTC 2021 - Jan Engelhardt + +- Update to release 0.6.1 + * Introduce legacy kprobe events support + * Add legacy uprobe attaching support + * Support uniform BTF-defined key/value specification across + all BPF maps + * Support kernel module function calls + * Support detecting and attaching of writable tracepoint + program + * Add bloom filter map implementation + * Add typeless and weak ksym support to gen_loader + * Add RISC-V (RV64) support to bpf_tracing.h + * Deprecate AF_XDP support + * Support BTF_KIND_TYPE_TAG + ------------------------------------------------------------------- Mon Sep 27 11:02:49 UTC 2021 - Shung-Hsi Yu diff --git a/libbpf.spec b/libbpf.spec index fb884c8..2df242b 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -19,7 +19,7 @@ %define sover_major 0 %define libname libbpf%{sover_major} Name: libbpf -Version: 0.5.0 +Version: 0.6.1 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only @@ -60,6 +60,9 @@ cd src %make_install V=1 rm -f %{buildroot}%{_libdir}/%{name}.a +# sigh forgot it +perl -i -lpe 's{Version: 0.6.0}{Version: %version}' "%{buildroot}/%{_libdir}/pkgconfig/libbpf.pc" + %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig From c621426241c81050b88207352b6f00c3e9eb5da103ad3a67d273cafba6f487c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rostecki?= Date: Fri, 17 Dec 2021 10:53:35 +0000 Subject: [PATCH 2/3] Accepting request 940907 from home:jengelh:branches:devel:libraries:c_c++ the new libbpf has this hard requirement. Doesn't help factory at this time, but at least it'll be on record. OBS-URL: https://build.opensuse.org/request/show/940907 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=13 --- libbpf.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libbpf.spec b/libbpf.spec index 2df242b..7cb7875 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -43,6 +43,7 @@ libbpf is a C library which provides API for managing eBPF programs and maps. %package devel Summary: Development files for libbpf Requires: %{libname} = %{version} +Requires: linux-glibc-devel >= 5.16 %description devel libbpf is a C library which provides API for managing eBPF programs and maps. From 5149d0519a349f6e275a233ca914e9fd3c6645212b5e3d9d960ec97efecce8f5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 6 Mar 2022 16:26:17 +0000 Subject: [PATCH 3/3] Accepting request 959375 from home:jengelh:branches:devel:libraries:c_c++ - Update to release 0.7.0 OBS-URL: https://build.opensuse.org/request/show/959375 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=14 --- libbpf-0.6.1.tar.gz | 3 --- libbpf-0.7.0.tar.gz | 3 +++ libbpf.changes | 13 +++++++++++++ libbpf.spec | 10 +++------- 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 libbpf-0.6.1.tar.gz create mode 100644 libbpf-0.7.0.tar.gz diff --git a/libbpf-0.6.1.tar.gz b/libbpf-0.6.1.tar.gz deleted file mode 100644 index 6689972..0000000 --- a/libbpf-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0 -size 858232 diff --git a/libbpf-0.7.0.tar.gz b/libbpf-0.7.0.tar.gz new file mode 100644 index 0000000..ea81186 --- /dev/null +++ b/libbpf-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5083588ce5a3a620e395ee1e596af77b4ec5771ffc71cff2af49dfee38c06361 +size 900125 diff --git a/libbpf.changes b/libbpf.changes index c094688..2757210 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 4 10:18:54 UTC 2022 - Jan Engelhardt + +- Update to release 0.7.0 + * legacy BPF map definitions (using struct bpf_map_def) are + deprecated when LIBBPF_STRICT_MAP_DEFINITIONS is passed to + libbpf_set_strict_mode(). Please use BTF-defined map + definitions. + * ability to control and capture BPF verifier log output on + per-object and per-program level + * CO-RE support and other improvements for "light skeleton" + * improved compilation when system BTF UAPI headers are outdated + ------------------------------------------------------------------- Sat Dec 11 10:37:27 UTC 2021 - Jan Engelhardt diff --git a/libbpf.spec b/libbpf.spec index 7cb7875..8ba440f 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -1,7 +1,7 @@ # # spec file for package libbpf # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sover_major 0 %define libname libbpf%{sover_major} Name: libbpf -Version: 0.6.1 +Version: 0.7.0 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only @@ -49,8 +49,7 @@ Requires: linux-glibc-devel >= 5.16 libbpf is a C library which provides API for managing eBPF programs and maps. %prep -%setup -q -%autopatch -p1 +%autosetup %build cd src @@ -61,9 +60,6 @@ cd src %make_install V=1 rm -f %{buildroot}%{_libdir}/%{name}.a -# sigh forgot it -perl -i -lpe 's{Version: 0.6.0}{Version: %version}' "%{buildroot}/%{_libdir}/pkgconfig/libbpf.pc" - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig