1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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>
This commit is contained in:
Patrick Li 2002-01-30 00:10:44 +00:00
parent b1e12276e1
commit fa256a266c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53991
7 changed files with 66 additions and 0 deletions

View File

@ -111,6 +111,7 @@
SUBDIR += freebsd-uucp
SUBDIR += freenet6
SUBDIR += freeradius-devel
SUBDIR += freevrrpd
SUBDIR += freewais-sf
SUBDIR += fspclient
SUBDIR += fspd

25
net/freevrrpd/Makefile Normal file
View File

@ -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>

1
net/freevrrpd/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (freevrrpd-0.8.1.tar.gz) = c694ba0a6f9afcb5937bf24fe438ed4c

View File

@ -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

View File

@ -0,0 +1 @@
This a VRRP RFC2338 Compliant implementation under FreeBSD

21
net/freevrrpd/pkg-descr Normal file
View File

@ -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/

4
net/freevrrpd/pkg-plist Normal file
View File

@ -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