ports/145239: net-mgmt/collectd update to new version

Krzysztof Stryjek ports at bsdserwis.com
Wed Mar 31 13:10:09 UTC 2010


>Number:         145239
>Category:       ports
>Synopsis:       net-mgmt/collectd update to new version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 31 13:10:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 7.1-RELEASE amd64
>Organization:
private
>Environment:
System: FreeBSD ddd.bsdserwis.com 7.1-RELEASE FreeBSD 7.1-RELEASE #1: Sun Feb 8 16:35:00 CET 2009 amd64

>Description:
	Collectd project released new version of collectd demon. New version
was released last december, so it's time to port update.

	Also maintainer asked me to take maintainership. That's my pleasure :-)

>How-To-Repeat:
	cd $PORTS/net-mgmt/collectd && make all install clean
>Fix:

	There are patches for Makefile and distinfo:

--- Makefile.patch begins here ---
--- Makefile.orig	2010-03-29 05:14:07.000000000 +0200
+++ Makefile	2010-03-31 14:51:50.000000000 +0200
@@ -6,13 +6,12 @@
 #
 
 PORTNAME=	collectd
-PORTVERSION=	4.5.1
-PORTREVISION=	2
+PORTVERSION=	4.9.1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://collectd.org/files/ \
 		http://mirror.roe.ch/dist/${PORTNAME}/
 
-MAINTAINER=	daniel at roe.ch
+MAINTAINER=	ports at bsdserwis.com
 COMMENT=	Systems & network statistics collection daemon
 
 USE_GMAKE=	yes
@@ -27,6 +26,7 @@
 		INTERFACE "Input: Network interfaces (libstatgrab)" On \
 		MBMON	"Input: MBMon" Off \
 		MYSQL	"Input: MySQL" Off \
+		PGSQL	"Input: PostgreSQL" Off \
 		PING	"Input: Network latency (liboping)" On \
 		SNMP	"Input: SNMP" On \
 		XMMS	"Input: XMMS" Off \
@@ -73,7 +73,6 @@
 		--disable-notify_email \
 		--disable-onewire \
 		--disable-perl \
-		--disable-postgresql \
 		--disable-sensors \
 		--disable-serial \
 		--disable-tape \
@@ -153,6 +152,15 @@
 PLIST_SUB+=	MYSQL="@comment "
 .endif
 
+.if defined(WITH_PGSQL)
+USE_PGSQL=	yes
+CONFIGURE_ARGS+=--enable-postgresql
+PLIST_SUB+=	PGSQL=""
+.else
+CONFIGURE_ARGS+=--disable-postgresql
+PLIST_SUB+=	PGSQL="@comment "
+.endif
+
 .if defined(WITH_PING)
 LIB_DEPENDS+=	oping:${PORTSDIR}/net/liboping
 CONFIGURE_ARGS+=--enable-ping
--- Makefile.patch ends here ---

--- distinfo.patch begins here ---
--- distinfo.orig	2008-11-01 23:19:09.000000000 +0100
+++ distinfo	2010-03-31 13:23:14.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (collectd-4.5.1.tar.gz) = ab900d15662859b8793abf99eda15c29
-SHA256 (collectd-4.5.1.tar.gz) = 9ab967b7909d9c229cfcd4d1a5503da42f38a1246a53fc5cfaaf1dfde6fae8a1
-SIZE (collectd-4.5.1.tar.gz) = 1279434
+MD5 (collectd-4.9.1.tar.gz) = 31a63d8e3a796dee247024f70426ed1c
+SHA256 (collectd-4.9.1.tar.gz) = 7c746795b5b796dfd591c662b35b394e505ec4e6ccabaeebec4ab473743561bc
+SIZE (collectd-4.9.1.tar.gz) = 1687106
--- distinfo.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list