]> git.pld-linux.org Git - packages/siege.git/blame - siege.spec
up to 2.72, add -Werror=format-security patch
[packages/siege.git] / siege.spec
CommitLineData
d0b7d8e5 1Summary: An HTTP regression testing/benchmarking utility
adcffbd7 2Summary(pl.UTF-8): Narzędzie do testowania serwerów HTTP
d0b7d8e5 3Name: siege
5a06d25f
ER
4Version: 2.72
5Release: 1
d0b7d8e5
TO
6License: GPL v2
7Group: Networking/Utilities
5a06d25f
ER
8Source0: http://www.joedog.org/pub/siege/%{name}-%{version}.tar.gz
9# Source0-md5: 6bd0b1dca6b95717e23a6bade9a0a1f4
d0b7d8e5 10Patch0: %{name}-DESTDIR.patch
58124e97 11Patch1: %{name}-am_fixes.patch
bc07d179 12Patch2: %{name}-config.patch
5a06d25f 13Patch3: format-security.patch
fbb300c3 14URL: http://www.joedog.org/index/siege-home
58124e97 15BuildRequires: autoconf
16BuildRequires: automake
fbb300c3 17BuildRequires: openssl-devel >= 0.9.7d
d0b7d8e5
TO
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Siege is a regression test and benchmark utility. It can stress test a
22single URL with a user defined number of simulated users, or it can
23read many URLs into memory and stress them simultaneously. The program
24reports the total number of hits recorded, bytes transferred, response
25time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1
26protocols, GET and POST directives, cookies, transaction logging, and
27basic authentication. Its features are configurable on a per user
28basis.
29
96688b52
JR
30%description -l pl.UTF-8
31Siege to narzędzie do testowania działania i wydajności serwerów HTTP.
32Może testować odporność dla pojedynczego URL-a ze zdefiniowaną liczbą
33symulowanych użytkowników, lub ściągać wiele URL-i do pamięci,
34obciążając je równocześnie. Program raportuje całkowitą liczbę
35ściągniętych dokumentów, liczbę przesłanych bajtów, czas reakcji,
36liczbę jednoczesnych połączeń i status operacji. Siege obsługuje
37protokoły HTTP/1.0 i 1.1, metody GET i POST, cookie, logowanie
38transakcji oraz zwykłą autentykację. Opcje są konfigurowalne dla
39użytkownika.
e16140e5 40
d0b7d8e5
TO
41%prep
42%setup -q
43%patch0 -p1
58124e97 44%patch1 -p1
3018efe6 45%patch2 -p1
5a06d25f 46%patch3 -p1
d0b7d8e5
TO
47
48%build
58124e97 49rm -f missing
5ebeb48c 50%{__aclocal}
8a2d2b72 51%{__autoconf}
52%{__automake}
f7ea9d77
ER
53%configure \
54 --localstatedir=%{_localstatedir}/log \
55 --with-ssl
d0b7d8e5
TO
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT%{_sysconfdir}
61
6b34b59d
ER
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
d0b7d8e5 64
d0b7d8e5
TO
65%clean
66rm -rf $RPM_BUILD_ROOT
67
d0b7d8e5
TO
68%files
69%defattr(644,root,root,755)
d7ddb08a 70%doc README README.https AUTHORS KNOWNBUGS NEWS ChangeLog
6b34b59d 71%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
d0b7d8e5
TO
72%attr(755,root,root) %{_bindir}/*
73%{_mandir}/man1/*
bc07d179 74%{_mandir}/man5/*
75%{_mandir}/man7/*
This page took 0.075203 seconds and 4 git commands to generate.