aboutsummaryrefslogtreecommitdiff
path: root/www/ziproxy
diff options
context:
space:
mode:
authorTong LIU <nemoliu@FreeBSD.org>2010-07-28 11:11:25 +0000
committerTong LIU <nemoliu@FreeBSD.org>2010-07-28 11:11:25 +0000
commitff5b20110c5a75ad89d0cf5c03971a3dc69b1989 (patch)
tree4db109bdccd20d51ee76ad7885c01e9587a2d9be /www/ziproxy
parent8126d6a4a26c48637e7095294429f61b14e4d49e (diff)
downloadports-ff5b20110c5a75ad89d0cf5c03971a3dc69b1989.tar.gz
ports-ff5b20110c5a75ad89d0cf5c03971a3dc69b1989.zip
Notes
Diffstat (limited to 'www/ziproxy')
-rw-r--r--www/ziproxy/Makefile2
-rw-r--r--www/ziproxy/distinfo6
-rw-r--r--www/ziproxy/files/ziproxy.in11
3 files changed, 15 insertions, 4 deletions
diff --git a/www/ziproxy/Makefile b/www/ziproxy/Makefile
index eb47c44af0c1..8e4cfa98b2fa 100644
--- a/www/ziproxy/Makefile
+++ b/www/ziproxy/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ziproxy
-PORTVERSION= 3.1.1
+PORTVERSION= 3.1.3
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/www/ziproxy/distinfo b/www/ziproxy/distinfo
index 7b861fe306a4..11b3ffb67e90 100644
--- a/www/ziproxy/distinfo
+++ b/www/ziproxy/distinfo
@@ -1,3 +1,3 @@
-MD5 (ziproxy-3.1.1.tar.bz2) = acbec584995b92d12fd44a0a1cff6046
-SHA256 (ziproxy-3.1.1.tar.bz2) = 8066037eb7a82dc140286ac0e58c81d36da8bc1c76f2699cd0c44f8a631f93b2
-SIZE (ziproxy-3.1.1.tar.bz2) = 260604
+MD5 (ziproxy-3.1.3.tar.bz2) = dd09206461dc9b11833ff2823943ac9f
+SHA256 (ziproxy-3.1.3.tar.bz2) = d5cbb42de327c66c76b6332cb06ca294df8c5130481500c6e93788951211b7a2
+SIZE (ziproxy-3.1.3.tar.bz2) = 261227
diff --git a/www/ziproxy/files/ziproxy.in b/www/ziproxy/files/ziproxy.in
index 5ac45785b5e5..0777a8bb7af1 100644
--- a/www/ziproxy/files/ziproxy.in
+++ b/www/ziproxy/files/ziproxy.in
@@ -20,6 +20,9 @@ rcvar=${name}_enable
command=%%PREFIX%%/bin/${name}
pidfile=/var/run/${name}.pid
+start_precmd="start_precmd"
+stop_postcmd="stop_postcmd"
+
load_rc_config $name
: ${ziproxy_enable="NO"}
@@ -27,4 +30,12 @@ load_rc_config $name
command_args="-d -c ${ziproxy_config} --pid-file ${pidfile}"
+start_precmd() {
+ rm -f ${pidfile}
+}
+
+stop_postcmd() {
+ rm -f ${pidfile}
+}
+
run_rc_command "$1"