aboutsummaryrefslogtreecommitdiff
path: root/net/freevrrpd
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-30 00:10:44 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-30 00:10:44 +0000
commitfa256a266cf7a4b9f7b2f0c8396306a0dca3eaa2 (patch)
treef40615cddc5250a3ed2914b0d44d1a24c73a030f /net/freevrrpd
parentb1e12276e1ef85d0e3ec3335ca93540556c5a34c (diff)
downloadports-fa256a266cf7a4b9f7b2f0c8396306a0dca3eaa2.tar.gz
ports-fa256a266cf7a4b9f7b2f0c8396306a0dca3eaa2.zip
Notes
Diffstat (limited to 'net/freevrrpd')
-rw-r--r--net/freevrrpd/Makefile25
-rw-r--r--net/freevrrpd/distinfo1
-rw-r--r--net/freevrrpd/files/patch-Makefile13
-rw-r--r--net/freevrrpd/pkg-comment1
-rw-r--r--net/freevrrpd/pkg-descr21
-rw-r--r--net/freevrrpd/pkg-plist4
6 files changed, 65 insertions, 0 deletions
diff --git a/net/freevrrpd/Makefile b/net/freevrrpd/Makefile
new file mode 100644
index 000000000000..71df1fd6d7b2
--- /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 000000000000..a5ac869f25d2
--- /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 000000000000..e07049df979d
--- /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 000000000000..26803b82fa67
--- /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 000000000000..e06f7d155108
--- /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 000000000000..48cdf53046f1
--- /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