Compare commits

..

No commits in common. "c10s" and "c8" have entirely different histories.
c10s ... c8

5 changed files with 25 additions and 104 deletions

24
.gitignore vendored
View File

@ -1,23 +1 @@
/xdp-tools-0.0.2.tar.gz SOURCES/xdp-tools-1.2.10.tar.gz
/xdp-tools-0.0.3.tar.gz
/xdp-tools-1.0.0~beta1.tar.gz
/xdp-tools-1.0.0~beta2.tar.gz
/xdp-tools-1.0.0~beta3.tar.gz
/xdp-tools-1.0.0.tar.gz
/xdp-tools-1.0.1.tar.gz
/xdp-tools-1.1.0.tar.gz
/xdp-tools-1.1.1.tar.gz
/xdp-tools-1.2.0.tar.gz
/xdp-tools-1.2.2.tar.gz
/xdp-tools-1.2.3.tar.gz
/xdp-tools-1.2.5.tar.gz
/xdp-tools-1.2.6.tar.gz
/xdp-tools-1.2.8.tar.gz
/xdp-tools-1.2.9.tar.gz
/xdp-tools-configure-Don-t-fail-on-missing-bpftool.patch
/xdp-tools-1.3.0.tar.gz
/xdp-tools-1.3.1.tar.gz
/xdp-tools-1.4.0.tar.gz
/xdp-tools-1.4.0-configure-Don-t-fail-on-missing-bpftool.patch
/xdp-tools-1.4.1.tar.gz
/xdp-tools-1.4.2.tar.gz

1
.xdp-tools.metadata Normal file
View File

@ -0,0 +1 @@
f0ea44bb9e7d53f7a1b83ede05984ee5ca27c0a7 SOURCES/xdp-tools-1.2.10.tar.gz

View File

@ -1,3 +0,0 @@
# xdp-tools
The xdp-tools package

View File

@ -1,10 +1,10 @@
Name: xdp-tools Name: xdp-tools
Version: 1.4.2 Version: 1.2.10
Release: 3%{?dist} Release: 1%{?dist}
Summary: Utilities and example programs for use with XDP Summary: Utilities and example programs for use with XDP
%global _soversion 1.4.0 %global _soversion 1.2.0
License: GPL-2.0-only License: GPLv2
URL: https://github.com/xdp-project/%{name} URL: https://github.com/xdp-project/%{name}
Source0: https://github.com/xdp-project/%{name}/releases/download/v%{version}/xdp-tools-%{version}.tar.gz Source0: https://github.com/xdp-project/%{name}/releases/download/v%{version}/xdp-tools-%{version}.tar.gz
@ -21,10 +21,6 @@ BuildRequires: m4
BuildRequires: emacs-nox BuildRequires: emacs-nox
BuildRequires: wireshark-cli BuildRequires: wireshark-cli
%ifnarch i686
BuildRequires: bpftool
%endif
# Always keep xdp-tools and libxdp packages in sync # Always keep xdp-tools and libxdp packages in sync
Requires: libxdp = %{version}-%{release} Requires: libxdp = %{version}-%{release}
@ -32,24 +28,25 @@ Requires: libxdp = %{version}-%{release}
# disable the debug package to avoid rpmbuild error'ing out because of this # disable the debug package to avoid rpmbuild error'ing out because of this
%global debug_package %{nil} %global debug_package %{nil}
%global _hardened_build 1 %global _hardened_build 1
# strip barfs on BPF files, override it as a workaround
%global __brp_strip_lto %{_bindir}/true
%global __brp_strip %{_bindir}/true
%description %description
Utilities and example programs for use with XDP Utilities and example programs for use with XDP
%package -n libxdp %package -n libxdp
Summary: XDP helper library Summary: XDP helper library
License: LGPL-2.1-only OR BSD-2-Clause
Requires: kernel-headers Requires: kernel-headers
Requires: libbpf >= 0.2.0-1
%package -n libxdp-devel %package -n libxdp-devel
Summary: Development files for libxdp Summary: Development files for libxdp
License: LGPL-2.1-only OR BSD-2-Clause
Requires: kernel-headers Requires: kernel-headers
Requires: libxdp = %{version}-%{release} Requires: libxdp = %{version}-%{release}
%package -n libxdp-static %package -n libxdp-static
Summary: Static library files for libxdp Summary: Static library files for libxdp
License: LGPL-2.1-only OR BSD-2-Clause
Requires: kernel-headers Requires: kernel-headers
Requires: libxdp-devel = %{version}-%{release} Requires: libxdp-devel = %{version}-%{release}
@ -91,16 +88,13 @@ export MANDIR='%{_mandir}'
export DATADIR='%{_datadir}' export DATADIR='%{_datadir}'
export HDRDIR='%{_includedir}/xdp' export HDRDIR='%{_includedir}/xdp'
make install V=1 make install V=1
cd $DESTDIR/$LIBDIR && ln -vs libxdp.so.%{_soversion} libxdp.so.1.0.0
cd $DESTDIR/$LIBDIR && ln -vs libxdp.so.%{_soversion} libxdp.so.1.1.0
%files %files
%{_sbindir}/xdp-filter %{_sbindir}/xdp-filter
%{_sbindir}/xdp-loader %{_sbindir}/xdp-loader
%{_sbindir}/xdpdump %{_sbindir}/xdpdump
%ifnarch i686
%{_sbindir}/xdp-bench
%{_sbindir}/xdp-monitor
%{_sbindir}/xdp-trafficgen
%endif
%{_mandir}/man8/* %{_mandir}/man8/*
%{_libdir}/bpf/xdpfilt_*.o %{_libdir}/bpf/xdpfilt_*.o
%{_libdir}/bpf/xdpdump_*.o %{_libdir}/bpf/xdpdump_*.o
@ -110,6 +104,8 @@ make install V=1
%files -n libxdp %files -n libxdp
%{_libdir}/libxdp.so.1 %{_libdir}/libxdp.so.1
%{_libdir}/libxdp.so.%{_soversion} %{_libdir}/libxdp.so.%{_soversion}
%{_libdir}/libxdp.so.1.0.0
%{_libdir}/libxdp.so.1.1.0
%{_libdir}/bpf/xdp-dispatcher.o %{_libdir}/bpf/xdp-dispatcher.o
%{_libdir}/bpf/xsk_def_xdp_prog*.o %{_libdir}/bpf/xsk_def_xdp_prog*.o
%{_mandir}/man3/* %{_mandir}/man3/*
@ -124,80 +120,27 @@ make install V=1
%{_libdir}/pkgconfig/libxdp.pc %{_libdir}/pkgconfig/libxdp.pc
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4.2-3 * Wed Feb 8 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.10-1
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.2-2
- Bump release for June 2024 mass rebuild
* Tue Jan 30 2024 Toke Høiland-Jørgensen <toke@redhat.com> 1.4.2-1
- Upstream version bump - Upstream version bump
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2 * Fri Jan 20 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.9-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Oct 20 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.4.1-1
- Upstream version bump
* Wed Aug 9 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.4.0-3
- Migrated to SPDX format for licenses
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 6 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.4.0-1
- Upstream version bump
* Thu Feb 23 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.3.1-1
- Upstream version bump
* Fri Feb 10 2023 Toke Høiland-Jørgensen <toke@redhat.com> 1.3.0-1
- Upstream version bump
- Add patch to enable building without bpftool on i686
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Dec 14 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.9-1
- Upstream version bump
* Thu Nov 03 2022 Jiri Olsa <jolsa@kernel.org> 1.2.8-2
- libbpf 1.0 build
* Sun Sep 18 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.8-1
- Upstream version bump - Upstream version bump
* Tue Aug 16 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.6-1 * Tue Aug 16 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.6-1
- Upstream version bump - Upstream version bump
* Mon Aug 8 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.5-1
- Upstream version bump
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 17 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.3-1
- Upstream version bump
* Thu Jan 20 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.2-1
- Upstream version bump
* Thu Jan 13 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.1-1 * Thu Jan 13 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.1-1
- Upstream version bump - Upstream version bump
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 7 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.0-1 * Wed Jul 7 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.0-1
- Upstream version bump - Upstream version bump
* Wed Feb 10 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.1.1-2
- Fix depedency and patch two issues fixed upstream
* Wed Feb 3 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.1.1-1 * Wed Feb 3 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.1.1-1
- Upstream version bump - Upstream version bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 4 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.1.0-1 * Mon Jan 4 2021 Toke Høiland-Jørgensen <toke@redhat.com> 1.1.0-1
- Upstream version bump - Upstream version bump
@ -207,9 +150,6 @@ make install V=1
* Tue Aug 18 2020 Toke Høiland-Jørgensen <toke@redhat.com> 1.0.0-1 * Tue Aug 18 2020 Toke Høiland-Jørgensen <toke@redhat.com> 1.0.0-1
- Upstream version bump - Upstream version bump
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0~beta3-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 15 2020 Eelco Chaudron <echaudro@redhat.com> 1.0.0~beta3-0.1 * Wed Jul 15 2020 Eelco Chaudron <echaudro@redhat.com> 1.0.0~beta3-0.1
- Upstream version bump - Upstream version bump
@ -219,6 +159,12 @@ make install V=1
* Mon Jun 15 2020 Toke Høiland-Jørgensen <toke@redhat.com> 1.0.0~beta1-0.1 * Mon Jun 15 2020 Toke Høiland-Jørgensen <toke@redhat.com> 1.0.0~beta1-0.1
- Upstream version bump - Upstream version bump
* Tue May 12 2020 Toke Høiland-Jørgensen <toke@redhat.com> 0.0.3-3
- Add CI gating config file
* Mon May 11 2020 Toke Høiland-Jørgensen <toke@redhat.com> 0.0.3-2
- Fix build error due to missing _GNU_SOURCE define
* Mon Apr 6 2020 Toke Høiland-Jørgensen <toke@redhat.com> 0.0.3-1 * Mon Apr 6 2020 Toke Høiland-Jørgensen <toke@redhat.com> 0.0.3-1
- Upstream update, add libxdp sub-packages - Upstream update, add libxdp sub-packages

View File

@ -1 +0,0 @@
SHA512 (xdp-tools-1.4.2.tar.gz) = ae4fd82cc8138f06cf75530a9911dcc196198f0fcfb82ed991f66a48bedc2991029553b1142d38c16631f4d9ea1e4ba6402ef72d406e7e271fec189857f94522