Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_limitipconn
> mod_limitipconn.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mod_limitipconn.spec of Package apache2-mod_limitipconn (Revision 3)
Currently displaying revision
3
,
show latest
%define mod_name mod_limitipconn %define version 0.22 %define apxs /usr/sbin/apxs2 %define apache apache2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR) %define apache_includedir %(%{apxs} -q INCLUDEDIR) %define apache_serverroot %(%{apxs} -q PREFIX) %define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) BuildRequires: apache2-devel Summary: Limit simultaneous connections by an IP address Name: apache2-mod_limitipconn Version: %{version} Release: 1 License: X11 Group: Networking/Daemons Source: http://sc.dominia.org/~djao/%{mod_name}-%{version}.tar.gz Packager: David Jao <djao@dominia.org> %description The mod_limitipconn module lets you enforce limits on the number of simultaneous downloads allowed from a single IP address. You can also control which MIME types are affected by the limits. %prep %setup -n %{mod_name}-%{version} %build %{apxs} -c %{mod_name}.c %install %{__install} -Dd -m 0755 %{buildroot}%{apache_libexecdir} cp -p .libs/%{modname}-%{version}.so %{buildroot}%{apache_libexecdir}/%{mod_name}.so %files %doc README ChangeLog INSTALL %{apache_libexecdir}/%{mod_name}.so