Bug 55952

Summary: [update] www/suphp: update to 0.3 and fix a security leak introduced with previous patch
Product: Ports & Packages Reporter: Clement Laforet <sheepkiller>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: sheepkiller
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
suphp-0.3.diff none

Description Clement Laforet 2003-08-25 11:30:08 UTC
	- update to 0.3
	- add a workaround to don't use getpwuid to performs check for apache user (since 4.x 
	  doesn't support getpwuid_r).
	- use %%DOCSDIR%%
	
	removed files:
		files/patch-Makefile
		files/patch-config.h
		files/patch-suphp.c
	added files:
		files/patch-src::apache::Makefile.in
		files/patch-src::Makefile.in

	Note to committers:
	suphp is not present in CVSROOT-ports/modules
	Can you add it please ? :)

How-To-Repeat: 	N/A.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-08-25 12:39:36 UTC
Do you know it doesn't work with Apache2?

/home/edwin/local-5/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic -O -pipe -march=pentium2 -DNO_IDEA -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE  -I/home/edwin/local-5/include/apache2 -O -pipe -march=pentium2 -I../../src -DHAVE_CONFIG_H -DPATH_TO_SUPHP=\"/usr/local/sbin/suphp\"  -c -o mod_suphp.lo mod_suphp.c && touch mod_suphp.slo
mod_suphp.c:75:31: http_conf_globals.h: No such file or directory
mod_suphp.c:81: error: syntax error before "suphp_module"

Edwin

-- 
Edwin Groothuis
edwin@freebsd.org
http://www.mavetju.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-08-25 13:13:45 UTC
State Changed
From-To: open->closed