From az@inec.ru  Mon Jul 25 19:38:56 2005
Return-Path: <az@inec.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5E36916A41F
	for <freebsd-gnats-submit@freebsd.org>; Mon, 25 Jul 2005 19:38:56 +0000 (GMT)
	(envelope-from az@inec.ru)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 63D7343D49
	for <freebsd-gnats-submit@freebsd.org>; Mon, 25 Jul 2005 19:38:54 +0000 (GMT)
	(envelope-from az@inec.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j6PJdkB8071860
    for <freebsd-gnats-submit@freebsd.org>; Mon, 25 Jul 2005 23:39:46 +0400 (MSD)
Received: from az.inec.ru (msproxyoutif.intermediate.org [10.0.0.2])
  by waterwall.inec.ru (8.13.1/8.12.6) with ESMTP id j6PJdjUL071854
    for <FreeBSD-gnats-submit@freebsd.org>; Mon, 25 Jul 2005 23:39:46 +0400 (MSD)
Received: from az by az.inec.ru with local (Exim 4.51 (FreeBSD))
	id 1Dx8n0-0007oz-S7
	for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Jul 2005 23:39:02 +0400
Message-Id: <E1Dx8n0-0007oz-S7@az.inec.ru>
Date: Mon, 25 Jul 2005 23:39:02 +0400
From: Andrej Zverev <az@inec.ru>
Reply-To: Andrej Zverev <az@inec.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [update] net/balance to 3.24
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84091
>Category:       ports
>Synopsis:       [update] net/balance to 3.24
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 25 19:40:16 GMT 2005
>Closed-Date:    Tue Jul 26 21:24:06 GMT 2005
>Last-Modified:  Tue Jul 26 21:24:06 GMT 2005
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	1. Update 
	2. use REINPLACE insteas patch (CFLAGS|CC)
	
	Removed files:
	files/patch-Makefile
>How-To-Repeat:
	
>Fix:

	

--- balance.diff begins here ---
diff -Nru balance.orig/Makefile balance/Makefile
--- balance.orig/Makefile	Thu May 26 15:42:41 2005
+++ balance/Makefile	Mon Jul 25 23:32:12 2005
@@ -6,21 +6,24 @@
 #
 
 PORTNAME=	balance
-PORTVERSION=	3.22
+PORTVERSION=	3.24
 CATEGORIES=	net
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED} \
-		http://www.inlab.de/
+MASTER_SITES=	http://www.inlab.de/ \
+		${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	balance
 
 MAINTAINER=	joseph@randomnetworks.com
 COMMENT=	Simple but powerful generic tcp proxy with round robin features
 
 ALL_TARGET=	balance
-
+USE_REINPLACE=	yes
 USE_RC_SUBR=	yes
 
 MAN1=		balance.1
 
+pre-build:
+	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|' \
+	-e 's|^CC|CC?|' ${WRKSRC}/Makefile
 post-build:
 	@${SED} -e 's,%%RC_SUBR%%,${RC_SUBR},g' -e 's,%%PREFIX%%,${PREFIX},g' \
 		${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh
diff -Nru balance.orig/distinfo balance/distinfo
--- balance.orig/distinfo	Thu May 26 15:42:41 2005
+++ balance/distinfo	Mon Jul 25 23:25:01 2005
@@ -1,2 +1,2 @@
-MD5 (balance-3.22.tar.gz) = 4744586e662ce93bfe650ba81567da53
-SIZE (balance-3.22.tar.gz) = 21726
+MD5 (balance-3.24.tar.gz) = 4f48e4005f037964ec1a0953b639aef7
+SIZE (balance-3.24.tar.gz) = 32769
diff -Nru balance.orig/files/patch-Makefile balance/files/patch-Makefile
--- balance.orig/files/patch-Makefile	Thu May 26 15:42:41 2005
+++ balance/files/patch-Makefile	Thu Jan  1 03:00:00 1970
@@ -1,20 +0,0 @@
---- Makefile.orig	Fri Mar 11 22:45:07 2005
-+++ Makefile	Mon May 23 16:01:41 2005
-@@ -1,7 +1,7 @@
- # $Id: Makefile,v 1.20 2005/03/11 19:44:05 tommy Exp tommy $
- 
- #CFLAGS=-g -I.
--CFLAGS=-O2 -Wall
-+CFLAGS=-Wall
- 
- # uncomment for Solaris:
- # LIBRARIES=-lsocket -lnsl
-@@ -15,7 +15,7 @@
- # BALANCE=balance.exe
- # ROOT=Administrators
- 
--CC=gcc
-+CC?=gcc
- RELEASE=3.22
- 
- all:		balance balance.pdf
--- balance.diff ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Tue Jul 26 20:32:58 GMT 2005 
State-Changed-Why:  
Asked maintainer for approval 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Tue Jul 26 20:32:58 GMT 2005 
Responsible-Changed-Why:  
Track 

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

From: Pav Lucistnik <pav@FreeBSD.org>
To: joseph@randomnetworks.com, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/84091: [update] net/balance to 3.24
Date: Tue, 26 Jul 2005 22:32:42 +0200

 Dear maintainer of FreeBSD port net/balance, please take a look at
 
 http://www.freebsd.org/cgi/query-pr.cgi?q=84091
 
 Do you approve this update?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 

From: Joseph Scott <joseph@randomnetworks.com>
To: pav@FreeBSD.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/84091: [update] net/balance to 3.24
Date: Tue, 26 Jul 2005 13:36:26 -0700

 On Jul 26, 2005, at 1:32 PM, Pav Lucistnik wrote:
 
 > Dear maintainer of FreeBSD port net/balance, please take a look at
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?q=84091
 >
 > Do you approve this update?
 
 I haven't tested it, but it looks good.  Go ahead with it.
 
 
 --
 Joseph Scott
 URL: http://joseph.randomnetworks.com/
 Email: joseph@randomnetworks.com
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jul 26 21:23:58 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84091 
>Unformatted:
