summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 671352e)
raw | patch | inline | side by side (parent: 671352e)
author | Marc Fournier <marc@bl.uem.li> | |
Fri, 22 Jan 2016 11:25:46 +0000 (12:25 +0100) | ||
committer | Marc Fournier <marc@bl.uem.li> | |
Fri, 22 Jan 2016 11:25:46 +0000 (12:25 +0100) |
debian/changelog | patch | blob | history | |
debian/patches/bts802249_varnish_41.patch | [deleted file] | patch | blob | history |
debian/patches/series | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index beea0dd94a1959dc26fd87f53665c5ac14671728..6e9e04f64d382c48cd37d87303dc4f992afdfeba 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
for reporting this (Closes: #799289).
- Fixed FTBFS with GCC 6.0; thanks to Martin Michlmayr for reporting this
(Closes: #811580).
+ * debian/patches:
+ - Removed bts802249_varnish_41.patch; implemented upstream.
-- Marc Fournier <marc@bl.uem.li> Fri, 22 Jan 2016 12:04:24 +0100
diff --git a/debian/patches/bts802249_varnish_41.patch b/debian/patches/bts802249_varnish_41.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Author: Marc Fournier <marc@bl.uem.li>
-Description: disable metrics which have been removed from varnish 4.1.0. This
-is a temporary fix to allow the build to succeed. Proper support for recent
-varnish version is expected in a future collectd release.
-https://github.com/collectd/collectd/issues/1302 keeps track of this problem.
---- a/src/varnish.c
-+++ b/src/varnish.c
-@@ -200,7 +200,7 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
- /* Backend conn. reuses */
- varnish_submit_derive (conf->instance, "backend", "connections", "reuses" , stats->backend_reuse);
- /* Backend conn. was closed */
-- varnish_submit_derive (conf->instance, "backend", "connections", "was-closed" , stats->backend_toolate);
-+ //varnish_submit_derive (conf->instance, "backend", "connections", "was-closed" , stats->backend_toolate);
- /* Backend conn. recycles */
- varnish_submit_derive (conf->instance, "backend", "connections", "recycled" , stats->backend_recycle);
- #if HAVE_VARNISH_V2
-@@ -229,11 +229,11 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
- /* Fetch bad headers */
- varnish_submit_derive (conf->instance, "fetch", "http_requests", "bad_headers", stats->fetch_bad);
- /* Fetch wanted close */
-- varnish_submit_derive (conf->instance, "fetch", "http_requests", "close" , stats->fetch_close);
-+ //varnish_submit_derive (conf->instance, "fetch", "http_requests", "close" , stats->fetch_close);
- /* Fetch pre HTTP/1.1 closed */
-- varnish_submit_derive (conf->instance, "fetch", "http_requests", "oldhttp" , stats->fetch_oldhttp);
-+ //varnish_submit_derive (conf->instance, "fetch", "http_requests", "oldhttp" , stats->fetch_oldhttp);
- /* Fetch zero len */
-- varnish_submit_derive (conf->instance, "fetch", "http_requests", "zero" , stats->fetch_zero);
-+ //varnish_submit_derive (conf->instance, "fetch", "http_requests", "zero" , stats->fetch_zero);
- /* Fetch failed */
- varnish_submit_derive (conf->instance, "fetch", "http_requests", "failed" , stats->fetch_failed);
- #if HAVE_VARNISH_V3 || HAVE_VARNISH_V4
-@@ -348,7 +348,7 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
- /* Session Closed */
- varnish_submit_derive (conf->instance, "session", "total_operations", "closed", stats->sess_closed);
- /* Session Pipeline */
-- varnish_submit_derive (conf->instance, "session", "total_operations", "pipeline", stats->sess_pipeline);
-+ //varnish_submit_derive (conf->instance, "session", "total_operations", "pipeline", stats->sess_pipeline);
- /* Session Read Ahead */
- varnish_submit_derive (conf->instance, "session", "total_operations", "readahead", stats->sess_readahead);
- #if HAVE_VARNISH_V4
-@@ -359,7 +359,7 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
- /* Sessions accept failure */
- varnish_submit_derive (conf->instance, "session", "total_operations", "failed", stats->sess_fail);
- /* Sessions pipe overflow */
-- varnish_submit_derive (conf->instance, "session", "total_operations", "overflow", stats->sess_pipe_overflow);
-+ //varnish_submit_derive (conf->instance, "session", "total_operations", "overflow", stats->sess_pipe_overflow);
- /* Sessions queued for thread */
- varnish_submit_derive (conf->instance, "session", "total_operations", "queued", stats->sess_queued);
- #else
-@@ -415,15 +415,15 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
- if (conf->collect_sms)
- {
- /* SMS allocator requests */
-- varnish_submit_derive (conf->instance, "sms", "total_requests", "allocator", stats->sms_nreq);
-+ //varnish_submit_derive (conf->instance, "sms", "total_requests", "allocator", stats->sms_nreq);
- /* SMS outstanding allocations */
-- varnish_submit_gauge (conf->instance, "sms", "requests", "outstanding", stats->sms_nobj);
-+ //varnish_submit_gauge (conf->instance, "sms", "requests", "outstanding", stats->sms_nobj);
- /* SMS outstanding bytes */
-- varnish_submit_gauge (conf->instance, "sms", "bytes", "outstanding", stats->sms_nbytes);
-+ //varnish_submit_gauge (conf->instance, "sms", "bytes", "outstanding", stats->sms_nbytes);
- /* SMS bytes allocated */
-- varnish_submit_derive (conf->instance, "sms", "total_bytes", "allocated", stats->sms_balloc);
-+ //varnish_submit_derive (conf->instance, "sms", "total_bytes", "allocated", stats->sms_balloc);
- /* SMS bytes freed */
-- varnish_submit_derive (conf->instance, "sms", "total_bytes", "free", stats->sms_bfree);
-+ //varnish_submit_derive (conf->instance, "sms", "total_bytes", "free", stats->sms_bfree);
- }
-
- if (conf->collect_struct)
diff --git a/debian/patches/series b/debian/patches/series
index 86e1cf0baaaff5ff75282815c3e56af285bf385e..5e9e15a6b55248a10a406eaf960766283ff29e20 100644 (file)
--- a/debian/patches/series
+++ b/debian/patches/series
rrd_filter_path.patch
collection_conf_path.patch
myplugin_includes.patch
-bts802249_varnish_41.patch