ports/54558: [fix] www/suphp: fix critical problem, due to wrong dependency.
Clement Laforet
sheepkiller at cultdeadsheep.org
Wed Jul 16 22:30:19 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list