pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30113: New pkgsrc net/freevrrpd version 0.9.1



>Number:         30113
>Category:       pkg
>Synopsis:       New pkgsrc net/freevrrpd 0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 02 12:13:00 +0000 2005
>Originator:     Sebastien Petit
>Release:        NetBSD 2.0.1
>Organization:
        b0l / phear
>Environment:
System: NetBSD spe.dev.bousol.net 2.0.1 NetBSD 2.0.1 (SONIC) #22: Wed Apr 27 
11:41:03 CEST 2005 
root%spe.dev.bousol.net@localhost:/usr/src/sys/arch/i386/compile/SONIC i386
Architecture: i386
Machine: i386
>Description:
        A fresh pkgsrc for running FreeVRRPd under NetBSD 2.x.
        FreeVRRPd is a RFC2338 VRRP compliant daemon for *BSD
>Fix:
diff -crN freevrrpd/DESCR freevrrpd-pkgsrc/DESCR
*** freevrrpd/DESCR     Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/DESCR      Thu Jan 20 15:01:52 2005
***************
*** 0 ****
--- 1,23 ----
+ freevrrpd is a VRRP (Virtual Router Redundancy Protocol) implementation
+ daemon under FreeBSD, NetBSD and OpenBSD.
+ This daemon has been rewritten from scratch and is not based on
+ existing projects.  In this second public release, you can find:
+ 
+        * 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
+        * Support for monitored circuit and dependances between VRIDs
+        * Support for VLAN pseudo devices under *BSD
+ 
+ WWW: http://www.b0l.org/?idcategory=3&idsection=1
diff -crN freevrrpd/MESSAGE freevrrpd-pkgsrc/MESSAGE
*** freevrrpd/MESSAGE   Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/MESSAGE    Mon May  2 12:30:54 2005
***************
*** 0 ****
--- 1,13 ----
+ ===========================================================================
+ $Id$
+ 
+       ${PREFIX}/sbin/freevrrpd must be run as "root".
+ 
+       Please copy ${PREFIX}/etc/freevrrpd.conf.sample to
+               ${PREFIX}/etc/freevrrpd.conf and modify it
+               before starting freevrrpd
+ 
+       Add freevrrpd=YES to /etc/rc.conf for automatic startup
+ 
+ ===========================================================================
+ 
diff -crN freevrrpd/Makefile freevrrpd-pkgsrc/Makefile
*** freevrrpd/Makefile  Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/Makefile   Mon May  2 13:48:47 2005
***************
*** 0 ****
--- 1,29 ----
+ # New ports collection makefile for:  freevrrpd
+ # Date created:                               Tue Jan 29 18:44:25 EST 2002
+ # Whom:                                       Sebastien Petit 
<spe%bsdfr.org@localhost>
+ #
+ # $FreeBSD: ports/net/freevrrpd/Makefile,v 1.16 2004/05/26 22:20:17 pav Exp $
+ #
+ 
+ PORTNAME=     freevrrpd
+ DISTNAME=     freevrrpd-0.9.1
+ CATEGORIES=   net
+ PKGREVISION=  1
+ MASTER_SITES= http://www.b0l.org/download/
+ 
+ MAINTAINER=   spe%b0l.org@localhost
+ COMMENT=      This a VRRP RFC2338 Compliant implementation under FreeBSD
+ 
+ MAKE_ENV=     PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+               PTHREAD_LIBS="${PTHREAD_LIBS}"
+ 
+ USE_PKGINSTALL= yes
+ 
+ do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${PREFIX}/sbin
+       ${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample ${PREFIX}/etc
+       ${INSTALL_SCRIPT} ${FILESDIR}/freevrrpd.sh ${PREFIX}/etc/rc.d
+       ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
+ 
+ 
+ .include "../../mk/bsd.pkg.mk"
diff -crN freevrrpd/Makefile.orig freevrrpd-pkgsrc/Makefile.orig
*** freevrrpd/Makefile.orig     Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/Makefile.orig      Mon May  2 12:12:00 2005
***************
*** 0 ****
--- 1,28 ----
+ # New ports collection makefile for:  freevrrpd
+ # Date created:                               Tue Jan 29 18:44:25 EST 2002
+ # Whom:                                       Sebastien Petit 
<spe%bsdfr.org@localhost>
+ #
+ # $FreeBSD: ports/net/freevrrpd/Makefile,v 1.16 2004/05/26 22:20:17 pav Exp $
+ #
+ 
+ DISTNAME=     freevrrpd-0.9
+ CATEGORIES=   net
+ PKGREVISION=  1
+ MASTER_SITES= http://www.b0l.org/download/
+ 
+ MAINTAINER=   spe%b0l.org@localhost
+ COMMENT=      This a VRRP RFC2338 Compliant implementation under FreeBSD
+ 
+ MAKE_ENV=     PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+               PTHREAD_LIBS="${PTHREAD_LIBS}"
+ 
+ USE_PKGINSTALL= yes
+ 
+ do-install:
+       @${INSTALL_PROGRAM} ${WRKSRC}/freevrrpd ${PREFIX}/sbin
+       @${INSTALL_DATA} ${WRKSRC}/freevrrpd.conf.sample ${PREFIX}/etc
+       @${INSTALL_SCRIPT} ${WRKSRC}/freevrrpd.sh.sample ${PREFIX}/etc/rc.d
+       @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
+ 
+ 
+ .include "../../mk/bsd.pkg.mk"
diff -crN freevrrpd/PLIST freevrrpd-pkgsrc/PLIST
*** freevrrpd/PLIST     Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/PLIST      Mon May  2 12:26:27 2005
***************
*** 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
+ sbin/freevrrpd
diff -crN freevrrpd/distinfo freevrrpd-pkgsrc/distinfo
*** freevrrpd/distinfo  Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/distinfo   Mon May  2 13:50:22 2005
***************
*** 0 ****
--- 1,2 ----
+ SHA1 (freevrrpd-0.9.1.tar.gz) = 4ac5d89b7bb44763feed39ba93243f1bd99ed85e
+ Size (freevrrpd-0.9.1.tar.gz) = 42491 bytes
diff -crN freevrrpd/files/freevrrpd.sh freevrrpd-pkgsrc/files/freevrrpd.sh
*** freevrrpd/files/freevrrpd.sh        Thu Jan  1 01:00:00 1970
--- freevrrpd-pkgsrc/files/freevrrpd.sh Mon May  2 13:52:14 2005
***************
*** 0 ****
--- 1,30 ----
+ #!/bin/sh
+ #
+ # $Id$
+ #
+ # PROVIDE: freevrrpd
+ # KEYWORD: shutdown
+ #
+ # You will need to set some variables in /etc/rc.conf to start FreeVRRPd:
+ #
+ # freevrrpd=YES 
+ 
+ if [ -f /etc/rc.subr ]; then
+       . /etc/rc.subr
+ fi
+ 
+ name="freevrrpd"
+ rcvar=${name}
+ required_files="/usr/pkg/etc/freevrrpd.conf"
+ command="/usr/pkg/sbin/${name}"
+ command_args="-f ${required_files}"
+ pidfile="/var/run/${name}.pid"
+ extra_commands="reload"
+ 
+ if [ -f /etc/rc.subr ]; then
+       load_rc_config ${name}
+       run_rc_command "$1"
+ else
+       echo -n " ${name}"
+       ${command} ${command_args}
+ fi




Home | Main Index | Thread Index | Old Index