Imported Debian patch 0.7.1-1
[hcoop/zz_old/debian/suphp.git] / debian / patches / 01_debian.dpatch
diff --git a/debian/patches/01_debian.dpatch b/debian/patches/01_debian.dpatch
new file mode 100644 (file)
index 0000000..40d6a4f
--- /dev/null
@@ -0,0 +1,33 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_debian.dpatch by  <elacour@home-dn.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adapt to debian paths
+
+@DPATCH@
+--- ./doc/suphp.conf-example
++++ ./doc/suphp.conf-example
+@@ -1,12 +1,12 @@
+ [global]
+ ;Path to logfile
+-logfile=/var/log/suphp.log
++logfile=/var/log/suphp/suphp.log
+ ;Loglevel
+ loglevel=info
+ ;User Apache is running as
+-webserver_user=wwwrun
++webserver_user=www-data
+ ;Path all scripts have to be in
+ docroot=/var/www:${HOME}/public_html
+@@ -41,7 +41,7 @@ min_gid=100
+ [handlers]
+ ;Handler for php-scripts
+-x-httpd-php="php:/usr/bin/php"
++application/x-httpd-suphp="php:/usr/bin/php-cgi"
+ ;Handler for CGI-scripts
+ x-suphp-cgi="execute:!self"