diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-06-30 04:56:55 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-06-30 04:56:55 +0000 |
commit | 527c7deb74b0fcb4f77e804830c2706f47ff6c50 (patch) | |
tree | f435bd7fb98af35e4a40f72ad978885da060625c /www/suphp/files/patch-suphp.c | |
parent | sysutils/linuxfdisk works correctly on i386 machine only. (diff) |
update www/suphp: 0.2.2 --> 0.2.3
* update suphp to 0.2.3
* fix bento build (apxs related problem)
* Separate build/install stages for mod_suphp
PR: 53873
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Pointed out by: bento via kris
Diffstat (limited to 'www/suphp/files/patch-suphp.c')
-rw-r--r-- | www/suphp/files/patch-suphp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/suphp/files/patch-suphp.c b/www/suphp/files/patch-suphp.c index 832fd84d1868..5ea6bf32dcd1 100644 --- a/www/suphp/files/patch-suphp.c +++ b/www/suphp/files/patch-suphp.c @@ -1,5 +1,5 @@ ---- suphp.c.orig Wed Oct 23 22:16:50 2002 -+++ suphp.c Wed Nov 13 16:26:01 2002 +--- suphp.c.orig Wed Dec 25 14:21:27 2002 ++++ suphp.c Sat Jun 28 12:02:12 2003 @@ -68,6 +68,7 @@ { // Check, if program has been started by Apache @@ -21,14 +21,14 @@ // Get gid and uid of the file and check it targetuser = getpwuid(file_get_uid(path_translated)); - if (targetuser->pw_uid < OPT_MIN_UID) -+ if (targetuser->pw_uid < OPT_MIN_UID && targetuser->pw_uid != apacheuser->pw_uid) ++ if (targetuser->pw_uid < OPT_MIN_UID && targetuser->pw_uid != apacheuser->pw_uid ) { - log_error ("UID of %s (%d / %s) < %d", path_translated, targetuser->pw_uid, targetuser->pw_name, OPT_MIN_UID); + log_error ("UID of %s or its target (%d / %s) < %d", path_translated, targetuser->pw_uid, targetuser->pw_name, OPT_MIN_UID); error_exit(ERRCODE_LOW_UID); } targetgroup = getgrgid(file_get_gid(path_translated)); - if (targetgroup->gr_gid < OPT_MIN_GID) -+ if (targetgroup->gr_gid < OPT_MIN_GID && targetgroup->gr_gid != apachegroup->gr_gid) ++ if (targetgroup->gr_gid < OPT_MIN_GID && targetgroup->gr_gid != apachegroup->gr_gid ) { - log_error ("GID of %s (%d / %s) < %d", path_translated, targetgroup->gr_gid, targetgroup->gr_name, OPT_MIN_GID); + log_error ("GID of %s or its target (%d / %s) < %d", path_translated, targetgroup->gr_gid, targetgroup->gr_name, OPT_MIN_GID); error_exit(ERRCODE_LOW_GID); |