Remove net/zebra-devel port.

It the same as net/zebra for a long time.

PR:		ports/66831
Submitted by:	glebius
This commit is contained in:
Sergey Matveychuk 2004-07-27 12:37:57 +00:00
parent dd429c2a0a
commit 49cb1cc05d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114867
6 changed files with 0 additions and 259 deletions

View File

@ -1,106 +0,0 @@
# New ports collection makefile for: zebra-devel
# Date created: Fri 20 Jun 2003 15:57:48 EEST
# Whom: Alexandr Kovalenko <never@nevermind.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= zebra
PORTVERSION= 0.94
PORTREVISION?= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/
MAINTAINER= never@nevermind.kiev.ua
COMMENT= Free RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector)
LATEST_LINK= ${PORTNAME}-devel
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_SUBMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
SCRIPTS_ENV= WRKDIRPREFIX=${WRKDIRPREFIX}
MAN1= vtysh.1
MAN8= bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
INFO= zebra
.if defined (WITHOUT_IPV6)
CONFIGURE_ARGS+=--disable-ipv6
WITHOUT_OSPF6D= yes
WITHOUT_RIPNGD= yes
.endif
.if !defined(WITHOUT_BGPD)
PLIST_SUB+= BGPD=""
.else
CONFIGURE_ARGS+=--disable-bgpd
PLIST_SUB+= BGPD="@comment "
.endif
.if !defined(WITHOUT_OSPF6D)
PLIST_SUB+= OSPF6D=""
.else
CONFIGURE_ARGS+=--disable-ospf6d
PLIST_SUB+= OSPF6D="@comment "
.endif
.if !defined(WITHOUT_OSPFD)
PLIST_SUB+= OSPF6D=""
PLIST_SUB+= OSPFD=""
.else
CONFIGURE_ARGS+=--disable-ospfd
PLIST_SUB+= OSPFD="@comment "
.endif
.if !defined(WITHOUT_RIPD)
PLIST_SUB+= RIPD=""
.else
CONFIGURE_ARGS+=--disable-ripd
PLIST_SUB+= RIPD="@comment "
.endif
.if !defined(WITHOUT_RIPNGD)
PLIST_SUB+= RIPNGD=""
.else
CONFIGURE_ARGS+=--disable-ripngd
PLIST_SUB+= RIPNGD="@comment "
.endif
.if !defined(WITHOUT_VTYSH)
PLIST_SUB+= VTYSH=""
CONFIGURE_ARGS+=--enable-vtysh
.else
PLIST_SUB+= VTYSH="@comment "
.endif
.if !defined(BATCH)
pre-configure:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
.endif
post-install:
@( cd ${WRKSRC}/doc; ${RM} -f zebra*info*; ${MAKE} zebra.info install )
@${ECHO} "===> installing zebra startup file..."
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
< ${FILESDIR}/zebractl.sh \
> ${PREFIX}/sbin/zebractl
@${CHMOD} 555 ${PREFIX}/sbin/zebractl
@${ECHO} "Make these entries in /etc/rc.conf to start zebra:"
@${ECHO} "defaultrouter=\"NO\""
@${ECHO} "router_enable=\"YES\""
@${ECHO} "router=\"${PREFIX}/sbin/zebractl\""
@${ECHO} "router_flags=\"start\""
@${ECHO} "done."
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
MD5 (zebra-0.94.tar.gz) = ff1633f1ac026b720fa37b1856be3f48
SIZE (zebra-0.94.tar.gz) = 1319836

View File

@ -1,57 +0,0 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.9 2003-07-02 19:47:28 osa Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
usage()
{
echo "$0: usage: $0 [ start | stop | restart ]"
exit 1
}
if [ $# -lt 1 ]; then
echo "$0: error: one argument needed"; usage
elif [ $# -gt 1 ]; then
echo "$0: error: only one argument needed"; usage
fi
case $1 in
start)
if [ ! -f !!PREFIX!!/etc/zebra/zebra.conf ]; then
echo "error: zebra.conf config file is mandatory"
exit 1
fi
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
&& !!PREFIX!!/sbin/ripd -d && echo -n ' ripd'
[ -f !!PREFIX!!/etc/zebra/ripngd.conf ] \
&& !!PREFIX!!/sbin/ripngd -d && echo -n ' ripngd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
[ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] \
&& !!PREFIX!!/sbin/ospf6d -d && echo -n ' ospf6d'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
&& !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd'
;;
stop)
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && killall ripd
[ -f !!PREFIX!!/etc/zebra/ripngd.conf ] && killall ripngd
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && killall ospfd
[ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] && killall ospf6d
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && killall bgpd
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && killall zebra
;;
restart)
$0 stop
$0 start
;;
*) echo "$0: error: unknown option $1"
usage
;;
esac
exit 0

View File

@ -1,15 +0,0 @@
GNU Zebra is a free software (distributed under GNU Generic Public
License) which manages TCP/IP based routing protocols.
It supports BGP-4 protocol as described in RFC1771 (A Border Gateway
Protocol 4) and RIPv1, RIPv2 and OSPFv2.
Zebra uses multithread technology under multithread supported UNIX
kernels. However it can be run under not-multithread supported
UNIX kernels.
Zebra is intended to be used as a Route Server and a Route Reflector.
Zebra is not a toolkit, it provides full routing power under a new
architecture.
WWW: http://www.zebra.org/

View File

@ -1,17 +0,0 @@
%%BGPD%%sbin/bgpd
%%OSPF6D%%sbin/ospf6d
%%OSPFD%%sbin/ospfd
%%RIPD%%sbin/ripd
%%RIPNGD%%sbin/ripngd
sbin/zebra
sbin/zebractl
%%VTYSH%%bin/vtysh
%%BGPD%%etc/zebra/bgpd.conf.sample
%%BGPD%%etc/zebra/bgpd.conf.sample2
%%OSPF6D%%etc/zebra/ospf6d.conf.sample
%%OSPFD%%etc/zebra/ospfd.conf.sample
%%RIPD%%etc/zebra/ripd.conf.sample
%%RIPNGD%%etc/zebra/ripngd.conf.sample
%%VTYSH%%etc/zebra/vtysh.conf.sample
etc/zebra/zebra.conf.sample
@dirrm etc/zebra

View File

@ -1,62 +0,0 @@
#! /bin/sh
# $FreeBSD$
# configure - zebra compile time option configurator
# by Andreas Klemm <andreas@FreeBSD.org>
if [ "$BATCH" != "yes" -a "$BATCH" != "YES" ]; then
#
# configure - zebra compile time options
#
/usr/bin/dialog --title "Zebra Compile Time Options" --clear \
--checklist "\n\
Select compile time options for zebra port:" -1 -1 8 \
LIBPAM "enable PAM authentication for vtysh" OFF \
OSPF_NSSA "turn on undergoing NSSA feature" OFF \
SNMP "enable SNMP support" OFF \
TCP-ZEBRA "enable TCP/IP socket connection" OFF \
2> /tmp/zebra-checklist.$$
retval=$?
if [ -s /tmp/zebra-checklist.$$ ]; then
set `cat /tmp/zebra-checklist.$$`
fi
rm -f /tmp/zebra-checklist.$$
case $retval in
0) if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
/bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
while [ "$1" ]; do
case $1 in
\"LIBPAM\")
echo CONFIGURE_ARGS+=--with-libpam
;;
\"OSPF_NSSA\")
echo CONFIGURE_ARGS+=--enable-nssa
;;
\"SNMP\")
echo CONFIGURE_ARGS+=--enable-snmp
echo 'LIB_DEPENDS+=snmp.4:${PORTSDIR}/net-mgmt/net-snmp4:install'
;;
\"TCP-ZEBRA\")
echo CONFIGURE_ARGS+=--enable-tcp-zebra
;;
esac
shift
done
fi # if $BATCH