ALT Linux repositórios
Group :: Monitoramento
RPM: traceroute
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: traceroute
Version: 2.1.0
Release: alt2
Epoch: 1
Summary: Traces the route taken by packets over an IPv4/IPv6 network
License: GPLv2+
Group: Monitoring
Url: http://traceroute.sourceforge.net/
# https://downloads.sourceforge.net/traceroute/traceroute-%version.tar.gz
Source: traceroute-%version.tar
# git://git.altlinux.org/gears/t/traceroute.git
Patch: traceroute-%version-%release.patch
# due to traceroute6
Conflicts: iputils < 0:20020927-alt3
Provides: tcptraceroute = 1.5.0
Obsoletes: tcptraceroute < 1.5.0
%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
%patch -p1
%build
%make_build CFLAGS='%optflags -W' LDFLAGS=
%install
install -pD -m755 traceroute/traceroute %buildroot/bin/traceroute
install -pD -m644 traceroute/traceroute.8 %buildroot%_man1dir/traceroute.1
install -pD -m755 wrappers/tcptraceroute %buildroot%_bindir/tcptraceroute
install -pD -m644 wrappers/tcptraceroute.8 %buildroot%_man1dir/tcptraceroute.1
ln -s traceroute %buildroot/bin/traceroute6
ln -s traceroute.1 %buildroot%_man1dir/traceroute6.1
%files
/bin/*
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.1.0
Release: alt2
Epoch: 1
Summary: Traces the route taken by packets over an IPv4/IPv6 network
License: GPLv2+
Group: Monitoring
Url: http://traceroute.sourceforge.net/
# https://downloads.sourceforge.net/traceroute/traceroute-%version.tar.gz
Source: traceroute-%version.tar
# git://git.altlinux.org/gears/t/traceroute.git
Patch: traceroute-%version-%release.patch
# due to traceroute6
Conflicts: iputils < 0:20020927-alt3
Provides: tcptraceroute = 1.5.0
Obsoletes: tcptraceroute < 1.5.0
%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
%patch -p1
%build
%make_build CFLAGS='%optflags -W' LDFLAGS=
%install
install -pD -m755 traceroute/traceroute %buildroot/bin/traceroute
install -pD -m644 traceroute/traceroute.8 %buildroot%_man1dir/traceroute.1
install -pD -m755 wrappers/tcptraceroute %buildroot%_bindir/tcptraceroute
install -pD -m644 wrappers/tcptraceroute.8 %buildroot%_man1dir/tcptraceroute.1
ln -s traceroute %buildroot/bin/traceroute6
ln -s traceroute.1 %buildroot%_man1dir/traceroute6.1
%files
/bin/*
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui