From ns88@Kolos.NS88.eu.org  Fri Jan 12 14:29:13 2001
Return-Path: <ns88@Kolos.NS88.eu.org>
Received: from Kolos.NS88.eu.org (pb66.wroclaw.sdi.tpnet.pl [213.25.232.66])
	by hub.freebsd.org (Postfix) with ESMTP id EF9FF37B69B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Jan 2001 14:29:01 -0800 (PST)
Received: (from ns88@localhost)
	by Kolos.NS88.eu.org (8.11.1/8.11.1) id f0CMRXU96789;
	Fri, 12 Jan 2001 23:27:33 +0100 (CET)
	(envelope-from ns88)
Message-Id: <200101122227.f0CMRXU96789@Kolos.NS88.eu.org>
Date: Fri, 12 Jan 2001 23:27:33 +0100 (CET)
From: ns88@k.pl
Reply-To: ns88@k.pl
To: FreeBSD-gnats-submit@freebsd.org
Subject: port update: zebra 0.90
X-Send-Pr-Version: 3.2

>Number:         24293
>Category:       ports
>Synopsis:       port update: zebra 0.90
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 12 14:30:00 PST 2001
>Closed-Date:    Sun Jan 21 15:01:23 PST 2001
>Last-Modified:  Sun Jan 21 15:01:42 PST 2001
>Originator:     Tomasz Paszkowski
>Release:        FreeBSD 4.2-20010105-STABLE i386
>Organization:
>Environment:
>Description:

	Since 0.89a (current FreeBSD port), zebra recived several bugfixes and
	few features were rewriten. Finaly my port install *.texi zebra 
	documentaion, which isn't beeign instaled in current version of port.

>How-To-Repeat:
>Fix:

# 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:
#
#	zebra
#	zebra/pkg-plist
#	zebra/pkg-descr
#	zebra/pkg-comment
#	zebra/files
#	zebra/files/zebractl.sh
#	zebra/Makefile
#	zebra/distinfo
#
echo c - zebra
mkdir -p zebra > /dev/null 2>&1
echo x - zebra/pkg-plist
sed 's/^X//' >zebra/pkg-plist << 'END-of-zebra/pkg-plist'
Xsbin/zebractl
Xsbin/zebra
Xsbin/bgpd
Xsbin/ripd
Xsbin/ripngd
Xsbin/ospfd
Xsbin/ospf6d
Xbin/vtysh
Xetc/zebra/zebra.conf.sample
Xetc/zebra/bgpd.conf.sample
Xetc/zebra/bgpd.conf.sample2
Xetc/zebra/README.mbgp
Xetc/zebra/ripd.conf.sample
Xetc/zebra/ripngd.conf.sample
Xetc/zebra/ospfd.conf.sample
Xetc/zebra/ospf6d.conf.sample
Xetc/zebra/vtysh.conf.sample
Xshare/doc/zebra/appendix.texi
Xshare/doc/zebra/basic.texi
Xshare/doc/zebra/bgpd.texi
Xshare/doc/zebra/filter.texi
Xshare/doc/zebra/install.texi
Xshare/doc/zebra/ipv6.texi
Xshare/doc/zebra/kernel.texi
Xshare/doc/zebra/main.texi
Xshare/doc/zebra/ospf6d.texi
Xshare/doc/zebra/ospfd.texi
Xshare/doc/zebra/overview.texi
Xshare/doc/zebra/protocol.texi
Xshare/doc/zebra/ripd.texi
Xshare/doc/zebra/ripngd.texi
Xshare/doc/zebra/routemap.texi
Xshare/doc/zebra/snmp.texi
Xshare/doc/zebra/vtysh.texi
Xshare/doc/zebra/zebra.texi
Xshare/doc/zebra/BGP-TypeCode
Xshare/doc/zebra/draft-zebra-00.txt
X@unexec install-info --delete %D/info/zebra.info %D/info/dir
Xinfo/zebra.info
Xinfo/zebra.info-1
Xinfo/zebra.info-2
Xinfo/zebra.info-3
X@exec install-info %D/info/zebra.info %D/info/dir
X@dirrm etc/zebra
X@dirrm share/doc/zebra
END-of-zebra/pkg-plist
echo x - zebra/pkg-descr
sed 's/^X//' >zebra/pkg-descr << 'END-of-zebra/pkg-descr'
XGNU Zebra is a free software (distributed under GNU Generic Public
XLicense) which manages TCP/IP based routing protocols.
X
XIt supports BGP-4 protocol as described in RFC1771 (A Border Gateway
XProtocol 4) and RIPv1, RIPv2 and OSPFv2.
X
XZebra uses multithread technology under multithread supported UNIX
Xkernels.  However it can be run under not-multithread supported
XUNIX kernels.
X
XZebra is intended to be used as a Route Server and a Route Reflector.
XZebra is not a toolkit, it provides full routing power under a new
Xarchitecture.
X
XWWW: http://www.zebra.org/
END-of-zebra/pkg-descr
echo x - zebra/pkg-comment
sed 's/^X//' >zebra/pkg-comment << 'END-of-zebra/pkg-comment'
XFree multithreaded RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector)
END-of-zebra/pkg-comment
echo c - zebra/files
mkdir -p zebra/files > /dev/null 2>&1
echo x - zebra/files/zebractl.sh
sed 's/^X//' >zebra/files/zebractl.sh << 'END-of-zebra/files/zebractl.sh'
X#! /bin/sh
X# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
X#
X# $FREEBSD$
X
Xusage()
X{
X	echo "$0: usage: $0 [ start | stop ]"
X	exit 1
X}
X
Xif [ $# -lt 1 ]; then
X	echo "$0: error: one argument needed"; usage
Xelif [ $# -gt 1 ]; then
X	echo "$0: error: only one argument needed"; usage
Xfi
X
Xcase $1 in
X	start)
X		[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && ( \
X			!!PREFIX!!/sbin/zebra > /dev/null 2>&1 & \
X			echo -n ' zebra' )
X		[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && ( \
X			!!PREFIX!!/sbin/ripd > /dev/null 2>&1 & \
X			echo -n ' ripd' )
X		[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && ( \
X			!!PREFIX!!/sbin/ospfd > /dev/null 2>&1 & \
X			echo -n ' ospfd' )
X		[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && ( \
X			!!PREFIX!!/sbin/bgpd > /dev/null 2>&1 & \
X			echo -n ' bgpd' )
X		;;
X
X	stop)
X		[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && killall ripd
X		[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && killall ospfd
X		[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && killall bgpd
X		[ -f !!PREFIX!!/etc/zebra/zebra.conf ] &&  killall zebra
X		;;
X	restart)
X		$0 stop
X		$0 start
X		;;
X
X	*)	echo "$0: error: unknown option $1"
X		usage
X		;;
Xesac
Xexit 0
END-of-zebra/files/zebractl.sh
echo x - zebra/Makefile
sed 's/^X//' >zebra/Makefile << 'END-of-zebra/Makefile'
X# Data Created:	12 Jan 2001
X# Whom:		Tomasz Paszkowski <ns88@k.pl>
X#
X# $FREEBSD$
X
XPORTNAME=	zebra
XPORTVERSION=	0.90
X
XCATEGORIES=	net ipv6
X
XMASTER_SITES=	ftp://ftp.icm.edu.pl/pub/unix/ipv6/zebra/ \
X		ftp://ftp.zebra.org/pub/zebra/
X
XMAINTAINER=	ns88@k.pl
X
XMAN1=	vtysh.1
XMAN8=	bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
X
X.include <bsd.port.pre.mk>
X
XCONFIGURE_ARGS+=	--enable-vtysh --sysconfdir=${PREFIX}/etc/zebra
X
XGNU_CONFIGURE=	true
XUSE_GMAKE=	true
X
XDOKUMENTY=	appendix.texi basic.texi bgpd.texi filter.texi \
X		install.texi ipv6.texi kernel.texi main.texi ospf6d.texi \
X		ospfd.texi overview.texi protocol.texi ripd.texi \
X		ripngd.texi routemap.texi snmp.texi vtysh.texi \
X		zebra.texi BGP-TypeCode draft-zebra-00.txt
XDOC_KATALOG=	${PREFIX}/share/doc/${PORTNAME}
X
Xpost-install:
X	${ECHO_MSG} "===> Installing zebra documentation"
X	${MKDIR} ${DOC_KATALOG}
X.for i in ${DOKUMENTY}
X	${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOC_KATALOG}
X.endfor
X	${ECHO} "===> Installing zebra startup file"
X	${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
X		< ${FILESDIR}/zebractl.sh  \
X		> ${PREFIX}/sbin/zebractl
X	${CHMOD} 555 ${PREFIX}/sbin/zebractl
X
X
X.include <bsd.port.post.mk>
END-of-zebra/Makefile
echo x - zebra/distinfo
sed 's/^X//' >zebra/distinfo << 'END-of-zebra/distinfo'
XMD5 (zebra-0.90.tar.gz) = 47267d23dd90eaa089f66771ed167069
END-of-zebra/distinfo
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Sun Jan 21 15:01:23 PST 2001 
State-Changed-Why:  
zebra was upgraded to 0.90 meanwhile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24293 
>Unformatted:
 
