ports/84091: [update] net/balance to 3.24
Andrej Zverev
az at inec.ru
Mon Jul 25 19:40:17 UTC 2005
>Number: 84091
>Category: ports
>Synopsis: [update] net/balance to 3.24
>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: Mon Jul 25 19:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list