Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libbpf for openSUSE:Factory checked in at 2021-09-30 23:43:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbpf (Old) and /work/SRC/openSUSE:Factory/.libbpf.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbpf" Thu Sep 30 23:43:03 2021 rev:7 rq:921812 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libbpf/libbpf.changes 2021-09-25 00:35:40.223146666 +0200 +++ /work/SRC/openSUSE:Factory/.libbpf.new.2443/libbpf.changes 2021-09-30 23:43:37.372485009 +0200 @@ -1,0 +2,38 @@ +Mon Sep 27 11:02:49 UTC 2021 - Shung-Hsi Yu <shung-hsi...@suse.com> + +- Update to 0.5.0: + + New features and user-space APIs: + - libbpf_set_strict_mode() allowing to opt-in into backwards incompatible libbpf-1.0 changes. See "Libbpf: the road to 1.0" and "Libbpf 1.0 migration guide" for more details. + - streamlined error reporting for low-level APIs, high-level error-returning APIs, and pointer-returning APIs (as a libbpf-1.0 opt-in); + - "Light" BPF skeleton support; + - BPF_PROG_TYPE_SYSCALL support; + - BPF perf link support for kprobe, uprobe, tracepoint, and perf_event BPF programs; + - BPF cookie support for kprobe, uprobe, tracepoint, and perf_event BPF programs through bpf_program__attach_[ku]probe_opts() APIs; + - allow to specify ref_ctr_off for USDT semaphores through bpf_program__attach_uprobe_opts() API; + - btf_custom_path support in bpf_object_open_opts, allowing to specify custom BTF for CO-RE relocations; + - sk_reuseport/migrate program type support; + - btf_dump__dump_type_data() API, allowing to dump binary data according to BTF type description; + - btf__load_into_kernel() and btf__load_from_kernel_by_id(), and split BTF variants of them; + - btf__load_vmlinux_btf() and btf__load_module_btf() APIs; + - bpf_map__initial_value() API to get initial value of mmap-ed BPF maps; + - bpf_map_lookup_and_delete_elem_flags() API. + + BPF-side APIs and features: + - support for weak typed __ksym externs; + - BPF timer helpers: bpf_timer_init(), bpf_timer_set_callback(), bpf_timer_start(), bpf_timer_cancel(); + - bpf_get_attach_cookie() helper to get BPF cookie from BPF program side; + - bpf_get_func_ip() helper; + - bpf_sys_bpf() helper; + - bpf_task_pt_regs() helper; + - bpf_btf_find_by_name_kind() helper; + - usability improvements for bpf_tracing.h when target architecture is missing. + + Bug fixes and compatibility improvements: + - improve BPF support detection on old Red Hat kernels with backported BPF patches; + - improvements for LTO builds with GCC 10+; + - pass NLM_F_EXCL when creating TC qdisc; + - better support of BPF map reuse on old kernels; + - fix the bug resulting in sometimes closing FD 0, which wasn't created and owned by libbpf itself. +- Remove patches merged upstream + + libdir.patch + + libbpf-Fix-build-with-latest-gcc-binutils-with-LTO.patch + +------------------------------------------------------------------- Old: ---- libbpf-0.4.0.tar.gz libbpf-Fix-build-with-latest-gcc-binutils-with-LTO.patch libdir.patch New: ---- libbpf-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbpf.spec ++++++ --- /var/tmp/diff_new_pack.9gsHV4/_old 2021-09-30 23:43:37.872485582 +0200 +++ /var/tmp/diff_new_pack.9gsHV4/_new 2021-09-30 23:43:37.872485582 +0200 @@ -19,17 +19,13 @@ %define sover_major 0 %define libname libbpf%{sover_major} Name: libbpf -Version: 0.4.0 +Version: 0.5.0 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only URL: https://github.com/libbpf/libbpf Source: https://github.com/libbpf/libbpf/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf -# PATCH-FIX-UPSTREAM https://github.com/libbpf/libbpf/issues/337 -Patch: libdir.patch -# PATCH-FIX-UPSTREAM https://github.com/libbpf/libbpf/pull/373 -Patch1: libbpf-Fix-build-with-latest-gcc-binutils-with-LTO.patch BuildRequires: libelf-devel BuildRequires: linux-glibc-devel >= 4.5 BuildRequires: python3 ++++++ libbpf-0.4.0.tar.gz -> libbpf-0.5.0.tar.gz ++++++ ++++ 120598 lines of diff (skipped)