Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_cband
> apache2-mod_cband.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache2-mod_cband.spec of Package apache2-mod_cband (Revision 2)
Currently displaying revision
2
,
show latest
# norootforbuild %define mod_name mod_cband %define apxs %{_sbindir}/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) # Name: apache2-mod_cband Version: 0.9.7.5 Release: 1 # License: GPL Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: apache2-devel Requires: apache2 %{apache_mmn} # URL: http://cband.linux.pl Source: http://cband.linux.pl/download/mod-cband-%{version}.tgz Patch: mod-cband-0.9.7.3_install.patch # Summary: Apache 2 Bandwidth Quota and Throttling. %description mod_cband is an Apache 2 module provided to solve the problem of limiting users' and virtualhosts' bandwidth usage. The current versions can set virtualhosts' and users' bandwidth quotas, maximal download speed (like in mod_bandwidth), requests-per-second speed and the maximal number of simultanous IP connections (like in mod_limitipconn) I advise using mod_cband by hosting companies, which would like to limit data transfer for their users, such as "10 Gb of traffic per month". There already exists the mod_curb module, which can limit data transfers, but it doesn't work with virtualhosts and Apache 2, so I wrote my own module fully compatible with Apache 2 API and supporting per-user and per-virtualhost bandwidth limiting Authors: ---------- * Lukasz Dembinski <dembol@cband.linux.pl> * Sergey V. Beduev <shaman@interdon.net> * Kyle Poulter <kyle@unixowns.us> * J. Kendzorra <kenzo@kenzo.homelinux.org> * Adam Dawidowski <drake@oomkill.net> * Arvind Srinivasan <arvind@madtux.org> %debug_package %prep %setup -n mod-cband-%{version} %patch %build %configure --with-apxs=%{apxs} %{__make} %install %{__install} -Dd -m 0755 %{buildroot}%{apache_libexecdir} %makeinstall APXS_INST_FLAGS="-S LIBEXECDIR=%{buildroot}%{apache_libexecdir}" %clean %{__rm} -rf "%{buildroot}" %files %defattr(-,root,root) %{apache_libexecdir}/%{mod_name}.so %doc libpatricia.copyright LICENSE Changes AUTHORS INSTALL %doc conf/ doc/*