fix for new Squid3-Hierachy methods PINNED and ORIGINAL_DST.
authorMatthias Förste <foerste@schlittermann.de>
Fri, 27 Oct 2017 11:56:51 +0200
changeset 34 87b508932fa3
parent 33 9b659b42285d
child 35 00eb34bfe348
fix for new Squid3-Hierachy methods PINNED and ORIGINAL_DST.
calamaris/2.99.4.0-19/README
calamaris/2.99.4.0-19/new-hier-methods-pinned-and-original-dst.diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calamaris/2.99.4.0-19/README	Fri Oct 27 11:56:51 2017 +0200
@@ -0,0 +1,7 @@
+$ apt-get source calamaris/jessie
+$ cd calamaris-2.99.4.0
+$ quilt import <path-to>/new-hier-methods-pinned-and-original-dst.diff
+$ dch -D jessie -n 'backported fix for new Squid3-Hierachy methods PINNED and ORIGINAL_DST.'
+$ # append '~ius' to debian revision number manually
+$ dch -e
+$ $FAVOURITE-PACKAGE-BUILDER
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calamaris/2.99.4.0-19/new-hier-methods-pinned-and-original-dst.diff	Fri Oct 27 11:56:51 2017 +0200
@@ -0,0 +1,13 @@
+diff --git a/calamaris b/calamaris
+index d0f76a6..aeba787 100755
+--- a/calamaris
++++ b/calamaris
+@@ -1220,7 +1220,7 @@ Thank You.\n\n";
+       $hier++;
+       $hier_size += $log_size;
+       $hier_time += $log_reqtime;
+-      if ( $log_hier_method =~ m#DIRECT|SOURCE_FASTEST#o ) {
++      if ( $log_hier_method =~ m#DIRECT|ORIGINAL_DST|PINNED|SOURCE_FASTEST#o ) {
+ 	$hier_direct++;
+ 	$hier_direct_size += $log_size;
+ 	$hier_direct_time += $log_reqtime;';