2016-01-13 19:15:53 +01:00
|
|
|
#
|
|
|
|
# spec file for package bittwist
|
|
|
|
#
|
2023-07-05 16:36:49 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
|
|
|
# Copyright (c) 2016-2023, Martin Hauke <mardnh@gmx.de>
|
2016-01-13 19:15:53 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2023-07-05 16:36:49 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-13 19:15:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: bittwist
|
2023-09-25 18:04:48 +02:00
|
|
|
Version: 3.8
|
2016-01-13 19:15:53 +01:00
|
|
|
Release: 0
|
2017-05-26 21:50:10 +02:00
|
|
|
Summary: A libpcap-based Ethernet packet generator
|
2023-07-05 16:36:49 +02:00
|
|
|
License: GPL-2.0-only
|
2016-01-13 19:15:53 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2023-07-05 16:36:49 +02:00
|
|
|
#Git-Clone: https://github.com/ayeowch/bittwist.git
|
|
|
|
URL: https://bittwist.sourceforge.io
|
2016-01-13 19:15:53 +01:00
|
|
|
Source: http://downloads.sourceforge.net/%{name}/Linux/Bit-Twist%%20%{version}/%{name}-linux-%{version}.tar.gz
|
|
|
|
Patch0: bittwist-makefile.diff
|
|
|
|
BuildRequires: libpcap-devel
|
|
|
|
|
|
|
|
%description
|
2017-05-26 21:50:10 +02:00
|
|
|
Bit-Twist is a libpcap-based Ethernet packet generator complementing
|
|
|
|
tcpdump. It replays traffic captured in .pcap files onto a live
|
|
|
|
network. It comes with a trace file editor to allow you to change the
|
|
|
|
contents of a trace file.
|
2016-01-13 19:15:53 +01:00
|
|
|
|
2017-05-26 21:50:10 +02:00
|
|
|
A packet generator is useful in simulating networking traffic or
|
|
|
|
testing firewall, IDS, and IPS, and troubleshooting various network
|
2016-01-13 19:15:53 +01:00
|
|
|
problems.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-linux-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags}"
|
2023-07-05 16:36:49 +02:00
|
|
|
%make_build
|
2016-01-13 19:15:53 +01:00
|
|
|
|
|
|
|
%install
|
2023-07-05 16:36:49 +02:00
|
|
|
%make_install prefix=/usr
|
2016-01-13 19:15:53 +01:00
|
|
|
|
|
|
|
%files
|
2023-07-05 16:36:49 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS BUGS CHANGES README.md VERSION
|
2016-01-13 19:15:53 +01:00
|
|
|
%{_bindir}/bittwist
|
|
|
|
%{_bindir}/bittwiste
|
2023-07-05 16:36:49 +02:00
|
|
|
%{_mandir}/man1/bittwist.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/bittwiste.1%{?ext_man}
|
2016-01-13 19:15:53 +01:00
|
|
|
|
|
|
|
%changelog
|