blob: 25f62a1372ee676e4091aa78bf133c24df368fcd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Meno Abels <meno.abels@adviser.com>
# $FreeBSD$
PORTNAME= ucarp
PORTVERSION= 1.5.2
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/ucarp/ \
http://download.pureftpd.org/pub/ucarp/
MAINTAINER= alexey@renatasystems.org
COMMENT= Userlevel Common Address Redundancy Protocol
USE_BZIP2= yes
OPTIONS_DEFINE= SCRIPTS
OPTIONS_DEFAULT=SCRIPTS
SCRIPTS_DESC= Install scripts to manage virtual IP
NO_STAGE= yes
.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls
USE_RC_SUBR= ucarp
PLIST_FILES= sbin/ucarp
.if ${PORT_OPTIONS:MSCRIPTS}
PLIST_FILES+= sbin/ucarp-up \
sbin/ucarp-down
post-install:
${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
.endif
.include <bsd.port.mk>
|