|
|
|
@ -3,7 +3,7 @@
@@ -3,7 +3,7 @@
|
|
|
|
|
Summary: Basic networking tools |
|
|
|
|
Name: net-tools |
|
|
|
|
Version: 2.0 |
|
|
|
|
Release: 0.24.%{checkout}%{?dist} |
|
|
|
|
Release: 0.25.%{checkout}%{?dist} |
|
|
|
|
License: GPLv2+ |
|
|
|
|
Group: System Environment/Base |
|
|
|
|
URL: http://sourceforge.net/projects/net-tools/ |
|
|
|
@ -68,8 +68,8 @@ Patch24: net-tools-netstat-sctp-man.patch
@@ -68,8 +68,8 @@ Patch24: net-tools-netstat-sctp-man.patch
|
|
|
|
|
# output of interface names was restricted to 8-10 characters max |
|
|
|
|
Patch25: net-tools-interface-name-len.patch |
|
|
|
|
|
|
|
|
|
# avoid redefinition tunnel struct |
|
|
|
|
Patch100: net-tools-if-tunnel-struct.patch |
|
|
|
|
# output of route -A inet6 is missing a space |
|
|
|
|
Patch26: net-tools-route-inet6-output.patch |
|
|
|
|
|
|
|
|
|
BuildRequires: gettext, libselinux |
|
|
|
|
BuildRequires: libselinux-devel |
|
|
|
@ -109,19 +109,17 @@ cp %SOURCE8 ./man/en_US
@@ -109,19 +109,17 @@ cp %SOURCE8 ./man/en_US
|
|
|
|
|
%patch23 -p1 -b .round-EiB |
|
|
|
|
%patch24 -p1 -b .sctp-man |
|
|
|
|
%patch25 -p1 -b .interface-name-len |
|
|
|
|
|
|
|
|
|
%patch100 -p1 |
|
|
|
|
%patch26 -p1 -b .route-inet6-output |
|
|
|
|
|
|
|
|
|
touch ./config.h |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
# Sparc and s390 arches need to use -fPIE |
|
|
|
|
#%ifarch sparcv9 sparc64 s390 s390x |
|
|
|
|
#export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fPIE" |
|
|
|
|
#%else |
|
|
|
|
#export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fpie" |
|
|
|
|
#%endif |
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS $CFLAGS" |
|
|
|
|
%ifarch sparcv9 sparc64 s390 s390x |
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fPIE" |
|
|
|
|
%else |
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fpie" |
|
|
|
|
%endif |
|
|
|
|
# RHBZ #853193 |
|
|
|
|
export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" |
|
|
|
|
|
|
|
|
@ -188,6 +186,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
@@ -188,6 +186,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
|
|
|
|
|
%attr(0644,root,root) %{_unitdir}/arp-ethers.service |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Mon Jan 07 2019 Michal Ruprich <mruprich@redhat.com> - 2.0-0.25.20131004git |
|
|
|
|
- Resolves: #1632905 - The output of `route -A inet6` does not display properly when the 'Use' column output is over 6 digits |
|
|
|
|
|
|
|
|
|
* Wed Apr 25 2018 Michal Ruprich <mruprich@redhat.com> - 2.0-0.24.20131004git |
|
|
|
|
- Resolves: #1568306 - netstat -i only shows 8 characters of Iface name |
|
|
|
|
|
|
|
|
|