forked from pool/tcpreplay
b2f522f913
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=4
64 lines
1.8 KiB
RPMSpec
64 lines
1.8 KiB
RPMSpec
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%if 0%{?suse_version} < 1130
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%endif
|
|
|
|
Name: tcpreplay
|
|
Version: 4.1.1
|
|
Release: 0
|
|
Source: %{name}-%{version}.tar.xz
|
|
Url: http://tcpreplay.appneta.com/
|
|
BuildRequires: libdnet-devel
|
|
BuildRequires: libpcap-devel
|
|
BuildRequires: tcpdump
|
|
BuildRequires: xz
|
|
Requires: tcpdump
|
|
Summary: Network analysis and testing tools
|
|
License: GPL-3.0
|
|
Group: Productivity/Networking/Diagnostic
|
|
|
|
%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
|
|
support switches, routers, and IP Flow/NetFlow appliances.
|
|
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
%configure --enable-dynamic-link
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|