aboutsummaryrefslogtreecommitdiff
path: root/www/tinyproxy
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-11-23 14:29:22 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-11-23 14:29:22 +0000
commit40ba82bae0678cf4475cedcf619a0d92b7dba567 (patch)
tree1360f2491522538b66994e3777643638be02c0d8 /www/tinyproxy
parent592ef6b0adec6339c4a98a68d09781b683d75f9c (diff)
Notes
Diffstat (limited to 'www/tinyproxy')
-rw-r--r--www/tinyproxy/Makefile3
-rw-r--r--www/tinyproxy/files/tinyproxy.sh.in3
2 files changed, 5 insertions, 1 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index 4a8cdd000e13..238990a5fa02 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -7,9 +7,10 @@
PORTNAME= tinyproxy
PORTVERSION= 1.6.4
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
-MASTER_SITES= http://www.banu.com/pub/tinyproxy/1.6/
+MASTER_SITES= https://www.banu.com/pub/tinyproxy/1.6/
MAINTAINER= wxs@FreeBSD.org
COMMENT= A small, efficient HTTP proxy server
diff --git a/www/tinyproxy/files/tinyproxy.sh.in b/www/tinyproxy/files/tinyproxy.sh.in
index def2f6e858a7..fbbccba0588c 100644
--- a/www/tinyproxy/files/tinyproxy.sh.in
+++ b/www/tinyproxy/files/tinyproxy.sh.in
@@ -17,9 +17,12 @@ rcvar=`set_rcvar`
load_rc_config $name
+# Make sure the pidfile matches what's in the config file.
: ${tinyproxy_enable="NO"}
+: ${tinyproxy_pidfile="/var/run/tinyproxy.pid"}
: ${tinyproxy_config="%%PREFIX%%/etc/tinyproxy.conf"}
+pidfile=${tinyproxy_pidfile}
command=%%PREFIX%%/sbin/tinyproxy
command_args="-c $tinyproxy_config 2> /dev/null"