Summary(pl.UTF-8): Narzędzie do konfigurowania sieci
Summary(pt_BR.UTF-8): Ferramentas para roteamento avançado e configuração de interfaces de rede
Name: iproute2
-Version: 4.16.0
+Version: 5.12.0
Release: 1
License: GPL v2+
Group: Networking/Admin
Source0: https://www.kernel.org/pub/linux/utils/net/iproute2/%{name}-%{version}.tar.xz
-# Source0-md5: 1f12a70d767ef77ffa2d1a0c4ce48f1a
+# Source0-md5: bbebacdabd4628ff86453ef4771a242a
Source1: %{name}.tmpfiles
-Patch0: %{name}-arp.patch
-
+Patch0: %{name}-link.patch
Patch3: %{name}-LDFLAGS.patch
Patch5: %{name}-build.patch
Patch10: %{name}-2.2.4-wrr.patch
Patch11: esfq-%{name}.patch
Patch12: 001-net-dev-iface-descr-0.1.diff
-Patch13: %{name}-q_atm_c.patch
Patch14: %{name}-q_srr.v0.4.patch
Patch15: %{name}-ip_route_get.patch
-URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
+URL: https://wiki.linuxfoundation.org/networking/iproute2
BuildRequires: bison
BuildRequires: db-devel
# libelf
BuildRequires: elfutils-devel
BuildRequires: flex
BuildRequires: iptables-devel >= 0:1.4.5
+BuildRequires: libbpf-devel
+BuildRequires: libbsd-devel
+BuildRequires: libcap-devel
BuildRequires: libmnl-devel
BuildRequires: libselinux-devel
%if %{with atm}
%endif
BuildRequires: linux-libc-headers >= 7:2.6.12.0-15
BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.673
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires: iptables-libs >= 0:1.4.5
-Obsoletes: ifstat
+Obsoletes: ifstat < 1.2
Obsoletes: iproute
Obsoletes: iproute2-doc < 4.14.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Group: Applications/Shells
Requires: %{name} = %{version}-%{release}
Requires: bash-completion >= 2.0
+BuildArch: noarch
%description -n bash-completion-iproute2
-Bash completion for iproute2 commands (currently only tc).
+Bash completion for iproute2 commands (currently devlink and tc).
%description -n bash-completion-iproute2 -l pl.UTF-8
-Bashowe dopełnianie parametrów poleceń iproute2 (obecnie tylko tc).
+Bashowe dopełnianie parametrów poleceń iproute2 (obecnie devlink i
+tc).
%prep
%setup -q
# conflict with atm-vbr patched linux-libc-headers
%{__rm} include/uapi/linux/atm.h
-#%{__rm} -r include/linux
%patch0 -p1
-
%patch3 -p1
%patch5 -p1
%patch10 -p1
%patch11 -p1
%{?with_iface_descr:%patch12 -p1}
-%patch13 -p0
%patch14 -p1
%patch15 -p1
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/iproute2
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README README.decnet README.iproute2+tc README.distribution README.lnstat examples
+%doc README doc/actions examples
%attr(755,root,root) %{_sbindir}/bridge
%attr(755,root,root) %{_sbindir}/ctstat
+%attr(755,root,root) %{_sbindir}/dcb
%attr(755,root,root) %{_sbindir}/devlink
%attr(755,root,root) %{_sbindir}/genl
%attr(755,root,root) %{_sbindir}/ifcfg
%attr(755,root,root) %{_sbindir}/rtstat
%attr(755,root,root) %{_sbindir}/ss
%attr(755,root,root) %{_sbindir}/tipc
+%attr(755,root,root) %{_sbindir}/vdpa
%dir %{_sysconfdir}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bpf_pinning
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ematch_map
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_scopes
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rt_tables
%{_mandir}/man8/bridge.8*
-%{_mandir}/man8/devlink-resource.8*
-%{_mandir}/man8/genl.8*
-%{_mandir}/man8/ifcfg.8*
-%{_mandir}/man8/ip.8*
-%{_mandir}/man8/ip-*.8*
%{_mandir}/man8/ctstat.8*
+%{_mandir}/man8/dcb.8*
+%{_mandir}/man8/dcb-app.8*
+%{_mandir}/man8/dcb-buffer.8*
+%{_mandir}/man8/dcb-dcbx.8*
+%{_mandir}/man8/dcb-ets.8*
+%{_mandir}/man8/dcb-maxrate.8*
+%{_mandir}/man8/dcb-pfc.8*
%{_mandir}/man8/devlink.8*
%{_mandir}/man8/devlink-dev.8*
+%{_mandir}/man8/devlink-dpipe.8*
+%{_mandir}/man8/devlink-health.8*
%{_mandir}/man8/devlink-monitor.8*
%{_mandir}/man8/devlink-port.8*
+%{_mandir}/man8/devlink-region.8*
+%{_mandir}/man8/devlink-resource.8*
%{_mandir}/man8/devlink-sb.8*
+%{_mandir}/man8/devlink-trap.8*
+%{_mandir}/man8/genl.8*
+%{_mandir}/man8/ifcfg.8*
%{_mandir}/man8/ifstat.8*
+%{_mandir}/man8/ip.8*
+%{_mandir}/man8/ip-*.8*
%{_mandir}/man8/lnstat.8*
%{_mandir}/man8/nstat.8*
+%{_mandir}/man8/rdma.8*
%{_mandir}/man8/rdma-dev.8*
%{_mandir}/man8/rdma-link.8*
%{_mandir}/man8/rdma-resource.8*
-%{_mandir}/man8/rdma.8*
+%{_mandir}/man8/rdma-statistic.8*
+%{_mandir}/man8/rdma-system.8*
%{_mandir}/man8/routef.8*
%{_mandir}/man8/routel.8*
%{_mandir}/man8/rtacct.8*
%{_mandir}/man8/ss.8*
%{_mandir}/man8/tipc.8*
%{_mandir}/man8/tipc-*.8*
+%{_mandir}/man8/vdpa.8*
+%{_mandir}/man8/vdpa-dev.8*
+%{_mandir}/man8/vdpa-mgmtdev.8*
%if %{with tc}
%attr(755,root,root) %{_sbindir}/tc
%dir %{_libdir}/tc
%files -n bash-completion-iproute2
%defattr(644,root,root,755)
+%{bash_compdir}/devlink
%{bash_compdir}/tc