head	1.4;
access;
symbols
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3;
locks; strict;
comment	@# @;


1.4
date	2007.12.11.20.38.58;	author koitsu;	state dead;
branches;
next	1.3;

1.3
date	2006.04.08.12.56.16;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.01.14.20.28.58;	author clement;	state dead;
branches;
next	1.1;

1.1
date	2004.01.11.15.53.56;	author clement;	state Exp;
branches;
next	;


desc
@@


1.4
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
@--- configure.orig	Thu Mar  2 13:38:36 2006
+++ configure	Thu Mar  2 13:39:23 2006
@@@@ -2405,7 +2405,7 @@@@
                     | cut -f2 -d"/" \
                     | cut -f1 -d" "`
     major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`
-    if test "$major_version" = "2.0"; then
+    if test "$major_version" = "2.0" -o "$major_version" = "2.2"; then
       APACHE_VERSION_2=true
       APACHE_VERSION_1_3=false
     else
@


1.3
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
@@


1.2
log
@- Fix suPHP.
- Bump PORTREVISION

Noticed by:         Starhost.nl - N.Elsten <elsten@@starhost.nl>
Approved by:        erwin (mentor) (implicitly)
@
text
@d1 11
a11 20
--- configure.orig	Sun Jan 11 15:21:53 2004
+++ configure	Sun Jan 11 15:22:19 2004
@@@@ -2253,7 +2253,7 @@@@
              if test $withval; then
 
 cat >>confdefs.h <<_ACEOF
-#define OPT_MIN_UID $withval
+#define OPT_MIN_UID "$withval"
 _ACEOF
 
              fi
@@@@ -2276,7 +2276,7 @@@@
              if test $withval; then
 
 cat >>confdefs.h <<_ACEOF
-#define OPT_MIN_GID $withval
+#define OPT_MIN_GID "$withval"
 _ACEOF
 
              fi
@


1.1
log
@Update to 0.5
now suPHP supports apache2.

Approved by:    erwin (mentor) (implicitly)
@
text
@@

