Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 18:29:05 +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: r438113 - in head/www/varnish5: . files
Message-ID:  <201704091829.v39IT56F075473@repo.freebsd.org>

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

Log:
  www/varnish5: Fix rc script reload functionality
  
  VCL names can only use characters [A-Za-z0-9_]
  
  MFH:		2017Q2

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

Modified: head/www/varnish5/Makefile
==============================================================================
--- head/www/varnish5/Makefile	Sun Apr  9 18:20:34 2017	(r438112)
+++ head/www/varnish5/Makefile	Sun Apr  9 18:29:05 2017	(r438113)
@@ -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: head/www/varnish5/files/varnishd.in
==============================================================================
--- head/www/varnish5/files/varnishd.in	Sun Apr  9 18:20:34 2017	(r438112)
+++ head/www/varnish5/files/varnishd.in	Sun Apr  9 18:29:05 2017	(r438113)
@@ -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.v39IT56F075473>