From owner-svn-ports-branches@freebsd.org Tue Sep 25 15:41:49 2018 Return-Path: Delivered-To: svn-ports-branches@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 6926710B4A83; Tue, 25 Sep 2018 15:41:49 +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 1E883761C5; Tue, 25 Sep 2018 15:41:49 +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 19667233D; Tue, 25 Sep 2018 15:41:49 +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 w8PFfm3A003349; Tue, 25 Sep 2018 15:41:48 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8PFfmYo003348; Tue, 25 Sep 2018 15:41:48 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201809251541.w8PFfmYo003348@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:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r480669 - in branches/2018Q3/www/varnish6: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in branches/2018Q3/www/varnish6: . files X-SVN-Commit-Revision: 480669 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2018 15:41:49 -0000 Author: feld Date: Tue Sep 25 15:41:48 2018 New Revision: 480669 URL: https://svnweb.freebsd.org/changeset/ports/480669 Log: MFH: r480668 www/varnish6: Add patch to fix output of varnishhist Obtained from: https://github.com/varnishcache/varnish-cache/issues/2780 Added: branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c - copied unchanged from r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Modified: branches/2018Q3/www/varnish6/Makefile Directory Properties: branches/2018Q3/ (props changed) Modified: branches/2018Q3/www/varnish6/Makefile ============================================================================== --- branches/2018Q3/www/varnish6/Makefile Tue Sep 25 15:41:05 2018 (r480668) +++ branches/2018Q3/www/varnish6/Makefile Tue Sep 25 15:41:48 2018 (r480669) @@ -3,7 +3,7 @@ PORTNAME= varnish PORTVERSION= 6.0.1 DISTVERSIONPREFIX= varnish- -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www PKGNAMESUFFIX= 6 Copied: branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c (from r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q3/www/varnish6/files/patch-bin_varnishhist_varnishhist.c Tue Sep 25 15:41:48 2018 (r480669, copy of r480668, head/www/varnish6/files/patch-bin_varnishhist_varnishhist.c) @@ -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)