svn commit: r502912 - in head/www/varnish6: . files

Mark Felder feld at FreeBSD.org
Tue May 28 20:09:00 UTC 2019


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"


More information about the svn-ports-all mailing list