###############################################################################
name = iproute2
-version = 3.3.0
-release = 1
+version = 3.14.0
+release = 2
groups = Networking/Tools
url = http://www.linuxfoundation.org/en/Net:Iproute2
summary = Advanced IP routing and network device configuration tools.
description
- The iproute package contains networking utilities (ip and rtmon, for \
- example) which are designed to use the advanced networking \
+ The iproute package contains networking utilities (ip and rtmon, for
+ example) which are designed to use the advanced networking
capabilities of the Linux 2.4.x and 2.6.x kernel.
end
-source_dl =
+source_dl = http://kernel.org/pub/linux/utils/net/iproute2/
sources = %{thisapp}.tar.xz
build
requires
bison
- db4-devel
flex
+ libdb-devel
libnl-devel
linux-atm-devel >= 2.5.1
- iptables-devel
end
prepare_cmds
- sed -e "s/_VERSION_/%{version}/" man/man8/ss.8
+ sed -e "s/^LIBDIR=/LIBDIR?=/" -i Makefile
end
export RPM_OPT_FLAGS = %{CFLAGS}
%{BUILDROOT}%{sysconfdir}/iproute2
# Install binaries.
- for bin in genl/genl ip/{ifcfg,ip,routef,routel,rtpr} tc/tc \
- misc/{arpd,ifstat,lnstat,nstat,rtacct,ss}; do
+ for bin in bridge/bridge genl/genl ip/{ifcfg,ip,routef,routel,rtmon,rtpr} \
+ tc/tc misc/{arpd,ifstat,lnstat,nstat,rtacct,ss}; do
install -v -m 755 ${bin} %{BUILDROOT}%{sbindir}
done
ln -svf lnstat %{BUILDROOT}%{sbindir}/ctstat
ln -svf lnstat %{BUILDROOT}%{sbindir}/rtstat
# Install libs.
- for lib in tc/q_atm.so tc/m_xt.so; do
- install -v -m 755 ${lib} %{BUILDROOT}%{libdir}/tc
- done
- ln -svf m_xt.so %{BUILDROOT}%{libdir}/tc/m_ipt.so
+ install -v -m 755 tc/q_atm.so %{BUILDROOT}%{libdir}/tc
# libnetlink
install -v -m 644 include/libnetlink.h %{BUILDROOT}%{includedir}