ports/77761: [Patch] Upgrade net/balance to 3.19
Gerard Samuel
fbsd-ports at trini0.org
Sun Feb 20 06:50:12 UTC 2005
>Number: 77761
>Category: ports
>Synopsis: [Patch] Upgrade net/balance to 3.19
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 20 06:50:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gerard Samuel
>Release: FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD xxx.xxx.xxx 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Wed Dec 29 20:45:41 EST 2004 xxx at xxx.xxx.xxx:/usr/obj/usr/src/sys/GLADIATOR i386
>Description:
Upgrade net/balance to 3.19 and fix spelling (change "adress" to "address") in
files/balance.sh
>How-To-Repeat:
>Fix:
--- Makefile.patch begins here ---
--- Makefile.orig Sun Feb 20 00:43:34 2005
+++ Makefile Sun Feb 20 00:45:36 2005
@@ -6,7 +6,7 @@
#
PORTNAME= balance
-PORTVERSION= 3.15
+PORTVERSION= 3.19
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
http://www.inlab.de/
--- Makefile.patch ends here ---
--- balance.sh.patch begins here ---
--- files/balance.sh.orig Sun Feb 20 00:48:28 2005
+++ files/balance.sh Sun Feb 20 00:49:13 2005
@@ -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 @@
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 @@
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 @@
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
--- balance.sh.patch ends here ---
--- distinfo.patch begins here ---
--- distinfo.orig Sun Feb 20 00:43:40 2005
+++ distinfo Sun Feb 20 00:48:04 2005
@@ -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
--- distinfo.patch ends here ---
--- patch-Makefile.patch begins here ---
--- files/patch-Makefile.orig Sun Feb 20 00:45:00 2005
+++ files/patch-Makefile Sun Feb 20 00:45:54 2005
@@ -15,6 +15,6 @@
-CC=gcc
+CC?=gcc
- RELEASE=3.15
+ RELEASE=3.19
balance: balance.c butils.o balance.h
--- patch-Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list