scamper/scamper.spec
Sebastian Wagner 50ce79544f - update to 20211026:
scamper:
 * in trace, allow probes to multiple consecutive hops to be
   outstanding in the network without having to stop and wait,
   using the -N parameter documented in scamper's man page.
 * in trace, do optional PTR lookups using the option documented
   in scamper's man page.  output these hostnames into warts and
   json outputs.
 * bump libscamperfile version for the above changes.
 * document that scamper's control socket can be told to return
   JSON through an option now documented in scamper's man page.
 * improvements to reading warts files via fuzzing.
 * other man page tidy ups.
 sc_erosprober:
 * add the ability to adjust the probe list at run time through a
   unix domain socket, documented in the sc_erosprober man page.
 sc_hoiho:
 * add the ability to learn regular expressions that extract
   geographic hints from router hostnames, documented in the
   sc_hoiho man page

OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=31
2021-10-27 19:05:05 +00:00

104 lines
3.7 KiB
RPMSpec

#
# spec file for package scamper
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: scamper
Version: 20211026
Release: 0
Summary: Parallel Internet measurement utility
License: GPL-2.0-only
Group: Productivity/Networking/Diagnostic
URL: https://www.caida.org/tools/measurement/scamper/
Source: https://www.caida.org/tools/measurement/%{name}/code/%{name}-cvs-%{version}.tar.gz
BuildRequires: libopenssl-devel
BuildRequires: pkgconfig
%description
Scamper is a program that is able to conduct Internet measurement
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
fill a specified packets-per-second rate. Currently, it supports the
well-known ping and traceroute techniques, as well as MDA traceroute,
alias resolution, some parts of tbit, sting, and neighbour discovery.
Scamper can do ICMP-based Path MTU discovery. scamper starts with the
outgoing interface's MTU and discovers the location of Path MTU
bottlenecks. scamper performs a PMTUD search when an ICMP
fragmentation required message is not returned to establish the PMTU
to the next point in the network, followed by a TTL limited search to
infer where the failure appears to occur.
%package -n libscamperfile1
Summary: File access library for scamper's binary dump format
Group: System/Libraries
%description -n libscamperfile1
Scamper is a program that is able to conduct Internet measurement
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
fill a specified packets-per-second rate. Currently, it supports the
well-known ping and traceroute techniques, as well as MDA traceroute,
alias resolution, some parts of tbit, sting, and neighbour discovery.
This package contains the library that provides access to the binary output
files that scamper can produce in certain modes.
%package -n libscamperfile-devel
Summary: Development headers for scamper's binary dump file access library
Group: Development/Libraries/Other
Requires: libscamperfile1 = %{version}-%{release}
%description -n libscamperfile-devel
Scamper is a program that is able to conduct Internet measurement
tasks to large numbers of IPv4 and IPv6 addresses, in parallel, to
fill a specified packets-per-second rate. Currently, it supports the
well-known ping and traceroute techniques, as well as MDA traceroute,
alias resolution, some parts of tbit, sting, and neighbour discovery.
This package contains development headers and other ancillary files for the
libscamperfile library.
%prep
%setup -q -n %{name}-cvs-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libscamperfile1 -p /sbin/ldconfig
%postun -n libscamperfile1 -p /sbin/ldconfig
%files
%license COPYING
%{_bindir}/sc_*
%{_bindir}/scamper
%{_mandir}/man1/*
%{_mandir}/man5/*
%files -n libscamperfile1
%{_libdir}/libscamperfile.so.*
%files -n libscamperfile-devel
%{_includedir}/scamper_*
%{_libdir}/libscamperfile.so
%{_mandir}/man3/*
%changelog