- Update to 3.19

PR:		ports/77761
Submitted by:	Gerard Samuel <fbsd-ports@trini0.org>
Approved by:	Joseph Scott <joseph@randomnetworks.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-02-20 23:41:49 +00:00
parent d907549da6
commit fa1a2d30b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129428
4 changed files with 13 additions and 13 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= balance
PORTVERSION= 3.15
PORTVERSION= 3.19
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
http://www.inlab.de/

View file

@ -1,2 +1,2 @@
MD5 (balance-3.15.tar.gz) = c13392db7fdab2e80e1da6b469abf2a0
SIZE (balance-3.15.tar.gz) = 21022
MD5 (balance-3.19.tar.gz) = 7791586953fade0592d0cac215218167
SIZE (balance-3.19.tar.gz) = 21351

View file

@ -12,7 +12,7 @@
#
#balance_enable="YES"
#balance_hosts="host1"
#balance_host1_adress="host1.external.example"
#balance_host1_address="host1.external.example"
#balance_host1_ports="http 8180"
#balance_host1_targets="host1.internal.example"
#
@ -34,10 +34,10 @@ start_cmd()
if [ -x "${command}" ]; then
for host in ${balance_hosts}; do
eval ports=\"\${balance_${host}_ports}\"
eval adress=\"\${balance_${host}_adress}\"
eval address=\"\${balance_${host}_address}\"
eval targets=\"\${balance_${host}_targets}\"
for port in ${ports}; do
"${command}" -b ${adress} ${port} ${targets}
"${command}" -b ${address} ${port} ${targets}
done
done
fi
@ -48,10 +48,10 @@ stop_cmd()
if [ -x "${command}" ]; then
for host in ${balance_hosts}; do
eval ports=\"\${balance_${host}_ports}\"
eval adress=\"\${balance_${host}_adress}\"
eval address=\"\${balance_${host}_address}\"
for port in ${ports}; do
echo "balance at ${adress}:${port}"
"${command}" -b ${adress} -c kill ${port}
echo "balance at ${address}:${port}"
"${command}" -b ${address} -c kill ${port}
done
done
fi
@ -62,10 +62,10 @@ status_cmd()
if [ -x "${command}" ]; then
for host in ${balance_hosts}; do
eval ports=\"\${balance_${host}_ports}\"
eval adress=\"\${balance_${host}_adress}\"
eval address=\"\${balance_${host}_address}\"
for port in ${ports}; do
echo "balance at ${adress}:${port}"
"${command}" -b ${adress} -c show ${port}
echo "balance at ${address}:${port}"
"${command}" -b ${address} -c show ${port}
done
done
fi

View file

@ -15,6 +15,6 @@
-CC=gcc
+CC?=gcc
RELEASE=3.15
RELEASE=3.19
balance: balance.c butils.o balance.h