2019-09-30 11:18:42 -04:00
|
|
|
Name: traceroute
|
|
|
|
|
Epoch: 3
|
2023-12-29 11:07:42 +00:00
|
|
|
Version: 2.1.5
|
2024-03-11 04:29:42 +00:00
|
|
|
Release: 2
|
2019-09-30 11:18:42 -04:00
|
|
|
Summary: A new modern implementation of traceroute(8) utility for Linux systems
|
2023-07-22 13:41:17 +08:00
|
|
|
License: GPL-2.0-or-later
|
2019-09-30 11:18:42 -04:00
|
|
|
URL: http://traceroute.sourceforge.net/
|
2023-12-29 11:07:42 +00:00
|
|
|
Source0: https://sourceforge.net/projects/traceroute/files/traceroute/%{name}-%{version}/%{name}-%{version}.tar.gz
|
2023-10-30 08:56:38 +00:00
|
|
|
|
2019-09-30 11:18:42 -04:00
|
|
|
Provides: tcptraceroute = 1.5-1
|
|
|
|
|
Obsoletes: tcptraceroute < 1.5-1
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
2024-03-11 04:29:42 +00:00
|
|
|
Patch0001: 0001-support-clang-build.patch
|
|
|
|
|
|
2019-09-30 11:18:42 -04:00
|
|
|
%description
|
|
|
|
|
Traceroute tracks the route packets taken from an IP network on their way
|
|
|
|
|
to a given host. It utilizes the IP protocol's time to live (TTL) field
|
|
|
|
|
and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway
|
|
|
|
|
along the path to the host.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2023-07-22 13:41:17 +08:00
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SKIPDIRS="${RPM_SPECPARTS_DIR##*/}"
|
2019-09-30 11:18:42 -04:00
|
|
|
|
|
|
|
|
%install
|
2023-07-22 13:41:17 +08:00
|
|
|
install -D -p -m755 traceroute/traceroute $RPM_BUILD_ROOT%{_bindir}/traceroute
|
|
|
|
|
ln -s traceroute $RPM_BUILD_ROOT%{_bindir}/traceroute6
|
|
|
|
|
install -D -p -m755 wrappers/tcptraceroute $RPM_BUILD_ROOT%{_bindir}/tcptraceroute
|
|
|
|
|
install -D -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/traceroute.8
|
|
|
|
|
ln -s traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/traceroute6.8
|
|
|
|
|
ln -s traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/tcptraceroute.8
|
2019-09-30 11:18:42 -04:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:54:38 +08:00
|
|
|
%license COPYING
|
2019-09-30 11:18:42 -04:00
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README TODO CREDITS
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-03-11 04:29:42 +00:00
|
|
|
* Fri Mar 1 2024 luofeng <luofeng13@huawei.com> - 3:2.1.5-2
|
|
|
|
|
- support clang build
|
|
|
|
|
|
2023-12-29 11:07:42 +00:00
|
|
|
* Fri Dec 29 2023 Xingwei <xingwei14@h-partners.com> - 3:2.1.5-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Update to version 2.1.5
|
|
|
|
|
|
2023-10-30 08:56:38 +00:00
|
|
|
* Mon Oct 30 2023 xingwei <xingwei14@h-partners.com> - 3:2.1.2-2
|
|
|
|
|
- Type:CVE
|
|
|
|
|
- CVE:CVE-2023-46316
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix CVE-2023-46316
|
|
|
|
|
|
2023-07-22 13:41:17 +08:00
|
|
|
* Jul Sat 22 2023 Xingwei <xingwei14@h-partners.com> - 3:2.1.2-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Update to version 2.1.2
|
|
|
|
|
|
2023-02-02 13:50:38 +08:00
|
|
|
* Thu Feb 2 2023 Cao Jingbo <caojb@chinatelecom.cn> - 3:2.1.1-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Update to version 2.1.1
|
|
|
|
|
|
2020-09-08 19:04:25 +08:00
|
|
|
* Tue Sep 8 2020 lunankun <lunankun@huawei.com> - 2.1.0-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change source0 url
|
|
|
|
|
|
2019-11-06 19:54:38 +08:00
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.0-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change the directory of the license file
|
|
|
|
|
|
2019-09-30 11:18:42 -04:00
|
|
|
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.0-9
|
|
|
|
|
- Type: enhancement
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: rebuilt spec, add help package.
|
|
|
|
|
|
|
|
|
|
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.0-8
|
|
|
|
|
- Package init
|
|
|
|
|
|