|
|
@ -2,28 +2,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Network monitoring tools including ping
|
|
|
|
Summary: Network monitoring tools including ping
|
|
|
|
Name: iputils
|
|
|
|
Name: iputils
|
|
|
|
Version: 20210202
|
|
|
|
Version: 20240905
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
# some parts are under the original BSD (ping.c)
|
|
|
|
# some parts are under the original BSD (ping.c)
|
|
|
|
# some are under GPLv2+ (tracepath.c)
|
|
|
|
# some are under GPLv2+ (tracepath.c)
|
|
|
|
License: BSD and GPLv2+
|
|
|
|
License: BSD-4-Clause-UC AND GPL-2.0-or-later
|
|
|
|
URL: https://github.com/iputils/iputils
|
|
|
|
URL: https://github.com/iputils/iputils
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/iputils/iputils/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/iputils/iputils/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# ifenslave.tar.gz was taken from kernel 3.10 source at: https://elixir.bootlin.com/linux/v3.10/source/Documentation/networking/ifenslave.c
|
|
|
|
|
|
|
|
Source1: ifenslave.tar.gz
|
|
|
|
Source1: ifenslave.tar.gz
|
|
|
|
Source2: rdisc.service
|
|
|
|
|
|
|
|
Source3: ninfod.service
|
|
|
|
|
|
|
|
# Taken from ping.c on 2014-07-12
|
|
|
|
# Taken from ping.c on 2014-07-12
|
|
|
|
Source4: bsd.txt
|
|
|
|
Source4: bsd.txt
|
|
|
|
Source5: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
|
|
Source5: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream patches
|
|
|
|
|
|
|
|
Patch001: 001-ping-remove-unsupported-IPv6-warning-on-disabled-IPv6.patch
|
|
|
|
|
|
|
|
Patch002: 002-ping-Fix-ping6-binding-to-VRF-and-address.patch
|
|
|
|
|
|
|
|
Patch003: 003-ping6-Avoid-binding-to-non-VRF.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Downstream-only patches
|
|
|
|
|
|
|
|
Patch100: 100-iputils-ifenslave.patch
|
|
|
|
Patch100: 100-iputils-ifenslave.patch
|
|
|
|
Patch101: 101-iputils-ifenslave-CWE-170.patch
|
|
|
|
Patch101: 101-iputils-ifenslave-CWE-170.patch
|
|
|
|
Patch102: 102-iputils-ifenslave-CWE-170-2.patch
|
|
|
|
Patch102: 102-iputils-ifenslave-CWE-170-2.patch
|
|
|
@ -37,11 +28,11 @@ BuildRequires: openssl-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libxslt docbook5-style-xsl
|
|
|
|
BuildRequires: libxslt docbook5-style-xsl
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
|
|
|
BuildRequires: iproute
|
|
|
|
%{?systemd_ordering}
|
|
|
|
%{?systemd_ordering}
|
|
|
|
Provides: /bin/ping
|
|
|
|
Provides: /bin/ping
|
|
|
|
Provides: /bin/ping6
|
|
|
|
Provides: /bin/ping6
|
|
|
|
Provides: /sbin/arping
|
|
|
|
Provides: /sbin/arping
|
|
|
|
Provides: /sbin/rdisc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The iputils package contains basic utilities for monitoring a network,
|
|
|
|
The iputils package contains basic utilities for monitoring a network,
|
|
|
@ -49,118 +40,120 @@ including ping. The ping command sends a series of ICMP protocol
|
|
|
|
ECHO_REQUEST packets to a specified network host to discover whether
|
|
|
|
ECHO_REQUEST packets to a specified network host to discover whether
|
|
|
|
the target machine is alive and receiving network traffic.
|
|
|
|
the target machine is alive and receiving network traffic.
|
|
|
|
|
|
|
|
|
|
|
|
%package ninfod
|
|
|
|
|
|
|
|
Summary: Node Information Query Daemon
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: %{_sbindir}/ninfod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description ninfod
|
|
|
|
|
|
|
|
Node Information Query (RFC4620) daemon. Responds to IPv6 Node Information
|
|
|
|
|
|
|
|
Queries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -a 1 -n %{name}-%{version}
|
|
|
|
%autosetup -a 1 -n %{name}-%{version}
|
|
|
|
cp %{SOURCE4} %{SOURCE5} .
|
|
|
|
cp %{SOURCE4} %{SOURCE5} .
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%meson -DBUILD_TFTPD=false
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
gcc $RPM_OPT_FLAGS $CFLAGS $RPM_LD_FLAGS $LDFLAGS ifenslave.c -o ifenslave
|
|
|
|
gcc $RPM_OPT_FLAGS $CFLAGS $RPM_LD_FLAGS $LDFLAGS ifenslave.c -o ifenslave
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
|
ln -sf ../bin/ping ${RPM_BUILD_ROOT}%{_sbindir}/ping
|
|
|
|
ln -sf ../bin/ping ${RPM_BUILD_ROOT}%{_sbindir}/ping
|
|
|
|
ln -sf ../bin/ping ${RPM_BUILD_ROOT}%{_sbindir}/ping6
|
|
|
|
ln -sf ../bin/ping ${RPM_BUILD_ROOT}%{_sbindir}/ping6
|
|
|
|
ln -sf ../bin/tracepath ${RPM_BUILD_ROOT}%{_sbindir}/tracepath
|
|
|
|
ln -sf ../bin/tracepath ${RPM_BUILD_ROOT}%{_sbindir}/tracepath
|
|
|
|
ln -sf ../bin/tracepath ${RPM_BUILD_ROOT}%{_sbindir}/tracepath6
|
|
|
|
ln -sf ../bin/tracepath ${RPM_BUILD_ROOT}%{_sbindir}/tracepath6
|
|
|
|
ln -sf ../bin/arping ${RPM_BUILD_ROOT}%{_sbindir}/arping
|
|
|
|
ln -sf ../bin/arping ${RPM_BUILD_ROOT}%{_sbindir}/arping
|
|
|
|
ln -sf ping.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/ping6.8.gz
|
|
|
|
echo ".so man8/ping.8" > ${RPM_BUILD_ROOT}%{_mandir}/man8/ping6.8
|
|
|
|
ln -sf tracepath.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/tracepath6.8.gz
|
|
|
|
echo ".so man8/tracepath.8" > ${RPM_BUILD_ROOT}%{_mandir}/man8/tracepath6.8
|
|
|
|
install -cp ifenslave ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
|
|
install -cp ifenslave ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
|
|
install -cp ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
|
|
install -cp ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%systemd_post rdisc.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
%systemd_preun rdisc.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
%systemd_postun_with_restart rdisc.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post ninfod
|
|
|
|
|
|
|
|
%systemd_post ninfod.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun ninfod
|
|
|
|
|
|
|
|
%systemd_preun ninfod.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun ninfod
|
|
|
|
|
|
|
|
%systemd_postun_with_restart ninfod.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc README.bonding
|
|
|
|
%doc README.bonding
|
|
|
|
%license bsd.txt gpl-2.0.txt
|
|
|
|
%license bsd.txt gpl-2.0.txt
|
|
|
|
%{_unitdir}/rdisc.service
|
|
|
|
|
|
|
|
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/clockdiff
|
|
|
|
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/clockdiff
|
|
|
|
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/arping
|
|
|
|
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/arping
|
|
|
|
%attr(0755,root,root) %{_bindir}/ping
|
|
|
|
%attr(0755,root,root) %{_bindir}/ping
|
|
|
|
%{_sbindir}/ifenslave
|
|
|
|
%{_sbindir}/ifenslave
|
|
|
|
%{_sbindir}/rdisc
|
|
|
|
|
|
|
|
%{_bindir}/tracepath
|
|
|
|
%{_bindir}/tracepath
|
|
|
|
%{_sbindir}/ping
|
|
|
|
%{_sbindir}/ping
|
|
|
|
%{_sbindir}/ping6
|
|
|
|
%{_sbindir}/ping6
|
|
|
|
%{_sbindir}/tracepath
|
|
|
|
%{_sbindir}/tracepath
|
|
|
|
%{_sbindir}/tracepath6
|
|
|
|
%{_sbindir}/tracepath6
|
|
|
|
%{_sbindir}/arping
|
|
|
|
%{_sbindir}/arping
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/clockdiff.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/clockdiff.8*
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/arping.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/arping.8*
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ping.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ping.8*
|
|
|
|
%{_mandir}/man8/ping6.8.gz
|
|
|
|
%{_mandir}/man8/ping6.8*
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/rdisc.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/tracepath.8*
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/tracepath.8.gz
|
|
|
|
%{_mandir}/man8/tracepath6.8*
|
|
|
|
%{_mandir}/man8/tracepath6.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ifenslave.8*
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ifenslave.8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files ninfod
|
|
|
|
|
|
|
|
%attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/ninfod
|
|
|
|
|
|
|
|
%{_unitdir}/ninfod.service
|
|
|
|
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ninfod.8.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 22 2024 Jan Macku <jamacku@redhat.com> - 20210202-10
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 20240905-1
|
|
|
|
- ping: Fix ping6 binding to VRF and address (RHEL-63060)
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 06 2024 Jan Macku <jamacku@redhat.com> - 20240905-1
|
|
|
|
|
|
|
|
- Update to 20240905 (RHEL-57770)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 20240117-6
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 03 2023 Jan Macku <jamacku@redhat.com> - 20210202-9
|
|
|
|
* Tue May 28 2024 Jan Macku <jamacku@redhat.com> - 20240117-5
|
|
|
|
- ping: Remove 'unsupported IPv6' warning on disabled IPv6 (rhbz#2152511)
|
|
|
|
- Fix ifenslave defects detected by Coverity
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 25 2022 Jan Macku <jamacku@redhat.com> - 20210202-8
|
|
|
|
* Sun Feb 11 2024 Kevin Fenzi <kevin@scrye.com> - 20240117-4
|
|
|
|
- Build iputils and ifenslave with correct flags (rhbz#2144509)
|
|
|
|
- Fix sources. Fixes rhbz#2263028
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 20210202-7
|
|
|
|
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20240117-3
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 20210202-6
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20240117-2
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 14 2021 Jan Macku <jamacku@redhat.com> - 20210202-5
|
|
|
|
* Sun Jan 21 2024 Kevin Fenzi <kevin@scrye.com> - 20240117-1
|
|
|
|
- spec: Add note about source of ifenslave code (rhbz#1938746)
|
|
|
|
- Update to 20240117. Fixes rhbz#2258910
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Jan Macku <jamacku@redhat.com> - 20210202-4
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20231222-2
|
|
|
|
- ifenslave: fix CWE-170 (rhbz#1938746)
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 20210202-3
|
|
|
|
* Wed Dec 27 2023 Kevin Fenzi <kevin@scrye.com> - 20231222-1
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Update to 20231222. Fixes rhbz#2255687
|
|
|
|
|
|
|
|
- Fix PatchN warnings
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Jan Macku <jamacku@redhat.com> - 20210202-2
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221126-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 12 2023 Lukáš Zaoral <lzaoral@redhat.com> - 20221126-3
|
|
|
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221126-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 27 2022 Kevin Fenzi <kevin@scrye.com> - 20221126-1
|
|
|
|
|
|
|
|
- Update to 20221126. Fixes rhbz#2148690
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 25 2022 Jan Macku <jamacku@redhat.com> - 20211215-4
|
|
|
|
|
|
|
|
- Build iputils and ifenslave with correct flags provided by Fedora
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211215-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211215-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 16 2021 Kevin Fenzi <kevin@scrye.com> - 20211215-1
|
|
|
|
|
|
|
|
- Update to 20211215. Fixes rhbz#2033161
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 25 2021 Kevin Fenzi <kevin@scrye.com> - 20210722-1
|
|
|
|
|
|
|
|
- Update to 20210722. Fixes rhbz#1985117
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210202-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Jan Macku <jamacku@redhat.com> - 20210202-3
|
|
|
|
- ifenslave: fix CWE-170 (related to rhbz#1938746)
|
|
|
|
- ifenslave: fix CWE-170 (related to rhbz#1938746)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 20210202-2
|
|
|
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 02 2021 Kevin Fenzi <kevin@scrye.com> - 20210202-1
|
|
|
|
* Tue Feb 02 2021 Kevin Fenzi <kevin@scrye.com> - 20210202-1
|
|
|
|
- Update to 20210202. Fixes rhbz#1923917
|
|
|
|
- Update to 20210202. Fixes rhbz#1923917
|
|
|
|
|
|
|
|
|
|
|
|