/[smecontribs]/rpms/mod_bwshare/contribs8/mod_bwshare.spec
ViewVC logotype

Contents of /rpms/mod_bwshare/contribs8/mod_bwshare.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Feb 22 18:08:49 2008 UTC (16 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: mod_bwshare-0_2_0-1_el5_sme
Import on branch contribs8 of package mod_bwshare-0.2.0-1.el5.sme.src.rpm

1 Name: mod_bwshare
2 Version: 0.2.0
3 Release: 1%{?dist}
4 Summary: Bandwidth limiting for apache
5 Group: System Environment/Daemons
6 License: GPL
7 URL: http://www.topology.org/src/bwshare/README.html
8 Source0: http://www.topology.org/src/bwshare/mod_bwshare-%{version}.zip
9 Source1: mod_bwshare.conf
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 BuildRequires: httpd-devel
12 Requires: httpd httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && cat %{_includedir}/httpd/.mmn || echo missing)
13
14 %description
15 The Apache module mod_bwshare throttles HTTP requests to Apache 1 and 2
16 servers for each client IP address independently. The mod_bwshare module
17 accepts or rejects HTTP requests from each client IP address based on
18 past downloads by that client IP address. If the HTTP client's download
19 rate exceeds specified levels, the reponse to the HTTP client is an HTML
20 warning message. A human browser will see a warning message indicating
21 how long to wait.
22
23 %prep
24 %setup -q -n mod_bwshare-%{version}
25
26
27 %build
28 /usr/sbin/apxs -c mod_bwshare.c
29
30 %install
31 rm -rf %{buildroot}
32 install -D -m755 .libs/mod_bwshare.so %{buildroot}/%{_libdir}/httpd/modules/mod_bwshare.so
33 install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/mod_bwshare.conf
34
35 %clean
36 rm -rf %{buildroot}
37
38
39 %files
40 %defattr(-,root,root,-)
41 %doc LICENCE doc.html README.html changes.html
42 %{_libdir}/httpd/modules/mod_bwshare.so
43 %config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_bwshare.conf
44
45 %changelog
46 * Sat Sep 8 2007 Shad L. Lords <slords@mail.com> 0.2.0-1
47 - Initial release

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed