- Update to 3.26 [1]
- Improve usage of USE_RC_SUBR [1]: PR: ports/85478 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer
This commit is contained in:
parent
e9dd104d1b
commit
ac44e18053
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141504
@ -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 <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user