scamper/scamper.spec
Sebastian Wagner 667e4b3cd1 - update to version 20230614a
* configure:
  * better tests for zlib, libbz2, and liblzma that check for both
    libraries and headers.
  * change --with-sc_uptime, --with-sc_hoiho, and --with-tests to be
    --enable-sc_uptime, --enable-sc_hoiho, and --enable-tests
  * disable maintainer mode, pass foreign to AM_INIT_AUTOMAKE
 * scamper:
  * remove reading regular files from poll/select/epoll/kqueue path,
    which fixes reading regular input files (-f option to scamper) using
    epoll or kqueue
  * fix reading stdin as input (-f option to scamper) when using
    epoll (catch EPOLLHUP)
  * add DNS server to host signature, add host path for scamper_task_find
  * rework scamper_osinfo to work with malformed release names (uname -r)
  * dealias: do not crash on malformed prefixscan and bump commands
  * dealias: fix memory leak of probedefs on malformed commands
  * sting: fix memory leak of recorded packets
  * remove tsps input method (-O tsps option to scamper)
  * update manual page
 * libscamperctrl:
  * link against list.o and splaytree.o so that the library is self-contained
  * fix memory leak when task is not accepted
  * API improvements
 * libscamperfile:
  * fix memory leak when reading SOA/MX from warts file
  * fix memory leak when reading PMTUD traceroute structures from warts file
  * sting: fix memory leak of recorded packets
 * sc_analysis_dump, sc_warts2pcap, sc_wartscat, sc_wartsfilter:
  * link against list.o/utils.o so that these utilities are not reliant on

OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=50
2023-08-09 06:01:41 +00:00

148 lines
5.4 KiB
RPMSpec

#
# spec file for package scamper
#
# Copyright (c) 2023 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: 20230614a
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 libscamperfile6
Summary: File access library for scamper's binary dump format
Group: System/Libraries
Obsoletes: libscamperfile1 < %{version}
Obsoletes: libscamperfile2 < %{version}
Obsoletes: libscamperfile3 < %{version}
Obsoletes: libscamperfile4 < %{version}
Obsoletes: libscamperfile5 < %{version}
%description -n libscamperfile6
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: libscamperfile6 = %{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.
%package -n libscamperctrl2
Summary: Control library for scamper
Group: System/Libraries
Obsoletes: libscamperctl1 < %{version}
%description -n libscamperctrl2
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 thee library that provides functions to interact
with a collection of scamper instances.
%package -n libscamperctrl-devel
Summary: Development headers for scamper's control library
Group: Development/Libraries/Other
Requires: libscamperctrl2 = %{version}-%{release}
%description -n libscamperctrl-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
libscamperctrl library.
%prep
%setup -q -n %{name}-cvs-%{version}
%build
%configure --disable-static --without-debugfile
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libscamperfile6 -p /sbin/ldconfig
%post -n libscamperctrl2 -p /sbin/ldconfig
%postun -n libscamperfile6 -p /sbin/ldconfig
%postun -n libscamperctrl2 -p /sbin/ldconfig
%files
%license COPYING
%{_bindir}/sc_*
%{_bindir}/scamper
%{_mandir}/man1/*
%{_mandir}/man5/*
%files -n libscamperfile6
%{_libdir}/libscamperfile.so.*
%files -n libscamperfile-devel
%{_includedir}/scamper_*
%{_libdir}/libscamperfile.so
%{_mandir}/man3/*
%files -n libscamperctrl2
%{_libdir}/libscamperctrl.so.*
%files -n libscamperctrl-devel
%{_includedir}/libscamperctrl.h
%{_libdir}/libscamperctrl.so
%changelog