2013-01-27 20:24:57 +01:00
|
|
|
#
|
2013-03-07 19:12:56 +01:00
|
|
|
# spec file for package traceroute
|
2013-01-27 20:24:57 +01:00
|
|
|
#
|
2019-01-11 13:44:48 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-01-27 20:24:57 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-11 13:44:48 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-01-27 20:24:57 +01:00
|
|
|
#
|
|
|
|
|
2013-03-07 19:12:56 +01:00
|
|
|
|
2013-01-27 20:24:57 +01:00
|
|
|
Name: traceroute
|
2019-01-11 13:44:48 +01:00
|
|
|
Version: 2.1.0
|
2013-01-27 20:24:57 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A new modern implementation of traceroute(8) utility for Linux systems
|
2019-01-11 13:44:48 +01:00
|
|
|
License: GPL-2.0-or-later
|
2013-01-27 20:24:57 +01:00
|
|
|
Group: Productivity/Networking/Other
|
2013-03-07 19:12:56 +01:00
|
|
|
Url: http://traceroute.sourceforge.net/
|
2013-01-27 20:24:57 +01:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-09-01 08:04:05 +02:00
|
|
|
Patch0: traceroute-autotools.patch
|
|
|
|
Patch1: traceroute-secure_getenv.patch
|
2015-07-17 07:07:11 +02:00
|
|
|
BuildRequires: automake
|
2013-01-27 20:24:57 +01:00
|
|
|
Provides: net-tools:%{_sbindir}/%{name}
|
2019-01-11 13:44:48 +01:00
|
|
|
Provides: tcptraceroute
|
|
|
|
Obsoletes: tcptraceroute <= 1.5.beta7
|
2013-01-27 20:24:57 +01: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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-09-01 08:04:05 +02:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2013-01-27 20:24:57 +01:00
|
|
|
|
|
|
|
%build
|
2013-03-07 19:12:56 +01:00
|
|
|
export LDFLAGS="-Wl,-z,relro,-z,now"
|
2013-01-27 20:24:57 +01:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2013-03-07 19:12:56 +01:00
|
|
|
ln -sf %{_sbindir}/%{name} %{buildroot}%{_sbindir}/%{name}6
|
|
|
|
ln -s %{_mandir}/man8/traceroute.8 %{buildroot}%{_mandir}/man8/traceroute6.8
|
2019-01-11 13:44:48 +01:00
|
|
|
install -D -m0755 wrappers/tcptraceroute %{buildroot}%{_bindir}/tcptraceroute
|
|
|
|
install -m0644 wrappers/tcptraceroute.8 %{buildroot}%{_mandir}/man8/tcptraceroute.8
|
2013-01-27 20:24:57 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2019-01-11 13:44:48 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README
|
|
|
|
%{_bindir}/tcptraceroute
|
2013-01-27 20:24:57 +01:00
|
|
|
%{_sbindir}/%{name}
|
2013-03-07 19:12:56 +01:00
|
|
|
%{_sbindir}/%{name}6
|
|
|
|
%{_mandir}/man8/traceroute*.8*
|
2019-01-11 13:44:48 +01:00
|
|
|
%{_mandir}/man8/tcptraceroute.8*
|
2013-01-27 20:24:57 +01:00
|
|
|
|
|
|
|
%changelog
|