Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 20:08:59 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502912 - in head/www/varnish6: . files
Message-ID:  <201905282008.x4SK8x2W057630@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue May 28 20:08:59 2019
New Revision: 502912
URL: https://svnweb.freebsd.org/changeset/ports/502912

Log:
  www/varnish6: Fix configtest on a restart
  
  Submitted by:	NISHIMURA Yutaka
  MFH:		2019Q2

Modified:
  head/www/varnish6/Makefile
  head/www/varnish6/files/varnishd.in

Modified: head/www/varnish6/Makefile
==============================================================================
--- head/www/varnish6/Makefile	Tue May 28 20:06:20 2019	(r502911)
+++ head/www/varnish6/Makefile	Tue May 28 20:08:59 2019	(r502912)
@@ -3,7 +3,7 @@
 PORTNAME=	varnish
 PORTVERSION=	6.2.0
 DISTVERSIONPREFIX=	varnish-
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 PKGNAMESUFFIX=	6
 

Modified: head/www/varnish6/files/varnishd.in
==============================================================================
--- head/www/varnish6/files/varnishd.in	Tue May 28 20:06:20 2019	(r502911)
+++ head/www/varnish6/files/varnishd.in	Tue May 28 20:08:59 2019	(r502912)
@@ -83,7 +83,7 @@ varnishd_checkconfig()
 		echo "${name}: nothing to check, no configuration file defined, builtin VCL used"
 	else
 		echo "Performing sanity check on ${name} configuration:"
-		if eval ${command} ${varnishd_flags} -C -f "${varnishd_config}" 2> /dev/null ; then
+		if eval ${command} -s ${varnishd_storage} ${varnishd_extra_flags} -C -f "${varnishd_config}" 2> /dev/null ; then
 			echo "${name}: the configuration file ${varnishd_config} syntax is ok"
 		else
 			err 1 "${name}: the configuration file ${varnishd_config} syntax is NOT ok"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905282008.x4SK8x2W057630>