SHA256
1
0
forked from pool/tcpreplay
tcpreplay/tcpreplay.spec
Dirk Mueller f3c0011ea4 Accepting request 989718 from home:dirkmueller:Factory
- update to 4.4.1:
  * fix support for feeding PCAP files from STDIN
  * fix Debian/kfreebsd build
  * fix typos
  * safeguard against corrupt packet lengths in checksum functions
  * fix double free in Juniper DLT
  * fix to flows.c, fix #665
  * update Travis CI to focal
  * LINUX installed netmap auto detection
  * Support for Q-in-Q VLAN tags
  * skipbroadcast
  * add security policy document
  * Directories of pcaps as arguments
  * stage PR from @halver94
  * fix PPS calc for long-running sessions
  * Improve SDK selection
  * fix directory include feature
  * mac os tests fail
  * Revert "send_packet: Avoid clock drift
  * mac update on multicast

OBS-URL: https://build.opensuse.org/request/show/989718
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=28
2022-12-03 17:16:05 +00:00

66 lines
2.0 KiB
RPMSpec

#
# spec file for package tcpreplay
#
# Copyright (c) 2022 SUSE LLC
#
# 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: tcpreplay
Version: 4.4.1
Release: 0
Summary: Network analysis and testing tools
License: GPL-3.0-only
Group: Productivity/Networking/Diagnostic
URL: https://tcpreplay.appneta.com/
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: dbus-1-devel
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
BuildRequires: tcpdump
Requires: tcpdump
%if 0%{?suse_version} >= 1130
BuildRequires: libnl3-devel
%else
# only needed for suse_version < 1130 (i.e. SLE11)
BuildRequires: xz
%endif
%description
Tcpreplay is a suite of utilities for editing and replaying
previously captured network traffic. It was originally designed to
replay malicious traffic patterns to Intrusion Detection/Prevention
Systems, and is meanwhile capable of replaying to web servers. It
supports switches, routers and IP Flow/NetFlow appliances.
%prep
%setup -q
%build
%configure \
--enable-dynamic-link
%make_build
%install
%make_install
%files
%license docs/LICENSE
%doc docs/CHANGELOG
%{_bindir}/*
%{_mandir}/man1/*
%changelog