update to 4.15.0 [release 4.15.0-1mamba;Fri Feb 09 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 23:57:19 +01:00
parent 8998c3ee9d
commit 184c886c9a

View File

@ -3,8 +3,8 @@
%define pckdocdir %{_datadir}/doc/iproute-%{version} %define pckdocdir %{_datadir}/doc/iproute-%{version}
Name: iproute Name: iproute
Version: 4.0.0 Version: 4.15.0
Release: 2mamba Release: 1mamba
Summary: Advanced routing tools including ipv6 routing Summary: Advanced routing tools including ipv6 routing
Group: Network/Routing Group: Network/Routing
Vendor: openmamba Vendor: openmamba
@ -33,7 +33,7 @@ BuildRequires: tetex-dvips
BuildRequires: linuxdoc-tools BuildRequires: linuxdoc-tools
BuildRequires: linuxdoc-tools-latex BuildRequires: linuxdoc-tools-latex
%endif %endif
BuildRequires: iptables >= 1.6 BuildRequires: iptables >= 1.6.2
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
Provides: iproute2 = %{?epoch:%epoch:}%{version}-%{release} Provides: iproute2 = %{?epoch:%epoch:}%{version}-%{release}
@ -55,7 +55,7 @@ This package contain the iproute2 documentation in dvi and html formats.
#%patch1 -p1 -b .makefile #%patch1 -p1 -b .makefile
#%patch2 -p1 -b .ip_resolve_crash #%patch2 -p1 -b .ip_resolve_crash
#%patch3 -p1 -b .tc_pfifo_man #%patch3 -p1 -b .tc_pfifo_man
%patch4 -p1 #%patch4 -p1
%patch5 -p1 %patch5 -p1
#%patch6 -p1 #%patch6 -p1
@ -71,9 +71,9 @@ This package contain the iproute2 documentation in dvi and html formats.
LIBDIR=%{_libdir} LIBDIR=%{_libdir}
%endif %endif
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
%make -C doc dvi html #% make -C doc dvi html
%endif #%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -83,10 +83,10 @@ This package contain the iproute2 documentation in dvi and html formats.
DOCDIR=%{pckdocdir} \ DOCDIR=%{pckdocdir} \
LIBDIR=%{_libdir} LIBDIR=%{_libdir}
install -D -m 0755 %{S:1} \ #install -D -m 0755 %{S:1} \
%{buildroot}%{_initrddir}/tc # %{buildroot}%{_initrddir}/tc
install -D -m 0644 %{S:2} \ #install -D -m 0644 %{S:2} \
%{buildroot}%{_sysconfdir}/sysconfig/traffic_control # %{buildroot}%{_sysconfdir}/sysconfig/traffic_control
install -d %{buildroot}/sbin install -d %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/ip %{buildroot}/sbin mv %{buildroot}%{_sbindir}/ip %{buildroot}/sbin
@ -101,31 +101,31 @@ rm -f %{buildroot}%{pckdocdir}/*.sgml
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%preun #% preun
if [ $1 -eq 0 ]; then #if [ $1 -eq 0 ]; then
# erase ## erase
/sbin/chkconfig tc # /sbin/chkconfig tc
if [ $? -eq 0 ]; then # if [ $? -eq 0 ]; then
/sbin/service tc stop # /sbin/service tc stop
/sbin/chkconfig --del tc # /sbin/chkconfig --del tc
fi # fi
fi #fi
exit 0 #exit 0
%postun #% postun
if [ $1 -eq 1 ]; then #if [ $1 -eq 1 ]; then
# upgrade ## upgrade
/sbin/chkconfig tc # /sbin/chkconfig tc
[ $? -eq 0 ] && /sbin/service tc restart # [ $? -eq 0 ] && /sbin/service tc restart
fi #fi
exit 0 #exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/traffic_control #%config(noreplace) %{_sysconfdir}/sysconfig/traffic_control
%dir %{_sysconfdir}/iproute2 %dir %{_sysconfdir}/iproute2
%config %{_sysconfdir}/iproute2/* %config %{_sysconfdir}/iproute2/*
%{_initrddir}/tc #%{_initrddir}/tc
/sbin/ifcfg /sbin/ifcfg
/sbin/ip /sbin/ip
/sbin/tc /sbin/tc
@ -134,15 +134,18 @@ exit 0
%{_sbindir}/bridge %{_sbindir}/bridge
%{_sbindir}/ctstat %{_sbindir}/ctstat
%{_sbindir}/genl %{_sbindir}/genl
%{_sbindir}/devlink
%{_sbindir}/ifstat %{_sbindir}/ifstat
%{_sbindir}/lnstat %{_sbindir}/lnstat
%{_sbindir}/nstat %{_sbindir}/nstat
%{_sbindir}/rdma
%{_sbindir}/routef %{_sbindir}/routef
%{_sbindir}/routel %{_sbindir}/routel
%{_sbindir}/rtacct %{_sbindir}/rtacct
%{_sbindir}/rtpr %{_sbindir}/rtpr
%{_sbindir}/rtstat %{_sbindir}/rtstat
%{_sbindir}/ss %{_sbindir}/ss
%{_sbindir}/tipc
%dir %{_libdir}/tc %dir %{_libdir}/tc
%{_libdir}/tc/m_ipt.so %{_libdir}/tc/m_ipt.so
%{_libdir}/tc/m_xt.so %{_libdir}/tc/m_xt.so
@ -152,21 +155,29 @@ exit 0
%{_libdir}/tc/pareto.dist %{_libdir}/tc/pareto.dist
%{_libdir}/tc/paretonormal.dist %{_libdir}/tc/paretonormal.dist
#%{_libdir}/tc/q_atm.so #%{_libdir}/tc/q_atm.so
%{_includedir}/iproute2/bpf_elf.h
%{_datadir}/bash-completion/completions/tc
%{_mandir}/man3/libnetlink.* %{_mandir}/man3/libnetlink.*
%{_mandir}/man7/tc-hfsc.7* %{_mandir}/man7/tc-hfsc.7*
%{_mandir}/man8/* %{_mandir}/man8/*
%doc COPYING %doc COPYING
%if "%{stage1}" != "1" #%if "%{stage1}" != "1"
%files doc #%files doc
%defattr(-,root,root) #%defattr(-,root,root)
%doc doc/*.dvi #%doc doc/*.dvi
%doc doc/*.html #%doc doc/*.html
%doc README #%doc README
%doc examples/ #%doc examples/
%endif #%endif
%changelog %changelog
* Fri Feb 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.15.0-1mamba
- update to 4.15.0
* Fri Feb 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-3mamba
- rebuilt with iptables 1.6.2
* Tue Feb 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba * Tue Feb 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
- rebuilt with iptables 1.6.0 - rebuilt with iptables 1.6.0