Update patches for 0.7.1:
[manu/suphp.git] / debian / patches / 02_rsrc_conf.dpatch
diff --git a/debian/patches/02_rsrc_conf.dpatch b/debian/patches/02_rsrc_conf.dpatch
deleted file mode 100644 (file)
index a0eb1a8..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_rsrc_conf.dpatch by  <elacour@home-dn.net>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Added RSRC_CONF for suPHP_AddHandler and suPHP_RemoveHandler
-
-@DPATCH@
---- ./src/apache2/mod_suphp.c
-+++ ./src/apache2/mod_suphp.c
-@@ -321,8 +321,8 @@
-     AP_INIT_TAKE2("suPHP_UserGroup", suphp_handle_cmd_user_group, NULL, RSRC_CONF | ACCESS_CONF,
-                   "User and group scripts shall be run as"),
- #endif
--    AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"),
--    AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"),
-+    AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"),
-+    AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"),
-     {NULL}
- };
---- ./src/apache/mod_suphp.c
-+++ ./src/apache/mod_suphp.c
-@@ -249,9 +249,9 @@
-     {"suPHP_UserGroup", suphp_handle_cmd_user_group, NULL, 
-      RSRC_CONF|ACCESS_CONF, TAKE2, "User and group scripts shall be run as"},
- #endif 
--    {"suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, ACCESS_CONF,
-+    {"suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF|ACCESS_CONF,
-      ITERATE, "Tells mod_suphp to handle these MIME-types"},
--    {"suphp_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, ACCESS_CONF,
-+    {"suphp_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF|ACCESS_CONF,
-      ITERATE, "Tells mod_suphp not to handle these MIME-types"},
-     {NULL}
- };