1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Understand log format produced by new versions of squid.

Submitted by:	Dimitris Kalogeras <D.Kalogeras@noc.ntua.gr>
This commit is contained in:
Dmitry Sivachenko 2016-07-01 09:16:32 +00:00
parent 1d71064bc6
commit a9061942ff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417870
2 changed files with 12 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= calamaris
PORTVERSION= 2.59
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www textproc
MASTER_SITES= http://cord.de/files/calamaris/

View File

@ -1,5 +1,14 @@
--- calamaris.orig 2013-03-11 16:52:12.000000000 +0400
+++ calamaris 2013-03-11 16:52:45.000000000 +0400
--- calamaris.orig 2016-07-01 12:14:22.630107000 +0300
+++ calamaris 2016-07-01 12:14:58.852151000 +0300
@@ -1728,7 +1728,7 @@
$hier++;
$hier_size += $log_size;
$hier_time += $log_reqtime;
- if ( $log_hier_method =~ m#DIRECT|SOURCE_FASTEST#o ) {
+ if ( $log_hier_method =~ m#ORIGINAL_DST|DIRECT|SOURCE_FASTEST#o ) {
$hier_direct++;
$hier_direct_size += $log_size;
$hier_direct_time += $log_reqtime;';
@@ -2606,7 +2606,7 @@
100, 100 * $tcp_hit / $tcp );
}