]>
Commit | Line | Data |
---|---|---|
d0b7d8e5 | 1 | Summary: An HTTP regression testing/benchmarking utility |
adcffbd7 | 2 | Summary(pl.UTF-8): Narzędzie do testowania serwerów HTTP |
d0b7d8e5 | 3 | Name: siege |
5a06d25f ER |
4 | Version: 2.72 |
5 | Release: 1 | |
d0b7d8e5 TO |
6 | License: GPL v2 |
7 | Group: Networking/Utilities | |
5a06d25f ER |
8 | Source0: http://www.joedog.org/pub/siege/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6bd0b1dca6b95717e23a6bade9a0a1f4 | |
d0b7d8e5 | 10 | Patch0: %{name}-DESTDIR.patch |
58124e97 | 11 | Patch1: %{name}-am_fixes.patch |
bc07d179 | 12 | Patch2: %{name}-config.patch |
5a06d25f | 13 | Patch3: format-security.patch |
fbb300c3 | 14 | URL: http://www.joedog.org/index/siege-home |
58124e97 | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
fbb300c3 | 17 | BuildRequires: openssl-devel >= 0.9.7d |
d0b7d8e5 TO |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Siege is a regression test and benchmark utility. It can stress test a | |
22 | single URL with a user defined number of simulated users, or it can | |
23 | read many URLs into memory and stress them simultaneously. The program | |
24 | reports the total number of hits recorded, bytes transferred, response | |
25 | time, concurrency, and return status. Siege supports HTTP/1.0 and 1.1 | |
26 | protocols, GET and POST directives, cookies, transaction logging, and | |
27 | basic authentication. Its features are configurable on a per user | |
28 | basis. | |
29 | ||
96688b52 JR |
30 | %description -l pl.UTF-8 |
31 | Siege to narzędzie do testowania działania i wydajności serwerów HTTP. | |
32 | Może testować odporność dla pojedynczego URL-a ze zdefiniowaną liczbą | |
33 | symulowanych użytkowników, lub ściągać wiele URL-i do pamięci, | |
34 | obciążając je równocześnie. Program raportuje całkowitą liczbę | |
35 | ściągniętych dokumentów, liczbę przesłanych bajtów, czas reakcji, | |
36 | liczbę jednoczesnych połączeń i status operacji. Siege obsługuje | |
37 | protokoły HTTP/1.0 i 1.1, metody GET i POST, cookie, logowanie | |
38 | transakcji oraz zwykłą autentykację. Opcje są konfigurowalne dla | |
39 | uż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 | 49 | rm -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 | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | install -d $RPM_BUILD_ROOT%{_sysconfdir} | |
61 | ||
6b34b59d ER |
62 | %{__make} install \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
d0b7d8e5 | 64 | |
d0b7d8e5 TO |
65 | %clean |
66 | rm -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/* |