2016-01-28 14:00:01 +01:00
|
|
|
#
|
|
|
|
# spec file for package tcpreplay
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: tcpreplay
|
|
|
|
Version: 4.1.1
|
|
|
|
Release: 0
|
2016-01-31 21:55:26 +01:00
|
|
|
Summary: Network analysis and testing tools
|
|
|
|
License: GPL-3.0
|
|
|
|
Group: Productivity/Networking/Diagnostic
|
2016-01-28 14:00:01 +01:00
|
|
|
Url: http://tcpreplay.appneta.com/
|
2016-01-31 21:55:26 +01:00
|
|
|
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
2016-01-28 14:00:01 +01:00
|
|
|
BuildRequires: libdnet-devel
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
BuildRequires: tcpdump
|
|
|
|
Requires: tcpdump
|
2016-01-31 21:55:26 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Tcpreplay is a suite of free Open Source utilities for editing and
|
|
|
|
replaying previously captured network traffic. Originally designed to
|
|
|
|
replay malicious traffic patterns to Intrusion Detection/Prevention
|
|
|
|
Systems, it has seen many evolutions including capabilities to replay to
|
|
|
|
web servers.
|
|
|
|
|
|
|
|
Version 4.0.0 introduces features and performance enhancements to
|
2016-01-31 21:55:26 +01:00
|
|
|
support switches, routers, and IP Flow/NetFlow appliances.
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%prep
|
2016-01-31 21:55:26 +01:00
|
|
|
%setup -q
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%build
|
2016-01-31 21:55:26 +01:00
|
|
|
%configure \
|
|
|
|
--enable-dynamic-link
|
|
|
|
make %{?_smp_mflags} V=1
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%install
|
2016-01-31 21:55:26 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2016-01-31 21:55:26 +01:00
|
|
|
%doc docs/LICENSE
|
|
|
|
%{_bindir}/tcpbridge
|
|
|
|
%{_bindir}/tcpcapinfo
|
|
|
|
%{_bindir}/tcpliveplay
|
|
|
|
%{_bindir}/tcpprep
|
|
|
|
%{_bindir}/tcpreplay
|
|
|
|
%{_bindir}/tcpreplay-edit
|
|
|
|
%{_bindir}/tcprewrite
|
|
|
|
%{_mandir}/man1/tcpbridge.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcpcapinfo.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcpliveplay.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcpprep.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcpreplay-edit.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcpreplay.1%{ext_man}
|
|
|
|
%{_mandir}/man1/tcprewrite.1%{ext_man}
|
2014-11-26 17:14:33 +01:00
|
|
|
|
2016-01-28 14:00:01 +01:00
|
|
|
%changelog
|