2018-06-22 05:12:19 +02:00
|
|
|
#
|
|
|
|
# spec file for package nemesis
|
|
|
|
#
|
2021-07-21 13:57:28 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
# Copyright (c) 2018-2021, Martin Hauke <mardnh@gmx.de>
|
2018-06-22 05:12:19 +02: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.
|
|
|
|
|
2019-07-07 15:45:38 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-06-22 05:12:19 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: nemesis
|
2021-07-21 13:57:28 +02:00
|
|
|
Version: 1.8
|
2018-06-22 05:12:19 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: TCP/IP Packet Injection Suite
|
2018-08-02 19:30:03 +02:00
|
|
|
License: BSD-4-Clause
|
2018-06-22 05:12:19 +02:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
|
|
|
URL: http://troglobit.com/projects/nemesis/
|
|
|
|
#Git-Clone: https://github.com/troglobit/nemesis
|
|
|
|
Source: https://github.com/troglobit/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libnet-devel
|
|
|
|
|
|
|
|
%description
|
2018-07-29 13:06:56 +02:00
|
|
|
A commandline-based IP stack for Linux. The suite is broken down by
|
|
|
|
protocol and allows for scripting of injected packet streams from
|
|
|
|
shell scripts.
|
2018-06-22 05:12:19 +02:00
|
|
|
|
|
|
|
Key features:
|
|
|
|
* support for ARP, DNS, ICMP, IGMP, OSPF, RIP, TCP, UDP protocols
|
|
|
|
* layer 2 or layer 3 injection
|
|
|
|
* packet payload from file
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2020-06-19 18:01:01 +02:00
|
|
|
export CFLAGS="%optflags -fcommon"
|
2018-06-22 05:12:19 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/doc
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc docs/CREDITS ChangeLog.md README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/nemesis
|
|
|
|
%{_mandir}/man1/nemesis*.1%{?ext_man}
|
|
|
|
|
|
|
|
%changelog
|