File execwrap-0.4_build.patch of Package execwrap

Index: execwrap.c
===================================================================
--- execwrap.c.orig
+++ execwrap.c
@@ -95,7 +95,7 @@
 #endif
 
 /* Useful macro and other stuff. */
-#define VERSION_STRING "ExecWrap v0.3 by Sune Foldager."
+#define VERSION_STRING "ExecWrap v0.4 by Sune Foldager."
 #define STRLEN(a) (sizeof(a)-1)
 
 /* Shortcuts. */
Index: execwrap_config.h
===================================================================
--- execwrap_config.h.orig
+++ execwrap_config.h
@@ -9,7 +9,8 @@
 
 
 /* Our parent must have this UID, or we will abort. */
-#define PARENT_UID              104
+/* uid=30(wwwrun) gid=8(www) groups=8(www) */
+#define PARENT_UID              30
 
 /* Minimum UID we can switch to. */
 #define TARGET_MIN_UID          1000
@@ -18,7 +19,7 @@
 #define TARGET_MIN_GID          100
 
 /* Path prefix all targets must start with. */
-#define TARGET_PATH_PREFIX      "/var/www/light/"
+#define TARGET_PATH_PREFIX      "/srv/www/"
 
 /* Default UID to switch to, if none given. */
 #define DEFAULT_UID             65534
openSUSE Build Service is sponsored by