Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 18:29:32 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r438114 - in branches/2017Q2/www/varnish5: . files
Message-ID:  <201704091829.v39ITWXw075629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sun Apr  9 18:29:32 2017
New Revision: 438114
URL: https://svnweb.freebsd.org/changeset/ports/438114

Log:
  MFH: r438113
  
  www/varnish5: Fix rc script reload functionality
  
  VCL names can only use characters [A-Za-z0-9_]
  
  Approved by:	ports-secteam (with hat)

Modified:
  branches/2017Q2/www/varnish5/Makefile
  branches/2017Q2/www/varnish5/files/varnishd.in
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/www/varnish5/Makefile
==============================================================================
--- branches/2017Q2/www/varnish5/Makefile	Sun Apr  9 18:29:05 2017	(r438113)
+++ branches/2017Q2/www/varnish5/Makefile	Sun Apr  9 18:29:32 2017	(r438114)
@@ -2,7 +2,7 @@
 
 PORTNAME=	varnish
 PORTVERSION=	5.1.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://repo.varnish-cache.org/source/
 PKGNAMESUFFIX=	5

Modified: branches/2017Q2/www/varnish5/files/varnishd.in
==============================================================================
--- branches/2017Q2/www/varnish5/files/varnishd.in	Sun Apr  9 18:29:05 2017	(r438113)
+++ branches/2017Q2/www/varnish5/files/varnishd.in	Sun Apr  9 18:29:32 2017	(r438114)
@@ -99,7 +99,7 @@ varnishd_reload()
 	if [ -z "${varnishd_config}" ]; then
 		echo "${name}: nothing to reload, no configuration file defined, builtin VCL used"
 	else
-		_new_config_name="rc.d_reloaded@$(date +%Y%m%d%H%M%S)"
+		_new_config_name="reloaded_$(date +%Y%m%d%H%M%S)"
 		_varnishadm_cmd="%%PREFIX%%/bin/varnishadm ${varnish_cli_flags}"
 		if ! eval ${_varnishadm_cmd} vcl.list > /dev/null; then
 			err 1 "${name}: can't connect to varnishadm"



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