- Update to 3.1.3

PR:	ports/148991
Approved by:	Pavel Pankov <pankov_p@mail.ru> (maintainer)
This commit is contained in:
Tong LIU 2010-07-28 11:11:25 +00:00
parent 8126d6a4a2
commit ff5b20110c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258368
3 changed files with 15 additions and 4 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= ziproxy PORTNAME= ziproxy
PORTVERSION= 3.1.1 PORTVERSION= 3.1.3
CATEGORIES= www CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

View file

@ -1,3 +1,3 @@
MD5 (ziproxy-3.1.1.tar.bz2) = acbec584995b92d12fd44a0a1cff6046 MD5 (ziproxy-3.1.3.tar.bz2) = dd09206461dc9b11833ff2823943ac9f
SHA256 (ziproxy-3.1.1.tar.bz2) = 8066037eb7a82dc140286ac0e58c81d36da8bc1c76f2699cd0c44f8a631f93b2 SHA256 (ziproxy-3.1.3.tar.bz2) = d5cbb42de327c66c76b6332cb06ca294df8c5130481500c6e93788951211b7a2
SIZE (ziproxy-3.1.1.tar.bz2) = 260604 SIZE (ziproxy-3.1.3.tar.bz2) = 261227

View file

@ -20,6 +20,9 @@ rcvar=${name}_enable
command=%%PREFIX%%/bin/${name} command=%%PREFIX%%/bin/${name}
pidfile=/var/run/${name}.pid pidfile=/var/run/${name}.pid
start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
load_rc_config $name load_rc_config $name
: ${ziproxy_enable="NO"} : ${ziproxy_enable="NO"}
@ -27,4 +30,12 @@ load_rc_config $name
command_args="-d -c ${ziproxy_config} --pid-file ${pidfile}" command_args="-d -c ${ziproxy_config} --pid-file ${pidfile}"
start_precmd() {
rm -f ${pidfile}
}
stop_postcmd() {
rm -f ${pidfile}
}
run_rc_command "$1" run_rc_command "$1"