debian/0000755000000000000000000000000012247450152007170 5ustar debian/watch0000644000000000000000000000015612247450152010223 0ustar version=3 # Homepage Pattern [Version [Action]] http://apache.ivn.cl/ \ files/source/mod_bw-([\d\.]*).tgz debian/changelog0000644000000000000000000000666012247450152011052 0ustar libapache2-mod-bw (0.92-10) unstable; urgency=low * Fix lintian error: vcs-field-not-canonical * Bump up Standards-Version (to 3.9.5) * Add --no-silent to LTFLAGS -- Sergey B Kirpichev Wed, 04 Dec 2013 01:42:51 +0400 libapache2-mod-bw (0.92-9) unstable; urgency=low * Repackage from experimental to sid (Closes: #709469) -- Sergey B Kirpichev Sun, 16 Jun 2013 15:05:54 +0400 libapache2-mod-bw (0.92-8) experimental; urgency=low * Drop workaround for #666875 -- Sergey B Kirpichev Wed, 29 May 2013 00:11:47 +0400 libapache2-mod-bw (0.92-7) unstable; urgency=low * Drop DMUA, fix lintian warning * Bump up Standards-Version (to 3.9.4) -- Sergey B Kirpichev Thu, 27 Dec 2012 14:14:27 +0400 libapache2-mod-bw (0.92-6) unstable; urgency=low * Fix FTBS on armel: add -D_LARGEFILE64_SOURCE to CFLAGS -- Sergey B Kirpichev Fri, 15 Jun 2012 20:39:57 +0400 libapache2-mod-bw (0.92-5) unstable; urgency=low * Pass hardening CFLAGS/CPPFLAGS to apxs2 * Add VCS-* fields * Override lintian W: hardening-no-fortify-functions -- Sergey B Kirpichev Fri, 15 Jun 2012 17:46:24 +0400 libapache2-mod-bw (0.92-4) unstable; urgency=low * Reformat debian/copyright according to accepted DEP5 spec * Bump up Standards-Version to 3.9.3 (no changes) * Change dh compat to 9, enable hardening support -- Sergey B Kirpichev Fri, 01 Jun 2012 15:42:33 +0400 libapache2-mod-bw (0.92-3) experimental; urgency=low * Reformat debian/copyright according to accepted DEP5 spec * Bump up Standards-Version to 3.9.3 (no changes) * Update Build-Depends and Depends for Apache 2.4 * Switch to dh_apache2 * Override dh_fixperms for #666875 * Add Apache 2.4 compatibility patch (Closes: #666827) -- Sergey B Kirpichev Sat, 07 Apr 2012 18:45:05 +0400 libapache2-mod-bw (0.92-2) unstable; urgency=low * Use tiny debian/rules, bump up debhelper compat level * Update maintainer scripts * Removed debian/dirs -- Sergey B Kirpichev Mon, 21 Mar 2011 01:16:36 +0300 libapache2-mod-bw (0.92-1) unstable; urgency=low * update debhelper deps for dh_prep * replace dh_clean -k -> dh_prep * Specify upstream changelog (avoid upgrade compat version for this) * Register documentation in doc-base * New Upstream Version * Bump up Standards-Version (to 3.9.1) * Added "DM-Upload-Allowed: yes" control field -- Sergey B Kirpichev Fri, 04 Mar 2011 14:44:58 +0300 libapache2-mod-bw (0.91-1) unstable; urgency=low * New Upstream Version (Closes: #588330). * Update format of debian/copyright, copyright years. * Switch to source format "3.0 (quilt)". * Bump Standards-Version to 3.8.4. -- Sergey B Kirpichev Mon, 31 May 2010 11:07:17 +0400 libapache2-mod-bw (0.8-2) unstable; urgency=low * Change package Section to httpd and Priority to extra. * Bump up Standards-Version to 3.8.1. -- Sergey B Kirpichev Wed, 20 May 2009 14:39:25 +0400 libapache2-mod-bw (0.8-1) unstable; urgency=low * Initial release (Closes: #481909) * Point to the common-licenses/Apache-2.0 * Rewrite the description * Update the Standards-Version to 3.8.0 * Add watch and tune the description -- Sergey B Kirpichev Fri, 20 Jun 2008 23:53:27 +0400 debian/libapache2-mod-bw.install0000644000000000000000000000006012247450152013731 0ustar mod_bw.txt usr/share/doc/libapache2-mod-bw debian/patches/0000755000000000000000000000000012247450152010617 5ustar debian/patches/01_apache2.4.patch0000644000000000000000000000215412247450152013607 0ustar Description: Apache 2.4 compatibility patch Author: Sergey B Kirpichev Bug-Debian: http://bugs.debian.org/666827 --- mod_bw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/mod_bw.c +++ b/mod_bw.c @@ -564,7 +564,7 @@ return e[i].rate; case T_IP: - if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) { + if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) { return e[i].rate; } break; @@ -655,7 +655,7 @@ return e[i].max; case T_IP: - if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) { + if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) { return e[i].max; } break; @@ -706,7 +706,7 @@ return e[i].sid; case T_IP: - if (apr_ipsubnet_test(e[i].x.ip, r->connection->remote_addr)) { + if (apr_ipsubnet_test(e[i].x.ip, r->connection->client_addr)) { return e[i].sid; } break; debian/patches/series0000644000000000000000000000002312247450152012027 0ustar 01_apache2.4.patch debian/libapache2-mod-bw.lintian-overrides0000644000000000000000000000030612247450152015724 0ustar # This false alarm is due to GCC 4.7 -O2 optimisation (unprotected: memset), # see: http://bugs.debian.org/673112 libapache2-mod-bw: hardening-no-fortify-functions usr/lib/apache*/modules/mod_bw.so debian/libapache2-mod-bw.doc-base0000644000000000000000000000040412247450152013742 0ustar Document: mod-bw Title: mod-bw Documentation Author: Ivan Barrera A. (Bruce) Abstract: This manual describes how to install, configure and use the bw apache2 module. Section: System/Security Format: text Files: /usr/share/doc/libapache2-mod-bw/mod_bw.txt.gz debian/rules0000755000000000000000000000043712247450152010254 0ustar #!/usr/bin/make -f %: dh $@ --with apache2 override_dh_auto_build: LTFLAGS="--no-silent" apxs2 \ -S CFLAGS="$(CFLAGS) \ -D_LARGEFILE64_SOURCE $(CPPFLAGS)" -c mod_bw.c override_dh_clean: dh_clean .libs/* mod_bw.l* mod_bw.s* mod_bw.o build-stamp install-stamp $(RM) -r .libs debian/copyright0000644000000000000000000000223712247450152011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache2 Mod_bw Upstream-Contact: Ivan Barrera Source: http://apache.ivn.cl/ Files: * Copyright: 2005-2007, Ivan Barrera License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian GNU systems, the complete text of the Apache License, Version 2.0 can be found in `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: 2008-2012, Sergey B Kirpichev License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU General Public License (GPL) version 2 can be found at /usr/share/common-licenses/GPL-2. debian/control0000644000000000000000000000153512247450152010577 0ustar Source: libapache2-mod-bw Priority: extra Maintainer: Sergey B Kirpichev Build-Depends: debhelper (>= 9), dh-apache2, apache2-dev (>= 2.4.2-1~) Standards-Version: 3.9.5 Section: httpd Homepage: http://apache.ivn.cl/#bandwidth Vcs-Git: git://anonscm.debian.org/collab-maint/libapache2-mod-bw.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libapache2-mod-bw.git;a=summary Package: libapache2-mod-bw Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: bandwidth limiting module for apache2 This module allows you to limit bandwidth usage on every virtual host or directory or to restrict the number of simultaneous connections. . The bandwidth control, for example, can be configured according to the criteria: origin of the connection, file extension, file size or user agent of the client. debian/libapache2-mod-bw.apache20000644000000000000000000000004712247450152013573 0ustar mod .libs/mod_bw.so mod debian/bw.load debian/docs0000644000000000000000000000002012247450152010033 0ustar mod_bw.txt TODO debian/bw.load0000644000000000000000000000007012247450152010436 0ustar LoadModule bw_module /usr/lib/apache2/modules/mod_bw.so debian/source/0000755000000000000000000000000012247450152010470 5ustar debian/source/format0000644000000000000000000000001412247450152011676 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212247450152010366 0ustar 9