Bug 77761 - [Patch] Upgrade net/balance to 3.19
Summary: [Patch] Upgrade net/balance to 3.19
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 06:50 UTC by Gerard Samuel
Modified: 2005-02-20 23:42 UTC (History)
0 users

See Also:


Attachments
Makefile.patch (252 bytes, patch)
2005-02-20 06:50 UTC, Gerard Samuel
no flags Details | Diff
distinfo.patch (292 bytes, patch)
2005-02-20 06:50 UTC, Gerard Samuel
no flags Details | Diff
file.diff (256 bytes, patch)
2005-02-20 06:50 UTC, Gerard Samuel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Samuel 2005-02-20 06:50:11 UTC
Upgrade net/balance to 3.19 and fix spelling (change "adress" to "address") in
files/balance.sh

Fix: --- 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 ---
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-20 14:15:35 UTC
Dear maintainer of FreeBSD port net/balance, please take a look at

http://www.freebsd.org/cgi/query-pr.cgi?q=77761

Do you approve this update?


-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

And now something completely different.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-20 14:15:38 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval. 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-20 14:15:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 4 Gerard Samuel 2005-02-20 20:28:50 UTC
Please send/cc any further correspondence
to gms08701@yahoo.com instead of fbsd-ports@trini0.org
Thank you
Comment 5 Joseph Scott 2005-02-20 22:48:35 UTC
On Feb 20, 2005, at 6:15 AM, Pav Lucistnik wrote:

> Dear maintainer of FreeBSD port net/balance, please take a look at
>
> http://www.freebsd.org/cgi/query-pr.cgi?q=77761
>
> Do you approve this update?

	Looks reasonable, thanks for pointing this out to me.

--
Joseph Scott
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2005-02-20 23:41:55 UTC
State Changed
From-To: feedback->closed

Committed, thanks!