ports/152449: [PATCH] net-mgmt/collectd missing perl lib for collection cgi

Philippe Pepiot phil at philpep.org
Sun Nov 21 15:40:12 UTC 2010


>Number:         152449
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/collectd missing perl lib for collection cgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 21 15:40:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philippe Pepiot
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD aldo.philpep.org 8.1-RELEASE FreeBSD 8.1-RELEASE #4: Sat Sep 11 15:23:36 UTC 2010 root at aldo.philpep.org:/usr/obj/usr/src/sys/ALDO amd64


	
>Description:
	collection.cgi needs HTML::Entities. The patch add run depend on www/p5-HTML-Parser who provide HTML::Entities.
>How-To-Repeat:
	Try to run collection.cgi without p5-HTML-Parser installed :)
>Fix:

	

--- collectd_cgi.patch begins here ---
--- Makefile.old	2010-11-21 16:28:15.628713637 +0100
+++ Makefile	2010-11-21 16:30:37.446876001 +0100
@@ -132,7 +132,8 @@
 .if defined(WITH_CGI)
 RUN_DEPENDS+=	${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
 		${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
-		${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
+		${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper \
+		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
 PLIST_SUB+=	CGI=""
 .else
 PLIST_SUB+=	CGI="@comment "
--- collectd_cgi.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list