|
|
|
@ -4,15 +4,15 @@
|
|
|
|
|
# used as kernel tar.
|
|
|
|
|
|
|
|
|
|
# RHEL kernel version-release
|
|
|
|
|
%define kver 5.14.0-333
|
|
|
|
|
%define source linux-%{kver}.el9
|
|
|
|
|
%define kver 6.11.0-0.rc5.22
|
|
|
|
|
%define source linux-%{kver}%{?dist}
|
|
|
|
|
|
|
|
|
|
Name: libbpf
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.5.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Libbpf library
|
|
|
|
|
|
|
|
|
|
License: LGPLv2 or BSD
|
|
|
|
|
License: LGPL-2.1-only OR BSD-2-Clause
|
|
|
|
|
Source0: %{source}.tar.xz
|
|
|
|
|
BuildRequires: gcc elfutils-libelf-devel elfutils-devel python3
|
|
|
|
|
BuildRequires: make
|
|
|
|
@ -46,20 +46,18 @@ The %{name}-static package contains static library for
|
|
|
|
|
developing applications that use %{name}
|
|
|
|
|
|
|
|
|
|
%global libbpf_make \
|
|
|
|
|
make DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS="%{build_cflags} -fPIC" LDFLAGS="%{build_ldflags} -Wl,--no-as-needed" LIBDIR=/%{_libdir} NO_PKG_CONFIG=1
|
|
|
|
|
make prefix=%{_prefix} DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS="%{build_cflags} -fPIC" LDFLAGS="%{build_ldflags} -Wl,--no-as-needed" LIBDIR=/%{_libdir} NO_PKG_CONFIG=1
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -n %{source}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
pushd tools/lib/bpf
|
|
|
|
|
%{libbpf_make} prefix=%{_prefix}
|
|
|
|
|
popd
|
|
|
|
|
%{libbpf_make}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
pushd tools/lib/bpf
|
|
|
|
|
%{libbpf_make} prefix=%{_prefix} install_lib install_headers install_pkgconfig
|
|
|
|
|
popd
|
|
|
|
|
%{libbpf_make} install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_libdir}/libbpf.so.%{version}
|
|
|
|
@ -74,62 +72,82 @@ popd
|
|
|
|
|
%{_libdir}/libbpf.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 03 2023 Viktor Malik <vmalik@redhat.com> - 1.2.0-1
|
|
|
|
|
- Update to BPF 6.3 rebase
|
|
|
|
|
- Resolves: rhbz#2178933
|
|
|
|
|
|
|
|
|
|
* Tue May 16 2023 Viktor Malik <vmalik@redhat.com> - 1.1.0-2
|
|
|
|
|
- Update to BPF 6.2 rebase
|
|
|
|
|
- Resolves: rhbz#2178932
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Viktor Malik <vmalik@redhat.com> - 2:1.1.0-1
|
|
|
|
|
- Update to BPF 6.1 rebase
|
|
|
|
|
- Resolves: rhbz#2178931
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Viktor Malik <vmalik@redhat.com> - 2:1.0.0-2
|
|
|
|
|
- Update to BPF 6.0 rebase
|
|
|
|
|
- Resolves: rhbz#2159763
|
|
|
|
|
|
|
|
|
|
* Mon Jan 02 2023 Viktor Malik <vmalik@redhat.com> - 2:1.0.0-1
|
|
|
|
|
- Update to 1.0.0 (BPF 5.19 rebase)
|
|
|
|
|
- Resolves: rhbz#2157592
|
|
|
|
|
|
|
|
|
|
* Tue Dec 13 2022 Viktor Malik <vmalik@redhat.com> - 2:0.8.0-1
|
|
|
|
|
- Update to 0.8.0 (BPF 5.18 rebase)
|
|
|
|
|
- Resolves: rhbz#2149243
|
|
|
|
|
|
|
|
|
|
* Fri Jun 24 2022 Viktor Malik <vmalik@redhat.com> - 2:0.6.0-1
|
|
|
|
|
- Update to 0.6.0 (BPF 5.16 rebase)
|
|
|
|
|
- Related: rhbz#2010428
|
|
|
|
|
- Enable LTO
|
|
|
|
|
- Related: rhbz#1990029
|
|
|
|
|
|
|
|
|
|
* Wed Feb 23 2022 Viktor Malik <vmalik@redhat.com> - 2:0.5.0-4
|
|
|
|
|
- Backport fix for netlink operations on ppc
|
|
|
|
|
- Related: rhbz#2057476
|
|
|
|
|
|
|
|
|
|
* Tue Nov 09 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.5.0-3
|
|
|
|
|
- pull new kernel sources with fixes
|
|
|
|
|
- Related: rhbz#2006305
|
|
|
|
|
|
|
|
|
|
* Fri Oct 11 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.5.0-2
|
|
|
|
|
- Fix passing of system's CFLAGS/LDFLAGS
|
|
|
|
|
- Related: rhbz#2012774
|
|
|
|
|
|
|
|
|
|
* Fri Oct 1 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.5.0-1
|
|
|
|
|
- update to RHEL spec
|
|
|
|
|
- Related: rhbz#2009725
|
|
|
|
|
|
|
|
|
|
* Wed Aug 25 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.4.0-1
|
|
|
|
|
- updated to 0.4.0
|
|
|
|
|
Related: rhbz#1997597
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:0.3.0-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:0.3.0-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Sep 25 2024 Viktor Malik <vmalik@redhat.com> - 2:1.5.0-2
|
|
|
|
|
- Rebase to released RHEL 10 Beta kernel
|
|
|
|
|
- Resolves: RHEL-36077
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Viktor Malik <vmalik@redhat.com> - 2:1.5.0-1
|
|
|
|
|
- Rebase to upstream kernel 6.10
|
|
|
|
|
- keep FD_CLOEXEC flag when dup()'ing FD
|
|
|
|
|
- Resolves: RHEL-37631
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2:1.4.0-3
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 07 2024 Viktor Malik <vmalik@redhat.com> - 2:1.4.0-1
|
|
|
|
|
- Rebuild from latest RHEL 10.0 Beta source tree
|
|
|
|
|
- Resolves: RHEL-30627
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.2.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 05 2023 Jiri Olsa <olsajiri@gmail.com> - 2:1.2.0-1
|
|
|
|
|
- release 1.2.0-1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Viktor Malik <vmalik@redhat.com> - 2:1.1.0-3
|
|
|
|
|
- Migrate license to SPDX
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 22 2022 Jiri Olsa <olsajiri@gmail.com> - 2:1.1.0-1
|
|
|
|
|
- release 1.1.0-1
|
|
|
|
|
|
|
|
|
|
* Tue Dec 20 2022 Jiri Olsa <olsajiri@gmail.com> - 2:1.0.0-4
|
|
|
|
|
- CVE-2022-3606 fix
|
|
|
|
|
|
|
|
|
|
* Tue Nov 01 2022 Jiri Olsa <olsajiri@gmail.com> - 2:1.0.0-3
|
|
|
|
|
- release 1.0.0-3
|
|
|
|
|
|
|
|
|
|
* Sat Sep 03 2022 Jiri Olsa <olsajiri@gmail.com> - 2:1.0.0-1
|
|
|
|
|
- release 1.0.0-1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.8.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 18 2022 Jiri Olsa <olsajiri@gmail.com> - 2:0.8.0-1
|
|
|
|
|
- release 0.8.0-1
|
|
|
|
|
|
|
|
|
|
* Fri Feb 18 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2:0.7.0-3
|
|
|
|
|
- Re-enable package notes
|
|
|
|
|
|
|
|
|
|
* Fri Feb 15 2022 Jay W <git.jaydobuleu@gmail.com> - 2:0.7.0-2
|
|
|
|
|
- Ensure PREFIX=%{_prefix} INCLUDEDIR=%{_includedir} are set so that flatpak is
|
|
|
|
|
able to build libbpf as dependency.
|
|
|
|
|
|
|
|
|
|
* Sun Feb 13 2022 Jiri Olsa <jolsa@redhat.com> - 2:0.7.0-1
|
|
|
|
|
- release 0.7.0-1
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Jiri Olsa <jolsa@redhat.com> - 2:0.6.1-1
|
|
|
|
|
- release 0.6.1-1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Sep 10 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.5.0-1
|
|
|
|
|
- release 0.5.0-1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.4.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 26 2021 Jiri Olsa <jolsa@redhat.com> - 2:0.4.0-1
|
|
|
|
|
- release 0.4.0-1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:0.3.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|