Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562428
en ru br
ALT Linux repos
S:2.72-alt1.1
5.0: 2.68-alt2
4.1: 2.65-alt0.1.1
4.0: 2.65-alt0.1.1

Group :: Networking/WWW
RPM: siege

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: siege
Version: 2.72
Release: alt1

Summary: An HTTP regression testing/benchmarking utility

License: %gpl2plus
Group: Networking/WWW
Url: http://www.joedog.org/JoeDog/Siege

Packager: Sergey Alembekov <rt at altlinux.ru>

Source: ftp://sid.joedog.org/pub/siege/beta/%name-%version.tar
#Patch0: %name-DESTDIR.patch
Patch1: %name-am_fixes.patch
Patch2: %name-no-interpolate.patch
Patch3: %name-config.patch
Patch4: %name-configure.patch
Patch5: %name-limits.patch


BuildRequires(pre): rpm-build-licenses

# Automatically added by buildreq on Sat May 24 2008

BuildRequires: gcc-c++ libssl-devel

%description
Siege is a regression test and benchmark utility. It can stress test a
single URL with a user defined number of simulated users, or it can
read many URLs into memory and stress them simultaneously. The program
reports the total number of hits recorded, bytes transferred, response
time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1
protocols, GET and POST directives, cookies, transaction logging, and
basic authentication. Its features are configurable on a per user
basis.

%prep
%setup
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
#%patch4
#%patch5 -p1
sed -i 's,$(SIEGERC),$(DESTDIR)$(SIEGERC),' doc/Makefile.*
sed -i 's,$(URLSTXT),$(DESTDIR)$(URLSTXT),' doc/Makefile.*

%build
#%autoreconf
%configure \
--localstatedir=/var \
--sysconfdir=/etc/siege \
--exec_prefix= \
--with-ssl
%make_build

%install
mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/siege
%makeinstall_std

%files
%doc README README.https AUTHORS KNOWNBUGS NEWS ChangeLog
%dir %_sysconfdir/siege
%config(noreplace) %_sysconfdir/siege/siegerc
%config(noreplace) %_sysconfdir/siege/urls.txt
%_bindir/*
%_man1dir/*
%_man5dir/*
%_man7dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin