View | Details | Raw Unified | Return to bug 198742
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	varnish
3
PORTNAME=	varnish
4
PORTVERSION=	3.0.6
4
PORTVERSION=	3.0.6
5
PORTREVISION=	1
5
CATEGORIES=	www
6
CATEGORIES=	www
6
MASTER_SITES=	http://repo.varnish-cache.org/source/
7
MASTER_SITES=	http://repo.varnish-cache.org/source/
7
8
(-)files/varnishncsa.in (-2 / +7 lines)
Lines 21-28 Link Here
21
#	default: "/var/log/varnishncsa.log"
21
#	default: "/var/log/varnishncsa.log"
22
#
22
#
23
# varnishncsa_flags - command line arguments.
23
# varnishncsa_flags - command line arguments.
24
#	default: "-D -P ${varnishncsa_pidfile} -a -c -w ${varnishncsa_file}"
24
#	default: "-D -P ${varnishncsa_pidfile} -a -c -w ${varnishncsa_file}${varnishncsa_logformat:+ -P \"$varnishncsa_logformat\""
25
#
25
#
26
# varnishncsa_logformat - log file format.
27
#       default: "" (uses varnishncsa's default format)
28
#       example: "%h %l %u %t %r %s %b %{Referer}i %{User-agent}i"
29
#
26
# Add the following line to /etc/newsyslog.conf to rotate the log file
30
# Add the following line to /etc/newsyslog.conf to rotate the log file
27
# once a day:
31
# once a day:
28
#
32
#
Lines 43-49 Link Here
43
: ${varnishncsa_enable:="NO"}
47
: ${varnishncsa_enable:="NO"}
44
: ${varnishncsa_pidfile:="/var/run/${name}.pid"}
48
: ${varnishncsa_pidfile:="/var/run/${name}.pid"}
45
: ${varnishncsa_file:="/var/log/${name}.log"}
49
: ${varnishncsa_file:="/var/log/${name}.log"}
46
: ${varnishncsa_flags:="-P ${varnishncsa_pidfile} -D -a -c -w ${varnishncsa_file}"}
50
: ${varnishncsa_logformat:=""}
51
: ${varnishncsa_flags:="-P ${varnishncsa_pidfile} -D -a -c -w ${varnishncsa_file}${varnishncsa_logformat:+ -F \"$varnishncsa_logformat\"}"}
47
52
48
pidfile=${varnishncsa_pidfile}
53
pidfile=${varnishncsa_pidfile}
49
run_rc_command "$1"
54
run_rc_command "$1"

Return to bug 198742