From buz@iota.root-servers.ch  Sat Nov  2 06:12:58 2002
Return-Path: <buz@iota.root-servers.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 930D437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Nov 2002 06:12:58 -0800 (PST)
Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195])
	by mx1.FreeBSD.org (Postfix) with SMTP id 72D5243E42
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Nov 2002 06:12:56 -0800 (PST)
	(envelope-from buz@iota.root-servers.ch)
Received: (qmail 50896 invoked from network); 2 Nov 2002 14:12:44 -0000
Received: from localhost.root-servers.ch (HELO iota.root-servers.ch) (127.0.0.1)
  by 0 with SMTP; 2 Nov 2002 14:12:44 -0000
Received: (from buz@localhost)
	by iota.root-servers.ch (8.12.3/8.12.3/Submit) id gA2EChS5050893;
	Sat, 2 Nov 2002 15:12:43 +0100 (CET)
Message-Id: <200211021412.gA2EChS5050893@iota.root-servers.ch>
Date: Sat, 2 Nov 2002 15:12:43 +0100 (CET)
From: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
Reply-To: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: PORTS Uprade: mod_php4-4.2.3_1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44831
>Category:       ports
>Synopsis:       PORTS Uprade: mod_php4-4.2.3_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 02 06:20:01 PST 2002
>Closed-Date:    Sat May 24 02:15:22 PDT 2003
>Last-Modified:  Sat May 24 02:15:22 PDT 2003
>Originator:     Gabriel Ambuehl gabriel_ambuehl@buz.ch
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:


	
>Description:
	Adds LIBXSLT support to mod_php4 configuration menu, proper
	Documentation of PHP4_OPTIONS usage, switch to look for
	apache13-modssl instead apache13
>How-To-Repeat:
	n/a
>Fix:

	n/a

--- mod_php4-4.2.3_1.patch begins here ---
diff -ur /usr/ports/www/mod_php4/Makefile mod_php4/Makefile
--- /usr/ports/www/mod_php4/Makefile	Tue Sep 10 13:26:49 2002
+++ mod_php4/Makefile	Sat Nov  2 14:49:21 2002
@@ -37,11 +37,16 @@
 USE_BZIP2=	yes
 USE_SUBMAKE=	yes
 USE_AUTOCONF_VER=213
+
 .if defined(WITH_APACHE2)
 APACHE_PORT?=	${PORTSDIR}/www/apache2
 .else
+.if defined(WITH_APACHE13-MOD_SSL)
+APACHE_PORT?=   ${PORTSDIR}/www/apache13-modssl
+.else 
 APACHE_PORT?=	${PORTSDIR}/www/apache13
 .endif
+.endif
 APXS?=		${LOCALBASE}/sbin/apxs
 
 .if !defined(BATCH) && !defined(PACKAGE_BUILDING)
@@ -85,6 +90,15 @@
 
 pre-fetch:
 	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
+	@${ECHO_CMD} "Define WITH_APACHE13-MOD_SSL if you're using the www/apache13-mod_ssl"
+	@${ECHO_CMD} "port instead of www/apache13"
+	@${ECHO_CMD} ""
+	@${ECHO_CMD} "Define BATCH if you want to run a non-interactive build."
+	@${ECHO_CMD} "Set PHP4_OPTIONS='\\\"your_module1\\\" \\\"your_module2\\\" ' "
+	@${ECHO_CMD} "if you want non-standard modules to be compiled into BATCH builds"
+	@${ECHO_CMD} "whereas the names of the modules are the same as displayed in the" 
+	@${ECHO_CMD} "interactive menu."
+	@${ECHO_CMD} ""
 .if !defined(STANDALONE) && !defined(WITH_APACHE2)
 	@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
 	@${ECHO_CMD} ""
diff -ur /usr/ports/www/mod_php4/scripts/configure.php mod_php4/scripts/configure.php
--- /usr/ports/www/mod_php4/scripts/configure.php	Sat Sep 21 08:11:46 2002
+++ mod_php4/scripts/configure.php	Sat Nov  2 14:49:22 2002
@@ -40,7 +40,8 @@
 XMLRPC		"XMLRPC-EPI support (implies XML and iconv)" OFF \
 XSLT		"Sablotron support (implies XML and iconv)" OFF \
 WDDX		"WDDX support (implies XML)" OFF \
-DOMXML		"DOM support" OFF \
+DOMXML		"DOM support (by means of Gnome's libxml2, implies zlib)" OFF \
+LIBXSLT         "libxslt support (marked experimental, seems to work, though, implies DOMXML)" OFF \
 FTP		"File Transfer Protocol support" OFF \
 CURL		"CURL support" OFF \
 gettext		"gettext library support" OFF \
@@ -283,8 +284,13 @@
 			;;
 		\"DOMXML\")
 			echo "LIB_DEPENDS+=	xml2.5:\${PORTSDIR}/textproc/libxml2"
-			echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}"
+			echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE} --with-zlib"
 			;;
+	  	\"LIBXSLT\")
+                        echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2 xslt.1:\${PORTSDIR}/textproc/libxslt"
+                        echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE} --with-zlib --with-dom-xslt=\${LOCALBASE}"
+                        ;;
+
 		\"FTP\")
 			echo "CONFIGURE_ARGS+=--enable-ftp"
 			;;
--- mod_php4-4.2.3_1.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: pat 
Responsible-Changed-When: Sat Nov 2 09:02:56 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44831 
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Sat May 24 02:15:09 PDT 2003 
State-Changed-Why:  
Maybe fixed by updating to 4.3.2RC4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44831 
>Unformatted:
