Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37857165
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.65
Release: alt0.1.1

Summary: An HTTP regression testing/benchmarking utility

License: GPL v2
Group: Networking/WWW
Url: http://www.joedog.org/siege/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: ftp://sid.joedog.org/pub/siege/%name-%version.tar.bz2
Patch0: %name-DESTDIR.patch
Patch1: %name-am_fixes.patch
Patch2: %name-no-interpolate.patch
Patch3: %name-config.patch

# Automatically added by buildreq on Mon May 08 2006

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 -q
%patch0 -p1
%patch1 -p1
#%patch2 -p1
%patch3 -p1

%build
%__autoreconf
# FIXME: incorrect localstatedir using
%configure \
--localstatedir=%_localstatedir/log \
--with-ssl
%__make

%install
install -d %buildroot%_sysconfdir
%make_install install \
DESTDIR=%buildroot
rm -f %buildroot%_sysconfdir/urls.txt
# hack due broken _PREFIX/bindir in configure.in
%__subst "s|/usr/usr/|/usr/|g" %buildroot/%_bindir/*

%files
%doc README README.https AUTHORS KNOWNBUGS NEWS ChangeLog doc/urls.txt
%config(noreplace) %_sysconfdir/siege*
%_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