2013-04-29 00:31:32 +02:00
|
|
|
# Created by: Meno Abels <meno.abels@adviser.com>
|
2005-05-06 20:24:58 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ucarp
|
2010-03-09 23:59:59 +01:00
|
|
|
PORTVERSION= 1.5.2
|
2013-04-29 00:31:32 +02:00
|
|
|
PORTREVISION= 2
|
2005-05-06 20:24:58 +02:00
|
|
|
CATEGORIES= net
|
2008-03-20 23:42:21 +01:00
|
|
|
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/ucarp/ \
|
|
|
|
http://download.pureftpd.org/pub/ucarp/
|
2005-05-06 20:24:58 +02:00
|
|
|
|
2010-06-11 02:44:01 +02:00
|
|
|
MAINTAINER= alexey@renatasystems.org
|
2005-05-06 20:24:58 +02:00
|
|
|
COMMENT= Userlevel Common Address Redundancy Protocol
|
|
|
|
|
2014-07-29 23:43:17 +02:00
|
|
|
USES= tar:bzip2
|
2010-07-22 15:21:55 +02:00
|
|
|
|
2013-04-29 00:31:32 +02:00
|
|
|
OPTIONS_DEFINE= SCRIPTS
|
|
|
|
OPTIONS_DEFAULT=SCRIPTS
|
2010-07-22 15:21:55 +02:00
|
|
|
|
2013-04-29 00:31:32 +02:00
|
|
|
SCRIPTS_DESC= Install scripts to manage virtual IP
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2010-07-22 15:21:55 +02:00
|
|
|
|
2005-05-06 20:24:58 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-20 23:42:21 +01:00
|
|
|
CONFIGURE_ARGS= --disable-nls
|
2005-05-06 20:24:58 +02:00
|
|
|
|
2006-12-09 15:12:00 +01:00
|
|
|
USE_RC_SUBR= ucarp
|
|
|
|
|
2005-05-06 20:24:58 +02:00
|
|
|
PLIST_FILES= sbin/ucarp
|
|
|
|
|
2013-04-29 00:31:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MSCRIPTS}
|
2010-07-22 15:21:55 +02:00
|
|
|
PLIST_FILES+= sbin/ucarp-up \
|
|
|
|
sbin/ucarp-down
|
|
|
|
post-install:
|
2014-02-06 11:30:21 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/vip-up.sh ${STAGEDIR}${PREFIX}/sbin/ucarp-up
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/vip-down.sh ${STAGEDIR}${PREFIX}/sbin/ucarp-down
|
2010-07-22 15:21:55 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-29 00:31:32 +02:00
|
|
|
.include <bsd.port.mk>
|