svn commit: r438113 - in head/www/varnish5: . files
Mark Felder
feld at FreeBSD.org
Sun Apr 9 18:29:06 UTC 2017
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"
More information about the svn-ports-head
mailing list