From ac44e180537533187d18ad29436a838b9b399c12 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Tue, 30 Aug 2005 23:00:11 +0000 Subject: [PATCH] - Update to 3.26 [1] - Improve usage of USE_RC_SUBR [1]: PR: ports/85478 Submitted by: Andrej Zverev Approved by: maintainer --- net/balance/Makefile | 8 ++------ net/balance/distinfo | 4 ++-- net/balance/files/{balance.sh => balance.sh.in} | 0 net/balance/pkg-plist | 1 - 4 files changed, 4 insertions(+), 9 deletions(-) rename net/balance/files/{balance.sh => balance.sh.in} (100%) diff --git a/net/balance/Makefile b/net/balance/Makefile index 127b78b3576b..4d140b236663 100644 --- a/net/balance/Makefile +++ b/net/balance/Makefile @@ -6,7 +6,7 @@ # PORTNAME= balance -PORTVERSION= 3.24 +PORTVERSION= 3.26 CATEGORIES= net MASTER_SITES= http://www.inlab.de/ \ ${MASTER_SITE_SOURCEFORGE_EXTENDED} @@ -17,21 +17,17 @@ COMMENT= Simple but powerful generic tcp proxy with round robin features ALL_TARGET= balance USE_REINPLACE= yes -USE_RC_SUBR= yes +USE_RC_SUBR= balance.sh 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 do-install: @${INSTALL_PROGRAM} ${WRKSRC}/balance ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/balance.1 ${PREFIX}/man/man1 - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh @${MKDIR} /var/run/balance .include diff --git a/net/balance/distinfo b/net/balance/distinfo index 383405c294e4..1a457e056fc6 100644 --- a/net/balance/distinfo +++ b/net/balance/distinfo @@ -1,2 +1,2 @@ -MD5 (balance-3.24.tar.gz) = 4f48e4005f037964ec1a0953b639aef7 -SIZE (balance-3.24.tar.gz) = 32769 +MD5 (balance-3.26.tar.gz) = 92cd392f0933b300f5c4b852efc58c4c +SIZE (balance-3.26.tar.gz) = 32858 diff --git a/net/balance/files/balance.sh b/net/balance/files/balance.sh.in similarity index 100% rename from net/balance/files/balance.sh rename to net/balance/files/balance.sh.in diff --git a/net/balance/pkg-plist b/net/balance/pkg-plist index 23c18c8b3c9f..2bd3e0492168 100644 --- a/net/balance/pkg-plist +++ b/net/balance/pkg-plist @@ -1,4 +1,3 @@ bin/balance -etc/rc.d/balance.sh @exec mkdir /var/run/balance @unexec rmdir /var/run/balance 2>/dev/null || true