summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/TODO.Debian1
-rw-r--r--debian/autoreconf1
-rw-r--r--debian/changelog484
-rw-r--r--debian/compat1
-rw-r--r--debian/control30
-rw-r--r--debian/copyright17
-rw-r--r--debian/libapache2-mod-qos.apache23
-rw-r--r--debian/libapache2-mod-qos.doc-base.mod_qos10
-rw-r--r--debian/libapache2-mod-qos.docs5
-rw-r--r--debian/libapache2-mod-qos.install9
-rw-r--r--debian/libapache2-mod-qos.lintian-overrides4
-rw-r--r--debian/libapache2-mod-qos.manpages9
-rw-r--r--debian/patches/debian/0001-ftbfs-gcc-14.patch15
-rw-r--r--debian/patches/series1
-rw-r--r--debian/qos.conf13
-rw-r--r--debian/qos.load1
-rwxr-xr-xdebian/rules27
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch6
19 files changed, 638 insertions, 0 deletions
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
new file mode 100644
index 0000000..22d95f7
--- /dev/null
+++ b/debian/TODO.Debian
@@ -0,0 +1 @@
+- is there some official policy for packaging Apache modules? e.g. enable/disable by default
diff --git a/debian/autoreconf b/debian/autoreconf
new file mode 100644
index 0000000..ef1aab0
--- /dev/null
+++ b/debian/autoreconf
@@ -0,0 +1 @@
+tools
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6fdc884
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,484 @@
+libapache2-mod-qos (11.74-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * New maintainer.
+ * Adding patch to fix FTBFS with GCC 14 (Closes: #1075142).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 17 Sep 2024 05:51:52 +0200
+
+libapache2-mod-qos (11.74-1) unstable; urgency=high
+
+ * QA upload
+ * New upstream version (Closes: #1000072)
+ * debian/patches: Remove 01_spelling.patch; applied by upstream
+ * debian/control: Replace 'libpcre3-dev' with 'libpcre2-dev'
+
+ -- Marcelo Jorge Vieira <metal@debian.org> Sat, 17 Jun 2023 20:39:16 -0300
+
+libapache2-mod-qos (11.63-1) unstable; urgency=medium
+
+ * New upstream version 11.63
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 04 Jul 2019 16:51:55 +0300
+
+libapache2-mod-qos (11.61-1) unstable; urgency=medium
+
+ * New upstream version 11.61
+ * Refresh patches
+ * Bump up Standards-Version (to 4.3.0)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 24 Dec 2018 11:46:37 +0300
+
+libapache2-mod-qos (11.54-1) unstable; urgency=medium
+
+ * New upstream version 11.54
+ * Bump up Standards-Version (to 4.1.4)
+ * Update Vcs-* fields for salsa.
+ * Refresh patches
+ * More spelling fixes
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 26 May 2018 18:12:10 +0300
+
+libapache2-mod-qos (11.44-1) unstable; urgency=medium
+
+ * Priority -> optional (as per Policy)
+ * New upstream version 11.44
+ * Refresh patches
+ * Bump up Standards-Version (to 4.1.1)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 28 Nov 2017 15:28:55 +0300
+
+libapache2-mod-qos (11.41-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.41
+ * Bump up Standards-Version (to 4.1.0)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 28 Aug 2017 14:03:02 +0300
+
+libapache2-mod-qos (11.40-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.40
+ * Refresh patches
+ * Bump up Standards-Version (to 4.0.0)
+ * Fix lintian warning (use a stand-alone License paragraph in copyright)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 08 Jul 2017 01:27:49 +0300
+
+libapache2-mod-qos (11.39-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.39
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 22 Apr 2017 02:16:48 +0300
+
+libapache2-mod-qos (11.36-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.36
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 29 Nov 2016 00:14:15 +0300
+
+libapache2-mod-qos (11.34-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.34
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 19 Nov 2016 15:00:01 +0300
+
+libapache2-mod-qos (11.32-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.32 (Closes: #828382)
+ * Fix spelling (from lintian)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 30 Oct 2016 13:55:33 +0300
+
+libapache2-mod-qos (11.31-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.31
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 28 Jul 2016 11:49:25 +0300
+
+libapache2-mod-qos (11.28-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.28
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Wed, 18 May 2016 02:42:54 +0300
+
+libapache2-mod-qos (11.26-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.26
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 29 Apr 2016 15:53:34 +0300
+
+libapache2-mod-qos (11.25-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.25
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 24 Apr 2016 12:20:54 +0300
+
+libapache2-mod-qos (11.22-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.22
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 22 Mar 2016 19:01:15 +0300
+
+libapache2-mod-qos (11.21-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.21
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 01 Feb 2016 22:29:27 +0300
+
+libapache2-mod-qos (11.19-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.19
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 15 Dec 2015 03:19:33 +0300
+
+libapache2-mod-qos (11.18-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.18
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 16 Nov 2015 01:19:29 +0300
+
+libapache2-mod-qos (11.17-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.17
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 22 Sep 2015 00:18:01 +0300
+
+libapache2-mod-qos (11.16-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.16
+ * Add lintian override for dh-apache2 bug
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 21 Aug 2015 13:48:47 +0300
+
+libapache2-mod-qos (11.15-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.15
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 18 Jul 2015 08:26:59 +0300
+
+libapache2-mod-qos (11.14-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.9
+ * Use autoreconf
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Wed, 15 Jul 2015 13:44:51 +0300
+
+libapache2-mod-qos (11.7-1) unstable; urgency=medium
+
+ * Imported Upstream version 11.7
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 28 Dec 2014 16:59:19 +0300
+
+libapache2-mod-qos (11.5-2) unstable; urgency=medium
+
+ * Bump up Standards-Version (to 3.9.6)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 25 Oct 2014 16:44:35 +0400
+
+libapache2-mod-qos (11.5-1) unstable; urgency=low
+
+ * Imported Upstream version 11.5
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 29 Aug 2014 14:09:34 +0400
+
+libapache2-mod-qos (11.4-1) unstable; urgency=low
+
+ * Imported Upstream version 11.4
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 11 Aug 2014 02:54:34 +0400
+
+libapache2-mod-qos (11.2-1) unstable; urgency=low
+
+ * Imported Upstream version 11.2
+ * Drop patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 19 May 2014 11:09:01 +0400
+
+libapache2-mod-qos (10.30-1) unstable; urgency=low
+
+ * Imported Upstream version 10.30
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 18 Apr 2014 12:59:51 +0400
+
+libapache2-mod-qos (10.29-1) unstable; urgency=low
+
+ * Imported Upstream version 10.29
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 16 Feb 2014 15:58:34 +0400
+
+libapache2-mod-qos (10.28-1) unstable; urgency=low
+
+ * Imported Upstream version 10.28
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 23 Jan 2014 14:54:04 +0400
+
+libapache2-mod-qos (10.26-1) unstable; urgency=low
+
+ * Imported Upstream version 10.26
+ * Bump up Standards-Version (to 3.9.5)
+ * Add --no-silent to LTFLAGS
+ * enable ld -z now
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Wed, 04 Dec 2013 01:34:13 +0400
+
+libapache2-mod-qos (10.25-1) unstable; urgency=low
+
+ * Imported Upstream version 10.25
+ * Fix lintian error: vcs-field-not-canonical
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 05 Nov 2013 22:39:41 +0400
+
+libapache2-mod-qos (10.23-1) unstable; urgency=low
+
+ * Imported Upstream version 10.23
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 18 Oct 2013 00:24:11 +0400
+
+libapache2-mod-qos (10.21-1) unstable; urgency=low
+
+ * Imported Upstream version 10.21
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 06 Oct 2013 14:36:32 +0400
+
+libapache2-mod-qos (10.19-1) unstable; urgency=low
+
+ * Imported Upstream version 10.19
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 05 Sep 2013 17:07:05 +0400
+
+libapache2-mod-qos (10.16-1) unstable; urgency=low
+
+ * Imported Upstream version 10.16. This version
+ fixes problem in qssign, discovered with Mayhem, see
+ http://lists.debian.org/debian-devel/2013/06/msg00720.html
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 01 Jul 2013 01:46:04 +0400
+
+libapache2-mod-qos (10.15-3) unstable; urgency=low
+
+ * Repackage from experimental to sid (Closes: #709467)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sun, 16 Jun 2013 15:21:12 +0400
+
+libapache2-mod-qos (10.15-2) experimental; urgency=low
+
+ * Drop workaround for #666875
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 23 May 2013 19:34:28 +0400
+
+libapache2-mod-qos (10.15-1) unstable; urgency=low
+
+ * Imported Upstream version 10.15
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 19 Apr 2013 13:24:43 +0400
+
+libapache2-mod-qos (10.14-1) unstable; urgency=low
+
+ * Imported Upstream version 10.14
+ * Drop 01_manpage-has-bad-whatis-entry.patch, accepted by upstream
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 18 Mar 2013 02:53:43 +0400
+
+libapache2-mod-qos (10.13-2) unstable; urgency=low
+
+ * Drop DMUA, fix lintian warning
+ * Bump up Standards-Version (to 3.9.4)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 27 Dec 2012 14:50:04 +0400
+
+libapache2-mod-qos (10.13-1) unstable; urgency=low
+
+ * Imported Upstream version 10.13
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 10 Dec 2012 15:48:33 +0400
+
+libapache2-mod-qos (10.12-1) unstable; urgency=low
+
+ * Install qsexec (LP: #1058162) and qslogger
+ * Imported Upstream version 10.12
+ * Update patches
+ * Added qslogger.1 manpage
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 30 Nov 2012 14:57:01 +0400
+
+libapache2-mod-qos (10.10-1) unstable; urgency=low
+
+ * Imported Upstream version 10.10
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 18 Oct 2012 13:09:21 +0400
+
+libapache2-mod-qos (10.9-1) unstable; urgency=low
+
+ * Imported Upstream version 10.9
+ * Refresh patches
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Wed, 11 Jul 2012 00:37:57 +0400
+
+libapache2-mod-qos (10.8-1) unstable; urgency=low
+
+ * Imported Upstream version 10.8
+ * Refresh patches
+ * Properly cleanup apache2/.libs/ (dh_clean won't clean directories
+ recursively)
+ * Add -D_LARGEFILE64_SOURCE to fix FTBS on couple arch's
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Tue, 12 Jun 2012 02:31:45 +0400
+
+libapache2-mod-qos (10.7-1) unstable; urgency=low
+
+ * Imported Upstream version 10.7
+ * Update patches
+ * Pass hardening CFLAGS/CPPFLAGS to apxs2
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 02 Jun 2012 11:13:02 +0400
+
+libapache2-mod-qos (10.5-3) unstable; urgency=low
+
+ * Change dh compat to 9, enable hardening support
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 01 Jun 2012 16:27:18 +0400
+
+libapache2-mod-qos (10.5-2) experimental; urgency=low
+
+ * Update Build-Depends and Depends for Apache 2.4
+ * Switch to dh_apache2 (Closes: #666812)
+ * Override dh_fixperms for #666875
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 07 Apr 2012 17:59:21 +0400
+
+libapache2-mod-qos (10.5-1) unstable; urgency=low
+
+ * Imported Upstream version 10.5
+ * Update patch 01 for new release
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 07 Apr 2012 17:35:42 +0400
+
+libapache2-mod-qos (10.3-1) unstable; urgency=low
+
+ * Imported Upstream version 10.3
+ * Reformat debian/copyright according to accepted DEP5 spec
+ * Depend on libpng-dev, instead of libpng12-dev (Closes: #662393)
+ * Bump up Standards-Version to 3.9.3 (no changes)
+ * Refreshed patch 01
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 05 Mar 2012 13:46:32 +0400
+
+libapache2-mod-qos (9.76-1) unstable; urgency=low
+
+ * Imported Upstream version 9.76
+ * Refresh patches
+ * Fix doc-base control files
+ * Apply 02_missing_declarations.patch
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 17 Dec 2011 13:11:51 +0400
+
+libapache2-mod-qos (9.74-1) unstable; urgency=low
+
+ * Imported Upstream version 9.74
+ * Use upstream-provided manpages
+ * Fix NAME section of manpages (to avoid manpage-has-bad-whatis-entry
+ lintian error)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 19 Nov 2011 19:50:26 +0400
+
+libapache2-mod-qos (9.72-1) unstable; urgency=low
+
+ * Imported Upstream version 9.72
+ * Cleanup TODO.Debian
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 29 Oct 2011 01:33:56 +0400
+
+libapache2-mod-qos (9.71-1) unstable; urgency=low
+
+ * Imported Upstream version 9.71
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 17 Oct 2011 19:16:24 +0400
+
+libapache2-mod-qos (9.69-1) unstable; urgency=low
+
+ * Imported Upstream version 9.69
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 15 Sep 2011 03:19:19 +0400
+
+libapache2-mod-qos (9.68-1) unstable; urgency=low
+
+ * Imported Upstream version 9.68
+ * Add todo for manpages
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Wed, 10 Aug 2011 14:28:21 +0400
+
+libapache2-mod-qos (9.57-1) unstable; urgency=low
+
+ * Added Vcs-* headers in debian/control
+ * Imported Upstream version 9.57
+ * Bump up Standards-Version to 3.9.2.
+ * Disable 01_spelling.patch (applied by upstream)
+ * Disable 02_png-config.patch (appied by upstream)
+ * Removed patches, applied by upstream. Drop automake deps.
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 24 Jun 2011 15:24:16 +0400
+
+libapache2-mod-qos (9.54-2) unstable; urgency=low
+
+ * Forward patches to upstream
+ * Refresh patches, add --diffstat
+ * Added debhelper token in postinst/postrm scripts
+ * Cleanup (drop duplicates) TODO.Debian
+ * Implement minimal debian/rules file with overrides for configure,
+ build and clean
+ * Rename prerm -> postrm
+ * Cleanup maintainer scripts & related TODO stuff
+ * Bump up debhelper version deps for using override_* stuff
+ * Cleanup a bit debian/rules by using --sourcedirectory debhelper
+ option (Thanks to Raphael Hertzog), drop direct using CFLAGS/LDFLAGS
+ * Corrected misprints: override_dh_clean -> override_dh_auto_clean
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Sat, 19 Mar 2011 18:05:30 +0300
+
+libapache2-mod-qos (9.54-1) unstable; urgency=low
+
+ * Fill new TODO stuff
+ * Imported Upstream version 9.54
+ * Added "DM-Upload-Allowed: yes" control field
+ * Renamed debian/docs to debian/libapache2-mod-qos.docs to be
+ consistent with the other files
+ * Drop Build-Depends on quilt and inclusion of quilt.make in
+ debian/rules
+ * Remove debian/dirs: dh_install will create the required stuff
+ * Update debhelper compatibility mode to 7
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Fri, 04 Mar 2011 15:53:46 +0300
+
+libapache2-mod-qos (9.49-1) unstable; urgency=low
+
+ * Added Build-Depends on quilt
+ * Added patch 01: fix spelling errors
+ * Replaced dh_clean -k with dh_prep
+ * Added nevis.gif
+ * Register documentation in doc-base
+ * Install tools (qsfilter2, qslog, etc)
+ * Added stub manpages
+ * Added a sample configuration file (qos.conf)
+ * Register additional documentation
+ * Added debian/TODO.Debian
+ * Imported Upstream version 9.49
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Mon, 14 Feb 2011 14:25:49 +0300
+
+libapache2-mod-qos (9.47-1) unstable; urgency=low
+
+ * Imported Upstream version 9.47
+ * Bump up Standards-Version to 3.9.1
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 20 Jan 2011 19:24:00 +0300
+
+libapache2-mod-qos (9.25-1) unstable; urgency=low
+
+ * Initial release. (Closes: #534985)
+
+ -- Sergey B Kirpichev <skirpichev@gmail.com> Thu, 02 Sep 2010 13:42:28 +0400
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fe3e42f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: libapache2-mod-qos
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends: debhelper (>= 9), libssl-dev (>= 0.9.8g), libapr1-dev, libaprutil1-dev, libpcre2-dev, libpng-dev, dh-apache2, apache2-dev (>= 2.4.53-1~), dh-autoreconf
+Standards-Version: 4.3.0
+Section: httpd
+Homepage: http://mod-qos.sourceforge.net/
+Vcs-Git: https://salsa.debian.org/sk-guest/libapache2-mod-qos.git
+Vcs-Browser: https://salsa.debian.org/sk-guest/libapache2-mod-qos
+
+Package: libapache2-mod-qos
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: quality of service module for the apache2
+ This is a quality of service module (QoS) for the Apache web server
+ implementing control mechanisms that can provide different priority
+ to different HTTP requests.
+ .
+ It may be used to determine which requests should be served and which
+ shouldn't in order to avoid resource oversubscription. The module
+ collects different attributes such as the request URL, HTTP request
+ and response headers, the IP source address, the HTTP response code,
+ history data (user session and on per source IP address basis), the
+ number of concurrent requests to the server (total or requests having
+ similar attributes), the number of concurrent TCP connections (total
+ or from a single source IP), and so forth.
+ .
+ Counteractive measures to enforce the defined rules are: request
+ blocking, dynamic timeout adjustment, request delay, response
+ throttling, and dropping of TCP connections.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..20724eb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mod_qos
+Upstream-Contact: Pascal Buchbinder <pbuchbinder@users.sourceforge.net>
+Source: http://mod-qos.sourceforge.net/
+
+Files: *
+Copyright: 2007-2012, Pascal Buchbinder
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2010-2012, Sergey B Kirpichev <skirpichev@gmail.com>
+License: GPL-2+
+
+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.
diff --git a/debian/libapache2-mod-qos.apache2 b/debian/libapache2-mod-qos.apache2
new file mode 100644
index 0000000..69b81af
--- /dev/null
+++ b/debian/libapache2-mod-qos.apache2
@@ -0,0 +1,3 @@
+mod apache2/.libs/mod_qos.so
+mod debian/qos.load
+mod debian/qos.conf
diff --git a/debian/libapache2-mod-qos.doc-base.mod_qos b/debian/libapache2-mod-qos.doc-base.mod_qos
new file mode 100644
index 0000000..76c7405
--- /dev/null
+++ b/debian/libapache2-mod-qos.doc-base.mod_qos
@@ -0,0 +1,10 @@
+Document: mod-qos
+Title: mod-qos Documentation
+Author: Pascal Buchbinder
+Abstract: This manual describes how to install, configure
+ and use the QoS apache2 module.
+Section: System/Security
+
+Format: HTML
+Index: /usr/share/doc/libapache2-mod-qos/index.html
+Files: /usr/share/doc/libapache2-mod-qos/q*.html
diff --git a/debian/libapache2-mod-qos.docs b/debian/libapache2-mod-qos.docs
new file mode 100644
index 0000000..5bccf56
--- /dev/null
+++ b/debian/libapache2-mod-qos.docs
@@ -0,0 +1,5 @@
+README.TXT
+doc/favicon.ico
+doc/index.html
+doc/*.gif
+doc/q*.html
diff --git a/debian/libapache2-mod-qos.install b/debian/libapache2-mod-qos.install
new file mode 100644
index 0000000..1aa60d9
--- /dev/null
+++ b/debian/libapache2-mod-qos.install
@@ -0,0 +1,9 @@
+tools/src/qsfilter2 usr/bin/
+tools/src/qslog usr/bin/
+tools/src/qspng usr/bin/
+tools/src/qsrotate usr/bin/
+tools/src/qssign usr/bin/
+tools/src/qstail usr/bin/
+tools/src/qsgrep usr/bin/
+tools/src/qsexec usr/bin/
+tools/src/qslogger usr/bin/
diff --git a/debian/libapache2-mod-qos.lintian-overrides b/debian/libapache2-mod-qos.lintian-overrides
new file mode 100644
index 0000000..f5202f1
--- /dev/null
+++ b/debian/libapache2-mod-qos.lintian-overrides
@@ -0,0 +1,4 @@
+# License for apache2/*.[hc] files does have the exception clause
+libapache2-mod-qos: possible-gpl-code-linked-with-openssl
+# dh-apache2 bug: http://bugs.debian.org/796328
+libapache2-mod-qos: apache2-module-depends-on-real-apache2-package apache2-bin
diff --git a/debian/libapache2-mod-qos.manpages b/debian/libapache2-mod-qos.manpages
new file mode 100644
index 0000000..fa4a68b
--- /dev/null
+++ b/debian/libapache2-mod-qos.manpages
@@ -0,0 +1,9 @@
+tools/man1/qsexec.1
+tools/man1/qsfilter2.1
+tools/man1/qsgrep.1
+tools/man1/qslog.1
+tools/man1/qspng.1
+tools/man1/qsrotate.1
+tools/man1/qssign.1
+tools/man1/qstail.1
+tools/man1/qslogger.1
diff --git a/debian/patches/debian/0001-ftbfs-gcc-14.patch b/debian/patches/debian/0001-ftbfs-gcc-14.patch
new file mode 100644
index 0000000..3716c44
--- /dev/null
+++ b/debian/patches/debian/0001-ftbfs-gcc-14.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Fixing FTBFS with GCC 14 (Closes: #1075142).
+
+diff -Naurp libapache2-mod-qos.orig/tools/src/qsfilter2.c libapache2-mod-qos/tools/src/qsfilter2.c
+--- libapache2-mod-qos.orig/tools/src/qsfilter2.c
++++ libapache2-mod-qos/tools/src/qsfilter2.c
+@@ -1800,7 +1800,7 @@ int main(int argc, const char * const ar
+ printf("# --------------------------------------------------------\n");
+
+ {
+- STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp);
++ STACK_OF(qs_rule_t) *st = sk_new((qs_rule_t *)STACK_qs_cmp);
+ qs_rule_t *r;
+ int j = 1;
+ entry = (apr_table_entry_t *)apr_table_elts(rules)->elts;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2dfad7f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian/0001-ftbfs-gcc-14.patch
diff --git a/debian/qos.conf b/debian/qos.conf
new file mode 100644
index 0000000..d53b345
--- /dev/null
+++ b/debian/qos.conf
@@ -0,0 +1,13 @@
+<IfModule qos_module>
+ # minimum request rate (bytes/sec at request reading):
+ #QS_SrvRequestRate 120
+
+ # limits the connections for this virtual host:
+ #QS_SrvMaxConn 100
+
+ # allows keep-alive support till the server reaches 600 connections:
+ #QS_SrvMaxConnClose 600
+
+ # allows max 50 connections from a single ip address:
+ #QS_SrvMaxConnPerIP 50
+</IfModule>
diff --git a/debian/qos.load b/debian/qos.load
new file mode 100644
index 0000000..a7c0001
--- /dev/null
+++ b/debian/qos.load
@@ -0,0 +1 @@
+LoadModule qos_module /usr/lib/apache2/modules/mod_qos.so
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..56dc601
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
+
+%:
+ dh $@ --with apache2,autoreconf
+
+override_dh_auto_configure:
+ dh_auto_configure --sourcedirectory=tools -- \
+ --with-apr=/usr/bin \
+ --with-apr-util=/usr/bin \
+ --with-pcre=/usr/bin \
+ --with-png=/usr/bin \
+ --with-ssl=/usr/lib
+
+override_dh_auto_build:
+ LTFLAGS="--no-silent" apxs2 \
+ -S CFLAGS="$(CFLAGS) \
+ -D_LARGEFILE64_SOURCE $(CPPFLAGS)" \
+ -lcrypto -DHAVE_OPENSSL -c apache2/mod_qos.c
+ dh_auto_build --sourcedirectory=tools
+
+override_dh_auto_clean:
+ dh_auto_clean --sourcedirectory=tools
+ dh_clean apache2/.libs/* apache2/mod_qos.*l* apache2/mod_qos.o
+ rm -rf apache2/.libs/
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c792550
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+# Homepage Pattern [Version [Action]]
+http://sf.net/mod-qos/mod_qos-(.+)\.tar\.gz
+# qa.debian.org runs a redirector which allows a simpler form of URL
+# for SourceForge based projects. The format below will automatically
+# be rewritten to use the redirector.