File slowhttptest.spec of Package slowhttptest
#
# spec file for package slowhttptest
#
# 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/
#
%define srcversion master
Name: slowhttptest
Version: v1.9.0+git20230425.1e26d0f
Release: 0
Summary: Application Layer DoS attack simulator
License: Apache-2.0
Group: Productivity/Networking/Security
Url: https://github.com/shekyan/slowhttptest
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: openssl-devel
BuildRequires: pkg-config
%description
SlowHTTPTest is a highly configurable tool that simulates some
Application Layer Denial of Service attacks by prolonging HTTP
connections in different ways. Use it to test for DoS vulnerabilites of
your web server, or just to figure out how many concurrent connections
it can handle.
%prep
%setup -q
%build
autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir}
CFLAGS=%{RPM_OPT_FLAGS} make
%install
%make_install
%files
%defattr(-, root, root)
%{_bindir}/*
%license COPYING LICENSE
%doc README.md
%{_mandir}/man1/*
%changelog