ports/151267: Missing dependcy for mantis

Frédéric Praca frederic.praca at freebsd-fr.org
Wed Oct 6 21:00:02 UTC 2010


>Number:         151267
>Category:       ports
>Synopsis:       Missing dependcy for mantis
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 06 21:00:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Frédéric Praca
>Release:        8.1-STABLE i386
>Organization:
FreeBSD-fr
>Environment:
FreeBSD coruscant.dnsalias.net 8.1-STABLE FreeBSD 8.1-STABLE #14: Sat Oct 2 11:23:43 CEST 2010 root at coruscant.dnsalias.net:/usr/obj/usr/src/sys/CORUSCANT i386
>Description:
After installing mantis, opening a browser on http://localhost/mantis/check.php reports a problem while creating session.
PHP5 session functions are part of lang/php5-extensions which should be part of the dependencies of Mantis Makefile.
>How-To-Repeat:
Install a brand new mantis on a system without php5 installed.
Pointing to http://localhost/mantis/ leads to an empty page instead of the installation page.
>Fix:


Patch attached with submission follows:

--- Makefile	2010-10-06 22:53:30.000000000 +0200
+++ /root/Makefile.new	2010-10-06 22:53:10.000000000 +0200
@@ -16,7 +16,9 @@
 
 NO_BUILD=	yes
 USE_MYSQL=	yes
-USE_PHP=	pcre 
+USE_PHP=	pcre \
+		session \
+		hash
 
 SUB_FILES=	pkg-message
 


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



More information about the freebsd-ports-bugs mailing list