diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-03 23:37:48 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-03 23:37:48 +0000 |
commit | e98797bdfe9573d16ec3028409349d430d724a85 (patch) | |
tree | ed0072a01805da8e432fd880a78e014cde8cb87f /net-mgmt | |
parent | f749901ca3c8c9e76ad1ec14a7cd30dcb4526ba7 (diff) | |
download | ports-e98797bdfe9573d16ec3028409349d430d724a85.tar.gz ports-e98797bdfe9573d16ec3028409349d430d724a85.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/collectd5/Makefile | 26 | ||||
-rw-r--r-- | net-mgmt/collectd5/pkg-plist | 18 |
2 files changed, 25 insertions, 19 deletions
diff --git a/net-mgmt/collectd5/Makefile b/net-mgmt/collectd5/Makefile index 6d2786970add..8c1653b731b5 100644 --- a/net-mgmt/collectd5/Makefile +++ b/net-mgmt/collectd5/Makefile @@ -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 (requires XML) 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 <bsd.port.options.mk> # 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 <bsd.port.mk> diff --git a/net-mgmt/collectd5/pkg-plist b/net-mgmt/collectd5/pkg-plist index f4570530f31e..88a8272fa4b1 100644 --- a/net-mgmt/collectd5/pkg-plist +++ b/net-mgmt/collectd5/pkg-plist @@ -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%% |