diff options
author | pat <pat@FreeBSD.org> | 2002-01-30 00:10:44 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-30 00:10:44 +0000 |
commit | f1c8b55a2502f7a495cae85de84f143c0d072cfa (patch) | |
tree | 297de30e42233c41076e3230156469b1b036dfee /net/freevrrpd | |
parent | 9dd4ecd153515cf5a07daaa79d58d6464bafb5c4 (diff) | |
download | FreeBSD-ports-f1c8b55a2502f7a495cae85de84f143c0d072cfa.zip FreeBSD-ports-f1c8b55a2502f7a495cae85de84f143c0d072cfa.tar.gz |
Add new port net/freevrrpd - A VRRP (Virtual Router Redundancy Protocol)
implemetation daemon under FreeBSD
PR: 34428, 34424
Submitted by: Sebastien Petit <spe@bsdfr.org>
Diffstat (limited to 'net/freevrrpd')
-rw-r--r-- | net/freevrrpd/Makefile | 25 | ||||
-rw-r--r-- | net/freevrrpd/distinfo | 1 | ||||
-rw-r--r-- | net/freevrrpd/files/patch-Makefile | 13 | ||||
-rw-r--r-- | net/freevrrpd/pkg-comment | 1 | ||||
-rw-r--r-- | net/freevrrpd/pkg-descr | 21 | ||||
-rw-r--r-- | net/freevrrpd/pkg-plist | 4 |
6 files changed, 65 insertions, 0 deletions
diff --git a/net/freevrrpd/Makefile b/net/freevrrpd/Makefile new file mode 100644 index 0000000..71df1fd --- /dev/null +++ b/net/freevrrpd/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: freevrrpd +# Date created: Tue Jan 29 18:44:25 EST 2002 +# Whom: Sebastien Petit <spe@bsdfr.org> +# +# $FreeBSD$ +# + +PORTNAME= freevrrpd +PORTVERSION= 0.8.1 +CATEGORIES= net +MASTER_SITES= http://www.bsdshell.net/download/ + +MAINTAINER= spe@bsdfr.org + +MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${PREFIX}/libexec + @${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample ${PREFIX}/etc + @${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample \ + ${PREFIX}/etc/freevrrpd.conf + @${INSTALL_DATA} ${WRKSRC}/freevrrpd.sh ${PREFIX}/etc/rc.d + +.include <bsd.port.mk> diff --git a/net/freevrrpd/distinfo b/net/freevrrpd/distinfo new file mode 100644 index 0000000..a5ac869 --- /dev/null +++ b/net/freevrrpd/distinfo @@ -0,0 +1 @@ +MD5 (freevrrpd-0.8.1.tar.gz) = c694ba0a6f9afcb5937bf24fe438ed4c diff --git a/net/freevrrpd/files/patch-Makefile b/net/freevrrpd/files/patch-Makefile new file mode 100644 index 0000000..e07049d --- /dev/null +++ b/net/freevrrpd/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Tue Jan 29 19:00:38 2002 ++++ Makefile Tue Jan 29 19:01:56 2002 +@@ -2,8 +2,8 @@ + + PROG= freevrrpd + SRCS= vrrp_misc.c vrrp_multicast.c vrrp_main.c vrrp_thread.c vrrp_state.c vrrp_network.c vrrp_interface.c vrrp_conf.c vrrp_signal.c # vrrp_list.c +-CFLAGS= -pthread -D_THREAD_SAFE -D_REENTRANT +-LDADD= -static -O2 -fomit-frame-pointer -Wall -pipe -ansi -lm ++CFLAGS+= -D_REENTRANT -Wall ${PTHREAD_CFLAGS} ++LDADD= -static -fomit-frame-pointer-ansi -lm ${PTHREAD_LIBS} + WARNS= 0 + DESTDIR= /usr/local/libexec + diff --git a/net/freevrrpd/pkg-comment b/net/freevrrpd/pkg-comment new file mode 100644 index 0000000..26803b8 --- /dev/null +++ b/net/freevrrpd/pkg-comment @@ -0,0 +1 @@ +This a VRRP RFC2338 Compliant implementation under FreeBSD diff --git a/net/freevrrpd/pkg-descr b/net/freevrrpd/pkg-descr new file mode 100644 index 0000000..e06f7d1 --- /dev/null +++ b/net/freevrrpd/pkg-descr @@ -0,0 +1,21 @@ +freevrrpd is a VRRP (Virtual Router Redundancy Protocol) implemetation +daemon under FreeBSD freevrrpd is a part of High UpTime project This +daemon has been rewrited from scratch and is not based on existing +projects. For this second public release, you can found: + + * A daemon RFC 2338 Compliant adapted on FreeBSD systems + * Implementation of Virtual Adresses + * Support for multiples VRID + * Master announce state by sending multicast packets via BPF + * Changing routes and IP in 3 seconds + * Doing gratuitous ARP requests to clean the cache of all hosts + * Election between different slave servers + * Same host can be Slave and Master at the same time + * Automatic Downgrade to Slave if a Master is up again + * Anti-Address Conflict system + * Multi-threaded vrrp daemon + * Plain text password authentication + * Using now only one BPF device for all VRID + * Support netmask for Virtual IP addresses + +WWW: http://www.bsdshell.net/ diff --git a/net/freevrrpd/pkg-plist b/net/freevrrpd/pkg-plist new file mode 100644 index 0000000..48cdf53 --- /dev/null +++ b/net/freevrrpd/pkg-plist @@ -0,0 +1,4 @@ +@unexec if cmp -s %D/etc/freevrrpd.conf %D/etc/freevrrpd.conf.sample; then rm -f %D/etc/freevrrpd.conf; fi +etc/freevrrpd.conf.sample +etc/rc.d/freevrrpd.sh +libexec/freevrrpd |