FreeBSD Bugzilla – Attachment 160461 Details for
Bug 202487
[PATCH] net-mgmt/collectd5: Add write_kafka support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
collectd5_librdkafka.patch
file_202487.txt (text/plain), 2.45 KB, created by
Krzysztof
on 2015-08-29 00:52:12 UTC
(
hide
)
Description:
collectd5_librdkafka.patch
Filename:
MIME Type:
Creator:
Krzysztof
Created:
2015-08-29 00:52:12 UTC
Size:
2.45 KB
patch
obsolete
>diff -ruN net-mgmt/collectd5/Makefile net-mgmt/collectd5.new/Makefile >--- net-mgmt/collectd5/Makefile 2015-08-14 21:30:11.000000000 +0200 >+++ net-mgmt/collectd5.new/Makefile 2015-08-28 23:00:46.651393000 +0200 >@@ -3,7 +3,7 @@ > > PORTNAME= collectd > PORTVERSION= 5.5.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net-mgmt > MASTER_SITES= https://collectd.org/files/ \ > http://collectd.org/files/ >@@ -24,7 +24,7 @@ > > OPTIONS_DEFINE= CGI DEBUG GCRYPT LOGSTASH VIRT > OPTIONS_GROUP= INPUT OUTPUT >-OPTIONS_GROUP_OUTPUT= RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP RIEMANN >+OPTIONS_GROUP_OUTPUT= RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP KAFKA RIEMANN > OPTIONS_GROUP_INPUT= CURL DBI IPMI JSON MEMCACHEC MODBUS MONGODB MYSQL \ > NUTUPS OLSRD ONEWIRE OPENLDAP PERL PGSQL PINBA PING \ > PYTHON RABBITMQ REDIS ROUTEROS SIGROK SNMP STATGRAB \ >@@ -37,6 +37,7 @@ > GCRYPT_DESC= Build with libgcrypt > IPMI_DESC= Enable OpenIPMI plugin > JSON_DESC= Enable JSON plugins >+KAFKA_DESC= Enable write_kafka plugin > LOGSTASH_DESC= Enable log_logstash plugin (requires json) > MEMCACHEC_DESC= Enable memcachec plugin > MODBUS_DESC= Enable modbus plugin >@@ -99,7 +100,6 @@ > --without-libnetapp \ > --without-libowcapi \ > --without-libperfstat \ >- --without-librdkafka \ > --without-libsensors \ > --without-libvarnish \ > --without-lvm \ >@@ -556,6 +556,15 @@ > PLIST_SUB+= ZOOKEEPER="@comment " > .endif > >+.if ${PORT_OPTIONS:MKAFKA} >+LIB_DEPENDS+= librdkafka.so:${PORTSDIR}/net/librdkafka >+CONFIGURE_ARGS+=--enable-write_kafka >+PLIST_SUB+= KAFKA="" >+.else >+CONFIGURE_ARGS+=--disable-write_kafka >+PLIST_SUB+= KAFKA="@comment " >+.endif >+ > INSTALL_TARGET=install-strip > SHEBANG_FILES= contrib/collection.cgi > >diff -ruN net-mgmt/collectd5/pkg-plist net-mgmt/collectd5.new/pkg-plist >--- net-mgmt/collectd5/pkg-plist 2015-08-14 21:30:11.000000000 +0200 >+++ net-mgmt/collectd5.new/pkg-plist 2015-08-28 23:00:19.500394000 +0200 >@@ -97,6 +97,7 @@ > lib/collectd/write_graphite.so > %%CURL%%lib/collectd/write_http.so > lib/collectd/write_log.so >+%%KAFKA%%lib/collectd/write_kafka.so > %%MONGODB%%lib/collectd/write_mongodb.so > %%REDIS%%lib/collectd/write_redis.so > %%RIEMANN%%lib/collectd/write_riemann.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202487
:
160107
|
160134
|
160461
|
160849