Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2010 16:37:52 +0100 (CET)
From:      Philippe Pepiot <phil@philpep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/152449: [PATCH] net-mgmt/collectd missing perl lib for collection cgi
Message-ID:  <201011211537.oALFbqxV049720@aldo.philpep.org>
Resent-Message-ID: <201011211540.oALFeCXF006877@freefall.freebsd.org>

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

>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@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:



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