ports/78819: New port:net/ifdepd Interface Dependancy daemon

Alexander Hausner alex at hugo.bmg.gv.at
Mon Mar 14 14:30:03 UTC 2005


>Number:         78819
>Category:       ports
>Synopsis:       New port:net/ifdepd Interface Dependancy daemon
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 14 14:30:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Hausner
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
BMGF
>Environment:
System: FreeBSD hugo.bmg.gv.at 5.3-STABLE FreeBSD 5.3-STABLE #2: Tue Jan 18 13:15:06 MET 2005 alex at hugo.bmg.gv.at:/usr/src/sys/i386/compile/HUGO i386


	
>Description:
ifdepd implements dependencies between network interfaces in a
reliable way. If any of the source interfaces fails, ifdepd sets all
destination interfaces to state down. If all source interfaces are active,
ifdepd sets all destination interfaces to state up.

For example, it can be used with carp(4) to provide failover functionality
on gateways/firewalls.

ifdepd is a simple replacement for ifstated and was written because of problems
with ifstated.
>How-To-Repeat:
	
>Fix:
--- ifdepd.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ifdepd
#	ifdepd/pkg-descr
#	ifdepd/distinfo
#	ifdepd/Makefile
#	ifdepd/pkg-message
#
echo c - ifdepd
mkdir -p ifdepd > /dev/null 2>&1
echo x - ifdepd/pkg-descr
sed 's/^X//' >ifdepd/pkg-descr << 'END-of-ifdepd/pkg-descr'
X
Xifdepd implements dependencies between network interfaces in a
Xreliable way. If any of the source interfaces fails, ifdepd sets all
Xdestination interfaces to state down. If all source interfaces are active,
Xifdepd sets all destination interfaces to state up.
X
XFor example, it can be used with carp(4) to provide failover functionality
Xon gateways/firewalls.
X
Xifdepd is a simple replacement for ifstated and was written because of problems
Xwith ifstated.
X
XAlexander Hausner <alex at hugo.bmg.gv.at>
END-of-ifdepd/pkg-descr
echo x - ifdepd/distinfo
sed 's/^X//' >ifdepd/distinfo << 'END-of-ifdepd/distinfo'
XMD5 (ifdepd-20050303.tar.gz) = c4a8aaae4962796871072bce2a170765
XSIZE (ifdepd-20050303.tar.gz) = 6765
END-of-ifdepd/distinfo
echo x - ifdepd/Makefile
sed 's/^X//' >ifdepd/Makefile << 'END-of-ifdepd/Makefile'
X# New ports collection makefile for: ifdepd
X# Date created:         03 03 2005
X# Whom:                 Alexander Hausner <alex at hugo.bmg.gv.at>
X# $FreeBSD$
X
XPORTNAME=	ifdepd
XPORTVERSION=	20050303
XCATEGORIES=	net
XMASTER_SITES=	http://alex.bmg.gv.at/programs/
X
XMAINTAINER=	alex at hugo.bmg.gv.at
XCOMMENT=	Interface Dependancy daemon
X
XINSTALL_TARGET=	install install-man
XMAN8=		ifdepd.8
XMANCOMPRESSED=	no
X
XPLIST_FILES=	bin/ifdepd \
X		etc/rc.d/ifdepd.sh
X
XUSE_REINPLACE=	yes
XPKGMESSAGE=	pkg-message
X
XUSE_RC_SUBR=	yes
XRC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 502113
X#IGNORE=		need link state change notification changes from May 2004
X.endif
X
Xpost-install:
X		@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-ifdepd/Makefile
echo x - ifdepd/pkg-message
sed 's/^X//' >ifdepd/pkg-message << 'END-of-ifdepd/pkg-message'
X
X*** ATTENTION ***
X
XTo run ifdepd from startup, add
Xifdepd_enable="YES" to /etc/rc.conf
X
XAvailable variables you add/set to /etc/rc.conf.
X- ifdepd_enable (bool):	       Set to "NO" by default.
X                               Set it to "YES" to enable ifdepd.
X- ifdepd_src_ifaces(str):      Set to "" by default.
X                               Contains a space separated list
X                               of source interfaces.
X- ifdepd_dst_ifaces(str):      Set to "" by default.
X                               Contains a space separated list
X                               of destination interfaces.
END-of-ifdepd/pkg-message
exit
--- ifdepd.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list