|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
Name: xdp-tools
|
|
|
|
|
Version: 1.3.1
|
|
|
|
|
Version: 1.2.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Utilities and example programs for use with XDP
|
|
|
|
|
%global _soversion 1.3.0
|
|
|
|
|
%global _soversion 1.2.0
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: https://github.com/xdp-project/%{name}
|
|
|
|
|
Source0: https://github.com/xdp-project/%{name}/releases/download/v%{version}/xdp-tools-%{version}.tar.gz
|
|
|
|
|
Patch0: xdp-tools-configure-Don-t-fail-on-missing-bpftool.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: libbpf-devel
|
|
|
|
|
BuildRequires: elfutils-libelf-devel
|
|
|
|
@ -22,10 +21,6 @@ BuildRequires: m4
|
|
|
|
|
BuildRequires: emacs-nox
|
|
|
|
|
BuildRequires: wireshark-cli
|
|
|
|
|
|
|
|
|
|
%ifnarch i686
|
|
|
|
|
BuildRequires: bpftool
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Always keep xdp-tools and libxdp packages in sync
|
|
|
|
|
Requires: libxdp = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -70,7 +65,6 @@ The libxdp-static package contains the static library version of libxdp.
|
|
|
|
|
export CFLAGS='%{build_cflags}'
|
|
|
|
|
export LDFLAGS='%{build_ldflags}'
|
|
|
|
|
export LIBDIR='%{_libdir}'
|
|
|
|
|
export RUNDIR='%{_rundir}'
|
|
|
|
|
export CLANG=%{_bindir}/clang
|
|
|
|
|
export LLC=%{_bindir}/llc
|
|
|
|
|
export PRODUCTION=1
|
|
|
|
@ -84,7 +78,6 @@ make %{?_smp_mflags} V=1
|
|
|
|
|
export DESTDIR='%{buildroot}'
|
|
|
|
|
export SBINDIR='%{_sbindir}'
|
|
|
|
|
export LIBDIR='%{_libdir}'
|
|
|
|
|
export RUNDIR='%{_rundir}'
|
|
|
|
|
export MANDIR='%{_mandir}'
|
|
|
|
|
export DATADIR='%{_datadir}'
|
|
|
|
|
export HDRDIR='%{_includedir}/xdp'
|
|
|
|
@ -94,14 +87,10 @@ make install V=1
|
|
|
|
|
%{_sbindir}/xdp-filter
|
|
|
|
|
%{_sbindir}/xdp-loader
|
|
|
|
|
%{_sbindir}/xdpdump
|
|
|
|
|
%ifnarch i686
|
|
|
|
|
%{_sbindir}/xdp-bench
|
|
|
|
|
%{_sbindir}/xdp-monitor
|
|
|
|
|
%{_sbindir}/xdp-trafficgen
|
|
|
|
|
%endif
|
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
%{_libdir}/bpf/xdpfilt_*.o
|
|
|
|
|
%{_libdir}/bpf/xdpdump_*.o
|
|
|
|
|
%{_libdir}/bpf/xsk_def_xdp_prog*.o
|
|
|
|
|
%{_datadir}/xdp-tools/
|
|
|
|
|
%license LICENSES/*
|
|
|
|
|
|
|
|
|
@ -109,9 +98,7 @@ make install V=1
|
|
|
|
|
%{_libdir}/libxdp.so.1
|
|
|
|
|
%{_libdir}/libxdp.so.%{_soversion}
|
|
|
|
|
%{_libdir}/bpf/xdp-dispatcher.o
|
|
|
|
|
%{_libdir}/bpf/xsk_def_xdp_prog*.o
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
%license LICENSES/*
|
|
|
|
|
|
|
|
|
|
%files -n libxdp-static
|
|
|
|
|
%{_libdir}/libxdp.a
|
|
|
|
@ -122,34 +109,9 @@ make install V=1
|
|
|
|
|
%{_libdir}/pkgconfig/libxdp.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Tue Aug 16 2022 Toke Høiland-Jørgensen <toke@redhat.com> 1.2.6-1
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|