head	1.6;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.5
	RELEASE_6_3_0:1.5
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2007.12.11.20.38.58;	author koitsu;	state Exp;
branches;
next	1.5;

1.5
date	2006.04.08.12.56.16;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2004.08.12.09.31.51;	author vs;	state Exp;
branches;
next	1.3;

1.3
date	2004.01.11.15.53.55;	author clement;	state Exp;
branches;
next	1.2;

1.2
date	2003.08.25.12.13.36;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.25.06.50.52;	author daichi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Upgrade to suPHP 0.6.2.  This upgrade is quite major; it introduces
numerous features necessary for hosting, adds the use of a configuration
file (vs. compile-time settings) for configuration details, and is
presently supported by the software author.

Changes to httpd.conf are required for this to work, otherwise PHP
content is offered for download and not parsed.  pkg-message contains
full migration details, but here's the simple version:

suPHP 0.5.2                            suPHP 0.6.2
===========                            ===========
AddType application/x-httpd-php .php   AddType x-httpd-php .php
AddHandler x-httpd-php .php            suPHP_AddHandler x-httpd-php

Tested on RELENG_6 and RELENG_7, using Apache 2.0 and 2.2, with the
help of the PR submitter.

Testing for Apache 1.3 was not performed, thus the port requires the
use of 2.0 or later.  suPHP 0.6.2 does support Apache 1.3, but I'll
need someone running 1.3 to work with me on fixing the port to support
it, if desired.

PR:		ports/116281
Submitted by:	Vladimir Korkodinov <viper@@perm.raid.ru>
@
text
@sbin/suphp
etc/suphp.conf-example
%%APACHEMODDIR%%/mod_suphp.so
@@exec %D/sbin/apxs -e -a -n suphp %D/%f
@@unexec %D/sbin/apxs -e -A -n suphp %D/%f
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/CONFIG
%%PORTDOCS%%%%DOCSDIR%%/apache/CONFIG
%%PORTDOCS%%%%DOCSDIR%%/apache/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/apache/README
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/apache
%%PORTDOCS%%@@dirrm %%DOCSDIR%%
@


1.5
log
@- Add support for Apache 2.2

PR:		ports/94034
Submitted by:	Craig Boston <craig@@yekse.gank.org>
Approved by:	Jeremy Chadwick <freebsd@@jdc.parodius.com> (maintainer)
@
text
@d2 1
d6 8
a13 18
%%PORTDOCS%%%%DOCSDIR%%/en/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/en/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/en/README
%%PORTDOCS%%%%DOCSDIR%%/en/apache/CONFIG
%%PORTDOCS%%%%DOCSDIR%%/en/apache/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/en/apache/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/en/apache/README
%%PORTDOCS%%%%DOCSDIR%%/de/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/de/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/de/README
%%PORTDOCS%%%%DOCSDIR%%/de/apache/CONFIG
%%PORTDOCS%%%%DOCSDIR%%/de/apache/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/de/apache/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/de/apache/README
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/de/apache
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/en/apache
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/de
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/en
@


1.4
log
@- Fix "make -C"-issues
- Unregister from Apache through apxs on deinstall
- Cleanup

PR:		ports/70345
Submitted by:	Jeremy Chadwick (maintainer)
@
text
@d2 1
a2 1
%%MODULEDIR%%/mod_suphp.so
@


1.3
log
@Update to 0.5
now suPHP supports apache2.

Approved by:    erwin (mentor) (implicitly)
@
text
@d4 1
a4 1
@@unexec echo "===>  If you do not plan on reinstalling suphp, you must manually remove"; echo "===>  references to it in httpd.conf."
@


1.2
log
@[update] www/suphp: update to 0.3 and fix a security leak introduced with previous patch

	- 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%%

PR:		ports/55952
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d2 1
a2 1
libexec/apache/mod_suphp.so
@


1.1
log
@Add suphp 0.2.2,
suPHP is a combination which provides a wrapper
for PHP.

PR:		42790
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d5 19
a23 16
%%PORTDOCS%%share/doc/suphp/apache/CONFIG
%%PORTDOCS%%share/doc/suphp/apache/README
%%PORTDOCS%%share/doc/suphp/apache/INSTALL
%%PORTDOCS%%share/doc/suphp/apache/LICENSE
%%PORTDOCS%%share/doc/suphp/de-doc/apache/README.de
%%PORTDOCS%%share/doc/suphp/de-doc/apache/INSTALL.de
%%PORTDOCS%%share/doc/suphp/de-doc/apache/CONFIG.de
%%PORTDOCS%%share/doc/suphp/de-doc/README.de
%%PORTDOCS%%share/doc/suphp/de-doc/INSTALL.de
%%PORTDOCS%%share/doc/suphp/README
%%PORTDOCS%%share/doc/suphp/INSTALL
%%PORTDOCS%%share/doc/suphp/LICENSE
%%PORTDOCS%%@@dirrm share/doc/suphp/de-doc/apache
%%PORTDOCS%%@@dirrm share/doc/suphp/de-doc
%%PORTDOCS%%@@dirrm share/doc/suphp/apache
%%PORTDOCS%%@@dirrm share/doc/suphp/
@

