File: apache13-suexec-path.dpatch

package info (click to toggle)
libapache-mod-fastcgi 2.4.2-8
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 568 kB
  • ctags: 576
  • sloc: ansic: 6,200; sh: 276; makefile: 55
file content (24 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh /usr/share/dpatch/dpatch-run
## apache13-suexec-path.dpatch by  <sugi@nemui.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad libapache-mod-fastcgi~/fcgi.h libapache-mod-fastcgi/fcgi.h
--- libapache-mod-fastcgi~/fcgi.h	2005-08-06 14:09:11.000000000 +0900
+++ libapache-mod-fastcgi/fcgi.h	2006-10-06 20:29:07.537177281 +0900
@@ -34,6 +34,13 @@
 #define APACHE2
 #endif
 
+#ifndef WIN32
+#ifndef APACHE2
+#undef SUEXEC_BIN
+#define SUEXEC_BIN "/usr/lib/apache/suexec"
+#endif
+#endif
+
 #ifdef APACHE2
 
 #include <sys/stat.h>