FreeBSD Bugzilla – Attachment 154456 Details for
Bug 198659
[PATCH] net-mgmt/collectd5: add varnish support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
collectd5.patch to add varish plugin
collectd5.patch (text/plain), 2.37 KB, created by
Krzysztof
on 2015-03-17 14:48:38 UTC
(
hide
)
Description:
collectd5.patch to add varish plugin
Filename:
MIME Type:
Creator:
Krzysztof
Created:
2015-03-17 14:48:38 UTC
Size:
2.37 KB
patch
obsolete
>diff -ruN collectd5/Makefile collectd5.new/Makefile >--- collectd5/Makefile 2015-03-03 17:23:06.000000000 +0100 >+++ collectd5.new/Makefile 2015-03-12 12:47:53.177794903 +0100 >@@ -3,6 +3,7 @@ > > PORTNAME= collectd > PORTVERSION= 5.4.2 >+PORTREVISION= 1 > CATEGORIES= net-mgmt > MASTER_SITES= http://collectd.org/files/ > PKGNAMESUFFIX= 5 >@@ -25,7 +26,8 @@ > OPTIONS_GROUP_OUTPUT= RRDTOOL NOTIFYEMAIL NOTIFYDESKTOP RIEMANN > OPTIONS_GROUP_INPUT= CURL DBI JSON MEMCACHEC MODBUS MONGODB MYSQL \ > NUTUPS PERL PGSQL PING PYTHON RABBITMQ REDIS \ >- ROUTEROS SIGROK SNMP STATGRAB TOKYOTYRANT XML XMMS >+ ROUTEROS SIGROK SNMP STATGRAB TOKYOTYRANT VARNISH \ >+ XML XMMS > > CGI_DESC= Install collection.cgi (requires rrdtool) > CURL_DESC= Enable curl-based plugins (apache, nginx, etc) >@@ -53,6 +55,7 @@ > SNMP_DESC= Enable SNMP plugin > STATGRAB_DESC= Enable statgrab-based plugins (disk, interface, etc) > TOKYOTYRANT_DESC= Enable tokyotyrant plugin >+VARNISH_DESC= Enable varnish 3.x cache statistics > VIRT_DESC= Enable libvirt plugin (requires XML) > XML_DESC= Enable XML plugins > XMMS_DESC= Enable xmms plugin >@@ -86,7 +89,6 @@ > --without-libowcapi \ > --without-libperfstat \ > --without-libsensors \ >- --without-libvarnish \ > --without-lvm \ > --without-mic \ > --without-oracle >@@ -430,6 +432,15 @@ > PLIST_SUB+= TOKYOTYRANT="@comment " > .endif > >+.if ${PORT_OPTIONS:MVARNISH} >+LIB_DEPENDS+= libvarnishapi.so:${PORTSDIR}/www/varnish >+CONFIGURE_ARGS+=--with-libvarnish=${LOCALBASE} --enable-varnish >+PLIST_SUB+= VARNISH="" >+.else >+CONFIGURE_ARGS+=--without-libvarnish >+PLIST_SUB+= VARNISH="@comment " >+.endif >+ > .if ${PORT_OPTIONS:MVIRT} > .if empty(PORT_OPTIONS:MXML) > IGNORE= VIRT requires XML. Either select XML or deselect VIRT. >diff -ruN collectd5/pkg-plist collectd5.new/pkg-plist >--- collectd5/pkg-plist 2014-11-26 14:08:24.000000000 +0100 >+++ collectd5.new/pkg-plist 2015-03-12 12:47:48.818792738 +0100 >@@ -43,6 +43,8 @@ > %%MYSQL%%lib/collectd/mysql.so > lib/collectd/network.so > %%CURL%%lib/collectd/nginx.so >+%%NOTIFYEMAIL%%lib/collectd/notify_email.so >+%%NOTIFYDESKTOP%%lib/collectd/notify_desktop.so > lib/collectd/ntpd.so > %%NUTUPS%%lib/collectd/nut.so > lib/collectd/openvpn.so >@@ -80,6 +82,7 @@ > lib/collectd/uptime.so > %%USERS%%lib/collectd/users.so > lib/collectd/uuid.so >+%%VARNISH%%lib/collectd/varnish.so > %%VIRT%%lib/collectd/libvirt.so > lib/collectd/write_graphite.so > %%CURL%%lib/collectd/write_http.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 198659
: 154456