From owner-svn-ports-all@FreeBSD.ORG Thu Oct 3 23:37:49 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 33E07B8F; Thu, 3 Oct 2013 23:37:49 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2206F271A; Thu, 3 Oct 2013 23:37:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r93Nbnqc006403; Thu, 3 Oct 2013 23:37:49 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r93Nbmi6006401; Thu, 3 Oct 2013 23:37:48 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310032337.r93Nbmi6006401@svn.freebsd.org> From: William Grzybowski Date: Thu, 3 Oct 2013 23:37:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329249 - head/net-mgmt/collectd5 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 23:37:49 -0000 Author: wg Date: Thu Oct 3 23:37:48 2013 New Revision: 329249 URL: http://svnweb.freebsd.org/changeset/ports/329249 Log: net-mgmt/collectd5: add statsd support - Add statsd support [1] - Use PKGNAMESUFFIX to do not conflict with net-mgmt/collectd - Allow staging PR: ports/182064 [1] Submitted by: Kimo [1] Approved by: maintainer [1] Modified: head/net-mgmt/collectd5/Makefile head/net-mgmt/collectd5/pkg-plist Modified: head/net-mgmt/collectd5/Makefile ============================================================================== --- head/net-mgmt/collectd5/Makefile Thu Oct 3 23:24:14 2013 (r329248) +++ head/net-mgmt/collectd5/Makefile Thu Oct 3 23:37:48 2013 (r329249) @@ -3,6 +3,8 @@ PORTNAME= collectd PORTVERSION= 5.4.0 +PORTREVISION= 1 +PKGNAMESUFFIX= 5 CATEGORIES= net-mgmt MASTER_SITES= http://collectd.org/files/ @@ -15,8 +17,6 @@ GNU_CONFIGURE= yes USE_AUTOTOOLS= aclocal autoconf autoheader automake libltdl libtool USE_GNOME= glib20 -LATEST_LINK= collectd5 - OPTIONS_DEFINE= CGI DEBUG GCRYPT VIRT OPTIONS_GROUP= INPUT OUTPUT OPTIONS_GROUP_OUTPUT= RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP @@ -50,10 +50,6 @@ VIRT_DESC= Enable libvirt plugin (requi XML_DESC= Enable XML plugins XMMS_DESC= Enable xmms plugin -MAN1= collectd.1 collectd-nagios.1 collectd-tg.1 collectdmon.1 collectdctl.1 -MAN5= collectd.conf.5 collectd-email.5 collectd-exec.5 \ - collectd-snmp.5 collectd-unixsock.5 collectd-perl.5 \ - collectd-java.5 collectd-python.5 types.db.5 collectd-threshold.5 USE_RC_SUBR= collectd collectdmon USE_LDCONFIG= yes @@ -63,7 +59,6 @@ CONFLICTS= collectd-4.[0-9]* CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes .include # NOTE: Plugins without dependencies are defined further down. @@ -117,6 +112,7 @@ CONFIGURE_ARGS+= \ --enable-powerdns \ --enable-pf \ --enable-processes \ + --enable-statsd \ --enable-swap \ --enable-syslog \ --enable-table \ @@ -438,20 +434,12 @@ post-patch: ${WRKSRC}/configure.in post-install: - ${MKDIR} /var/db/collectd - if [ ! -f ${PREFIX}/etc/collectd.conf ]; then \ - ${CP} -p ${PREFIX}/etc/collectd.conf.sample \ - ${PREFIX}/etc/collectd.conf ; \ - fi + @${MKDIR} ${STAGEDIR}/var/db/collectd .if ${PORT_OPTIONS:MCGI} - ${MKDIR} ${WWWDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/contrib/collection.cgi ${WWWDIR}/ + @${MKDIR} ${STAGEDIR}${WWWDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/contrib/collection.cgi ${STAGEDIR}${WWWDIR}/ ${INSTALL_DATA} ${WRKSRC}/contrib/collection.conf \ - ${WWWDIR}/collection.conf.sample - if [ ! -f ${WWWDIR}/collection.conf ]; then \ - ${CP} -p ${WWWDIR}/collection.conf.sample \ - ${WWWDIR}/collection.conf ; \ - fi + ${STAGEDIR}${WWWDIR}/collection.conf.sample .endif .include Modified: head/net-mgmt/collectd5/pkg-plist ============================================================================== --- head/net-mgmt/collectd5/pkg-plist Thu Oct 3 23:24:14 2013 (r329248) +++ head/net-mgmt/collectd5/pkg-plist Thu Oct 3 23:37:48 2013 (r329249) @@ -154,6 +154,9 @@ lib/collectd/processes.la %%SNMP%%lib/collectd/snmp.a %%SNMP%%lib/collectd/snmp.so %%SNMP%%lib/collectd/snmp.la +lib/collectd/statsd.a +lib/collectd/statsd.so +lib/collectd/statsd.la lib/collectd/swap.a lib/collectd/swap.so lib/collectd/swap.la @@ -233,6 +236,21 @@ lib/libcollectdclient.so.1 libdata/pkgconfig/libcollectdclient.pc %%DATADIR%%/postgresql_default.conf %%DATADIR%%/types.db +man/man1/collectd-nagios.1.gz +man/man1/collectd-tg.1.gz +man/man1/collectd.1.gz +man/man1/collectdctl.1.gz +man/man1/collectdmon.1.gz +man/man5/collectd-email.5.gz +man/man5/collectd-exec.5.gz +man/man5/collectd-java.5.gz +man/man5/collectd-perl.5.gz +man/man5/collectd-python.5.gz +man/man5/collectd-snmp.5.gz +man/man5/collectd-threshold.5.gz +man/man5/collectd-unixsock.5.gz +man/man5/collectd.conf.5.gz +man/man5/types.db.5.gz @dirrm lib/collectd @dirrm include/collectd @dirrm %%DATADIR%%