misc/156006: www/yanopaste missing dependency on php5-session

Thomas Steen Rasmussen thomas at gibfest.dk
Mon Mar 28 18:20:09 UTC 2011


>Number:         156006
>Category:       misc
>Synopsis:       www/yanopaste missing dependency on php5-session
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 28 18:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Steen Rasmussen
>Release:        FreeBSD 8.0-RELEASE-p2 amd64 GENERIC
>Organization:
>Environment:
FreeBSD pastebin.skabet.cn.dom 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
yanopaste 1.3 which was included in the ports tree in january depends on php5-sesion, but a dependency was not added when the port was upgraded. The attached patch adds the dependency so php5-session gets pulled in on install/upgrade.
>How-To-Repeat:
Install yanopaste and see that it doesn't depend on php5-session, and observe the session-related errors on the yanopaste page.
>Fix:
Apply the patch, update the port.

Patch attached with submission follows:

diff -ru yanopaste.orig/Makefile yanopaste/Makefile
--- yanopaste.orig/Makefile	2011-03-28 20:09:17.000000000 +0200
+++ yanopaste/Makefile	2011-03-28 20:09:34.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	yanopaste
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -14,7 +15,7 @@
 COMMENT=	Yet Another Nopaste
 
 NO_BUILD=	yes
-USE_PHP=	xsl
+USE_PHP=	xsl session
 SUB_FILES=	pkg-message
 WWWDIR?=	${PREFIX}/www/${PORTNAME}
 


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


More information about the freebsd-bugs mailing list