Adjust dependencies for apache 2.4
[manu/suphp.git] / debian / control
index fa450dd..0db4e0b 100644 (file)
@@ -1,23 +1,23 @@
 Source: suphp
-Section: web
+Section: httpd
 Priority: optional
 Maintainer: Emmanuel Lacour <elacour@home-dn.net>
-Build-Depends: debhelper (>> 4.1.16), apache2-prefork-dev (>= 2.2.0), apache2-mpm-prefork (>= 2.2.0) | apache2-mpm-worker (>= 2.2.0), libapr1-dev, docbook-to-man, pkg-config, dpatch
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 9), apache2-prefork-dev (>= 2.2.0) | apache2-dev (>= 2.4), apache2-api-20120211 | apache2-mpm-prefork (>= 2.2.0) | apache2-mpm-worker (>= 2.2.0), libapr1-dev, docbook-to-man, pkg-config, dh-autoreconf, autotools-dev, quilt
+Standards-Version: 3.9.3
 
 Package: suphp-common
 Architecture: any
-Depends: ${shlibs:Depends}, php4-cgi | php5-cgi
+Depends: ${shlibs:Depends}, ${misc:Depends}, php5-cgi
 Description: Common files for mod suphp
- Suphp consists of an Apache module (mod_suphp for either apache 1.3.x or
apache 2.x) and a setuid root binary (suphp) that is called by the Apache
+ Suphp consists of an Apache module (mod_suphp for either Apache 1.3.x or
Apache 2.x) and a setuid root binary (suphp) that is called by the Apache
  module to change the uid of the process executing the PHP interpreter to the
  owner of the php script.
 
 Package: libapache2-mod-suphp
 Architecture: any
-Depends: ${shlibs:Depends}, suphp-common (= ${binary:Version}), apache2.2-common
-Description: Apache2 module to run php scripts with the owner permissions
+Depends: ${shlibs:Depends}, ${misc:Depends}, suphp-common (= ${binary:Version}), apache2-api-20120211 | apache2.2-common
+Description: Apache2 module to run PHP scripts with the owner permissions
  With the use of the suphp setuid root binary (from suphp-common package),
  this Apache2 module change the uid of the process executing the PHP
- interpreter to the owner of the php script
+ interpreter to the owner of the php script.