View | Details | Raw Unified | Return to bug 202487 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +14 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	collectd
4
PORTNAME=	collectd
5
PORTVERSION=	5.5.0
5
PORTVERSION=	5.5.0
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	https://collectd.org/files/ \
8
MASTER_SITES=	https://collectd.org/files/ \
9
		http://collectd.org/files/
9
		http://collectd.org/files/
Lines 24-30 Link Here
24
24
25
OPTIONS_DEFINE=		CGI DEBUG GCRYPT LOGSTASH VIRT
25
OPTIONS_DEFINE=		CGI DEBUG GCRYPT LOGSTASH VIRT
26
OPTIONS_GROUP=		INPUT OUTPUT
26
OPTIONS_GROUP=		INPUT OUTPUT
27
OPTIONS_GROUP_OUTPUT=	RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP RIEMANN
27
OPTIONS_GROUP_OUTPUT=	KAFKA NOTIFYDESKTOP NOTIFYEMAIL RIEMANN RRDTOOL
28
OPTIONS_GROUP_INPUT=	CURL DBI IPMI JSON MEMCACHEC MODBUS MONGODB MYSQL \
28
OPTIONS_GROUP_INPUT=	CURL DBI IPMI JSON MEMCACHEC MODBUS MONGODB MYSQL \
29
			NUTUPS OLSRD ONEWIRE OPENLDAP PERL PGSQL PINBA PING \
29
			NUTUPS OLSRD ONEWIRE OPENLDAP PERL PGSQL PINBA PING \
30
			PYTHON RABBITMQ REDIS ROUTEROS SIGROK SNMP STATGRAB \
30
			PYTHON RABBITMQ REDIS ROUTEROS SIGROK SNMP STATGRAB \
Lines 32-49 Link Here
32
32
33
CGI_DESC=		Install collection.cgi (requires rrdtool)
33
CGI_DESC=		Install collection.cgi (requires rrdtool)
34
CURL_DESC=		Enable curl-based plugins (apache, nginx, etc)
34
CURL_DESC=		Enable curl-based plugins (apache, nginx, etc)
35
DBI_DESC=		Enable dbi plugin
35
DEBUG_DESC=		Enable debugging
36
DEBUG_DESC=		Enable debugging
36
DBI_DESC=		Enable dbi plugin
37
GCRYPT_DESC=		Build with libgcrypt
37
GCRYPT_DESC=		Build with libgcrypt
38
IPMI_DESC=		Enable OpenIPMI plugin
38
IPMI_DESC=		Enable OpenIPMI plugin
39
JSON_DESC=		Enable JSON plugins
39
JSON_DESC=		Enable JSON plugins
40
KAFKA_DESC=		Enable write_kafka plugin
40
LOGSTASH_DESC=		Enable log_logstash plugin (requires json)
41
LOGSTASH_DESC=		Enable log_logstash plugin (requires json)
41
MEMCACHEC_DESC=		Enable memcachec plugin
42
MEMCACHEC_DESC=		Enable memcachec plugin
42
MODBUS_DESC=		Enable modbus plugin
43
MODBUS_DESC=		Enable modbus plugin
43
MONGODB_DESC=		Enable MongoDB-based plugins
44
MONGODB_DESC=		Enable MongoDB-based plugins
44
MYSQL_DESC=		Enable mysql-based plugins
45
MYSQL_DESC=		Enable mysql-based plugins
46
NOTIFYDESKTOP_DESC=	Enable desktop notifications
45
NOTIFYEMAIL_DESC=	Enable notifications via email
47
NOTIFYEMAIL_DESC=	Enable notifications via email
46
NOTIFYDESKTOP_DESC=	Enable desktop notifications
47
NUTUPS_DESC=		Enable nut (ups) plugin
48
NUTUPS_DESC=		Enable nut (ups) plugin
48
OLSRD_DESC=		Enable olsrd plugin
49
OLSRD_DESC=		Enable olsrd plugin
49
ONEWIRE_DESC=		Eanble onewire plugin (via owfs)
50
ONEWIRE_DESC=		Eanble onewire plugin (via owfs)
Lines 99-105 Link Here
99
		--without-libnetapp \
100
		--without-libnetapp \
100
		--without-libowcapi \
101
		--without-libowcapi \
101
		--without-libperfstat \
102
		--without-libperfstat \
102
		--without-librdkafka \
103
		--without-libsensors \
103
		--without-libsensors \
104
		--without-libvarnish \
104
		--without-libvarnish \
105
		--without-lvm \
105
		--without-lvm \
Lines 251-256 Link Here
251
CONFIGURE_ARGS+=--without-libyajl
251
CONFIGURE_ARGS+=--without-libyajl
252
.endif
252
.endif
253
253
254
.if ${PORT_OPTIONS:MKAFKA}
255
LIB_DEPENDS+=	librdkafka.so:${PORTSDIR}/net/librdkafka
256
CONFIGURE_ARGS+=--enable-write_kafka
257
PLIST_SUB+=	KAFKA=""
258
.else
259
CONFIGURE_ARGS+=--disable-write_kafka
260
PLIST_SUB+=	KAFKA="@comment "
261
.endif
262
254
.if ${PORT_OPTIONS:MLOGSTASH}
263
.if ${PORT_OPTIONS:MLOGSTASH}
255
CONFIGURE_ARGS+=--enable-log_logstash
264
CONFIGURE_ARGS+=--enable-log_logstash
256
PLIST_SUB+=	LOGSTASH=""
265
PLIST_SUB+=	LOGSTASH=""
(-)pkg-plist (+1 lines)
Lines 97-102 Link Here
97
lib/collectd/write_graphite.so
97
lib/collectd/write_graphite.so
98
%%CURL%%lib/collectd/write_http.so
98
%%CURL%%lib/collectd/write_http.so
99
lib/collectd/write_log.so
99
lib/collectd/write_log.so
100
%%KAFKA%%lib/collectd/write_kafka.so
100
%%MONGODB%%lib/collectd/write_mongodb.so
101
%%MONGODB%%lib/collectd/write_mongodb.so
101
%%REDIS%%lib/collectd/write_redis.so
102
%%REDIS%%lib/collectd/write_redis.so
102
%%RIEMANN%%lib/collectd/write_riemann.so
103
%%RIEMANN%%lib/collectd/write_riemann.so

Return to bug 202487