From owner-svn-ports-all@freebsd.org Tue Sep 25 15:41:06 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 377DF10B49FA; Tue, 25 Sep 2018 15:41:06 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFB6175EEE; Tue, 25 Sep 2018 15:41:05 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA95122F8; Tue, 25 Sep 2018 15:41:05 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8PFf5GP002238; Tue, 25 Sep 2018 15:41:05 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8PFf57M002236; Tue, 25 Sep 2018 15:41:05 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201809251541.w8PFf57M002236@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 25 Sep 2018 15:41:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480668 - in head/www/varnish6: . files X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/www/varnish6: . files X-SVN-Commit-Revision: 480668 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 15:41:06 -0000 Author: feld Date: Tue Sep 25 15:41:05 2018 New Revision: 480668 URL: https://svnweb.freebsd.org/changeset/ports/480668 Log: www/varnish6: Add patch to fix output of varnishhist Obtained from: https://github.com/varnishcache/varnish-cache/issues/2780 MFH: 2018Q3 Added: head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c (contents, props changed) Modified: head/www/varnish6/Makefile Modified: head/www/varnish6/Makefile ============================================================================== --- head/www/varnish6/Makefile Tue Sep 25 15:21:46 2018 (r480667) +++ head/www/varnish6/Makefile Tue Sep 25 15:41:05 2018 (r480668) @@ -3,7 +3,7 @@ PORTNAME= varnish PORTVERSION= 6.0.1 DISTVERSIONPREFIX= varnish- -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www PKGNAMESUFFIX= 6 Added: head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Tue Sep 25 15:41:05 2018 (r480668) @@ -0,0 +1,11 @@ +--- bin/varnishhist/varnishhist.c.orig 2018-08-29 09:52:28 UTC ++++ bin/varnishhist/varnishhist.c +@@ -299,7 +299,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transactio + continue; + + /* select bucket */ +- i = HIST_RES * lround(log(value) / log_ten); ++ i = lround(HIST_RES * log(value) / log_ten); + if (i < hist_low * HIST_RES) + i = hist_low * HIST_RES; + if (i >= hist_high * HIST_RES)