Bug 55952 - [update] www/suphp: update to 0.3 and fix a security leak introduced with previous patch
Summary: [update] www/suphp: update to 0.3 and fix a security leak introduced with pre...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 11:30 UTC by Clement Laforet
Modified: 2003-08-25 13:13 UTC (History)
1 user (show)

See Also:


Attachments
suphp-0.3.diff (11.19 KB, patch)
2003-08-25 11:30 UTC, Clement Laforet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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