--- libapache2-mod-log-slow-1.0.8.orig/debian/changelog +++ libapache2-mod-log-slow-1.0.8/debian/changelog @@ -0,0 +1,72 @@ +libapache2-mod-log-slow (1.0.8-3build1) noble; urgency=medium + + * No change rebuild to gain buildinfo. + + -- Dimitri John Ledkov Sat, 17 Feb 2024 18:41:10 +0000 + +libapache2-mod-log-slow (1.0.8-3) unstable; urgency=medium + + * debian/rules: + - imported the version 1.0.6 of the file to allow the Apache module to + be in the Debian package (Closes: #748916). + - do not execute the 'test' target from upstream because it tries to + restart Apache at build time + + -- Cyril Bouthors Thu, 22 May 2014 11:04:35 +0200 + +libapache2-mod-log-slow (1.0.8-2) unstable; urgency=low + + Patch from Hideki Yamane : + * use source format 3.0 (quilt) + * debian/patches + - add adjust.patch to ignore hardcoded path (Closes: #725606) + - add add-install-target.patch to add missing install target in upstream + Makefile (I wonder why previous version would work) + * debian/compat + - set 9 to enable hardening in rules + * debian/control + - set "Build-Depends: debhelper (>= 9)" as above + * add debian/{install,dirs} + * debian/rules + - set hardening option + - simplify it + + -- Cyril Bouthors Tue, 29 Apr 2014 16:49:07 +0200 + +libapache2-mod-log-slow (1.0.8-1) unstable; urgency=low + + * New upstream release (closes: #707062). + + -- Cyril Bouthors Mon, 20 May 2013 09:39:50 +0200 + +libapache2-mod-log-slow (1.0.6-5) unstable; urgency=low + + * Recompile for Apache 2.4 + + -- Cyril Bouthors Fri, 10 May 2013 19:24:08 +0200 + +libapache2-mod-log-slow (1.0.6-4) unstable; urgency=low + + * debian/copyright: use copyrigh-format 1.0 described at + http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#examples + + -- Cyril Bouthors Wed, 19 Dec 2012 21:44:41 +0100 + +libapache2-mod-log-slow (1.0.6-3) unstable; urgency=low + + * Fixed a typo in the Apache configuration. + + -- Cyril Bouthors Wed, 19 Dec 2012 15:07:21 +0100 + +libapache2-mod-log-slow (1.0.6-2) unstable; urgency=low + + * Add missing configuration files. + * Fixed lintian issue. + + -- Cyril Bouthors Wed, 19 Dec 2012 14:41:33 +0100 + +libapache2-mod-log-slow (1.0.6-1) unstable; urgency=low + + * Initial release (Closes: #696319). + + -- Cyril Bouthors Wed, 19 Dec 2012 11:21:12 +0100 --- libapache2-mod-log-slow-1.0.8.orig/debian/compat +++ libapache2-mod-log-slow-1.0.8/debian/compat @@ -0,0 +1 @@ +9 --- libapache2-mod-log-slow-1.0.8.orig/debian/control +++ libapache2-mod-log-slow-1.0.8/debian/control @@ -0,0 +1,17 @@ +Source: libapache2-mod-log-slow +Section: web +Priority: optional +Maintainer: Cyril Bouthors +Uploaders: Cyril Bouthors +Build-Depends: debhelper (>= 9), apache2-dev +Standards-Version: 3.9.5 + +Package: libapache2-mod-log-slow +Architecture: any +Depends: apache2-api-20120211, ${misc:Depends}, ${shlibs:Depends} +Description: Apache module for logging of slow requests handling + Provide measures of the time period used for handling each request by the + current process. Logging is done after processing a request if the request + takes more than certain period of time that you specify. The idea of this + module comes from MySQL's slow-query-log, and its logging logic is partially + based on mod_log_forensic. --- libapache2-mod-log-slow-1.0.8.orig/debian/copyright +++ libapache2-mod-log-slow-1.0.8/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mod_log_slow +Source: https://code.google.com/p/modlogslow/ + +Files: * +Copyright: Copyright 2009 Yoichi Kawasaki +License: Apache License version 2.0 + This program is licensed under the Apache License version 2.0. + . + On Debian systems, the full text of the Apache License version 2.0 + can be found in the file + `/usr/share/common-licenses/Apache-2.0'. + +Files: debian/* +Copyright: Copyright 2012 Cyril Bouthors +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. --- libapache2-mod-log-slow-1.0.8.orig/debian/dirs +++ libapache2-mod-log-slow-1.0.8/debian/dirs @@ -0,0 +1 @@ +etc/apache2/mods-available --- libapache2-mod-log-slow-1.0.8.orig/debian/install +++ libapache2-mod-log-slow-1.0.8/debian/install @@ -0,0 +1 @@ +debian/log_slow.* etc/apache2/mods-available/ --- libapache2-mod-log-slow-1.0.8.orig/debian/log_slow.conf +++ libapache2-mod-log-slow-1.0.8/debian/log_slow.conf @@ -0,0 +1,8 @@ + + LogSlowEnabled On + LogSlowFileName /var/log/apache2/mod_slow.log + LogSlowBufferedLogs On + + # Set the limit of request handling time in millisecond + LogSlowLongRequestTime 5 + --- libapache2-mod-log-slow-1.0.8.orig/debian/log_slow.load +++ libapache2-mod-log-slow-1.0.8/debian/log_slow.load @@ -0,0 +1 @@ +LoadModule log_slow_module /usr/lib/apache2/modules/mod_log_slow.so --- libapache2-mod-log-slow-1.0.8.orig/debian/rules +++ libapache2-mod-log-slow-1.0.8/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) + +%: + dh $@ + +override_dh_auto_build: + $(MAKE) ap_basedir=/usr/share/apache2 CFLAGS="$(CFLAGS)" + +override_dh_auto_clean: + $(MAKE) ap_basedir=/usr/share/apache2 clean + +override_dh_auto_install: + $(MAKE) ap_basedir=/usr/share/apache2 DESTDIR=$(CURDIR)/debian/libapache2-mod-log-slow install + mkdir -p debian/libapache2-mod-log-slow/etc/apache2/mods-available + cp debian/log_slow.conf debian/libapache2-mod-log-slow/etc/apache2/mods-available + cp debian/log_slow.load debian/libapache2-mod-log-slow/etc/apache2/mods-available + +# Do not execute the 'test' target from upstream because it tries to restart +# Apache +override_dh_auto_test: ;