Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 00:26:37 +0200
From:      "Clement Laforet" <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/54558: [fix] www/suphp: fix critical problem, due to wrong dependency.
Message-ID:  <20030716222639.4B72043F3F@mx1.FreeBSD.org>
Resent-Message-ID: <200307162230.h6GMUIZL094313@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54558
>Category:       ports
>Synopsis:       [fix] www/suphp: fix critical problem, due to wrong dependency.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 15:30:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD chuck.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Jul 14 03:00:24 CEST 2003 clement@chuck.cultdeadsheep.org:/usr/obj/usr/src/sys/CHUCK i386


	
>Description:
	suphp must use php-cgi (and not php-cli)
	Thanks to Jez Hancock for the notification. :)

>How-To-Repeat:
	install suphp and bang your head against a brick wall... ;-)

>Fix:

	

--- suphp.diff begins here ---
diff -Nur suphp.old/Makefile suphp/Makefile
--- suphp.old/Makefile	Thu Jul 17 00:16:20 2003
+++ suphp/Makefile	Thu Jul 17 00:20:37 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	suphp
 PORTVERSION=	0.2.3
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.suphp.org/download/
 
@@ -14,7 +15,7 @@
 COMMENT=	suPHP is a combination which provides a wrapper for PHP
 
 BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
-RUN_DEPENDS=	${LOCALBASE}/bin/php:${PORTSDIR}/lang/php4-cli
+RUN_DEPENDS=	${LOCALBASE}/bin/php:${PORTSDIR}/lang/php4-cgi
 
 USE_REINPLACE=	yes
 
@@ -28,7 +29,7 @@
 .include <bsd.port.pre.mk>
 
 .if exists(${LOCALBASE}/libexec/apache/libphp4.so)
-IGNORE="suPHP conflicts with mod_php4. It works only with php4-cli"
+IGNORE="suPHP conflicts with mod_php4. It works only with php4-cgi"
 .endif
 
 pre-configure:
--- suphp.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030716222639.4B72043F3F>