--- libapache2-mod-watchcat-1.0.orig/Makefile +++ libapache2-mod-watchcat-1.0/Makefile @@ -2,7 +2,7 @@ PKGCONF= 55_mod_watchcat.conf PKGVERSION= 1.0 -APXS= /usr/sbin/apxs2 +APXS ?= /usr/sbin/apxs2 all: mod_watchcat.so --- libapache2-mod-watchcat-1.0.orig/debian/copyright +++ libapache2-mod-watchcat-1.0/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Cyril Bouthors on +Thu Nov 11 21:32:29 CET 2010 + +It was downloaded from + +Upstream Author: + + Michel Machado + Andre Nathan + +Copyright: + + Copyright (c) 2004 Digirati. + +License: + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License (GPL) as published by the Free +Software Foundation. + +On Debian systems, the GNU GPL can be found at +/usr/share/common-licenses/GPL --- libapache2-mod-watchcat-1.0.orig/debian/rules +++ libapache2-mod-watchcat-1.0/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +export APXS=apxs2 +PREFIX=debian/libapache2-mod-watchcat + +%: + dh $@ + +override_dh_auto_install: + mkdir -p $(PREFIX)/usr/lib/apache2/modules + cp .libs/mod_watchcat.so $(PREFIX)/usr/lib/apache2/modules + mkdir -p $(PREFIX)/etc/apache2/mods-available + cp debian/watchcat.load $(PREFIX)/etc/apache2/mods-available + cp debian/watchcat.conf $(PREFIX)/etc/apache2/mods-available --- libapache2-mod-watchcat-1.0.orig/debian/watchcat.load +++ libapache2-mod-watchcat-1.0/debian/watchcat.load @@ -0,0 +1 @@ +LoadModule watchcat_module /usr/lib/apache2/modules/mod_watchcat.so --- libapache2-mod-watchcat-1.0.orig/debian/compat +++ libapache2-mod-watchcat-1.0/debian/compat @@ -0,0 +1 @@ +7 --- libapache2-mod-watchcat-1.0.orig/debian/control +++ libapache2-mod-watchcat-1.0/debian/control @@ -0,0 +1,19 @@ +Source: libapache2-mod-watchcat +Section: web +Priority: optional +Build-Depends: debhelper (>= 7.0.50), apache2-dev, libwcat1, + dpkg-dev (>= 1.16.1~), libwcat1-dev +Maintainer: Cyril Bouthors +Uploaders: Cyril Bouthors +Standards-Version: 3.9.4 +Homepage: http://oss.digirati.com.br/watchcatd/ + +Package: libapache2-mod-watchcat +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, apache2-api-20120211, watchcatd +Description: Process monitoring Apache module + A bug or malicious attacks to machine can lock up a process, leading to a + deadlock or an unexpected condition. For example: an Apache httpd with + mod_(php|perl|lua|your_preferred_script_language) running a bad script. When + the monitored process locks up, the watchcat helps killing him. It is the best + thing to do. --- libapache2-mod-watchcat-1.0.orig/debian/changelog +++ libapache2-mod-watchcat-1.0/debian/changelog @@ -0,0 +1,17 @@ +libapache2-mod-watchcat (1.0-3) unstable; urgency=low + + * Add Apache 2.4 support + + -- Cyril Bouthors Fri, 10 May 2013 20:38:06 +0200 + +libapache2-mod-watchcat (1.0-2) unstable; urgency=low + + * Add missing build dependency on libwcat1-dev (Closes: #706369). + + -- Cyril Bouthors Mon, 29 Apr 2013 09:25:13 +0200 + +libapache2-mod-watchcat (1.0-1) unstable; urgency=low + + * Initial Release. (Closes: #603217) + + -- Cyril Bouthors Tue, 23 Apr 2013 23:40:24 +0200 --- libapache2-mod-watchcat-1.0.orig/debian/watchcat.conf +++ libapache2-mod-watchcat-1.0/debian/watchcat.conf @@ -0,0 +1,7 @@ + + CatType script application/x-httpd-php + CatType script application/x-perl application/x-cgi + CatTimeout script 60 + CatOrder script + #CatLogHandler +