0.6.1.20060928-1 release
[manu/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..ec7a768
--- /dev/null
@@ -0,0 +1,37 @@
+#! /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,15 +1,15 @@
+ [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=/
++docroot=/var/www
+ ;Path to chroot() to before executing script
+ ;chroot=/mychroot
+@@ -41,7 +41,7 @@
+ [handlers]
+ ;Handler for php-scripts
+-x-httpd-php=php:/usr/bin/php
++x-httpd-php=php:/usr/bin/php-cgi
+ ;Handler for CGI-scripts
+ x-suphp-cgi=execute:!self