From 49cb1cc05da6d3d58cdfa00df86f9a69b497e849 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Tue, 27 Jul 2004 12:37:57 +0000 Subject: [PATCH] Remove net/zebra-devel port. It the same as net/zebra for a long time. PR: ports/66831 Submitted by: glebius --- net/zebra-devel/Makefile | 106 ------------------------------ net/zebra-devel/distinfo | 2 - net/zebra-devel/files/zebractl.sh | 57 ---------------- net/zebra-devel/pkg-descr | 15 ----- net/zebra-devel/pkg-plist | 17 ----- net/zebra-devel/scripts/configure | 62 ----------------- 6 files changed, 259 deletions(-) delete mode 100644 net/zebra-devel/Makefile delete mode 100644 net/zebra-devel/distinfo delete mode 100644 net/zebra-devel/files/zebractl.sh delete mode 100644 net/zebra-devel/pkg-descr delete mode 100644 net/zebra-devel/pkg-plist delete mode 100644 net/zebra-devel/scripts/configure diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile deleted file mode 100644 index 92c581d2dc85..000000000000 --- a/net/zebra-devel/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -# New ports collection makefile for: zebra-devel -# Date created: Fri 20 Jun 2003 15:57:48 EEST -# Whom: Alexandr Kovalenko -# -# $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 diff --git a/net/zebra-devel/distinfo b/net/zebra-devel/distinfo deleted file mode 100644 index ca6e66ac0464..000000000000 --- a/net/zebra-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (zebra-0.94.tar.gz) = ff1633f1ac026b720fa37b1856be3f48 -SIZE (zebra-0.94.tar.gz) = 1319836 diff --git a/net/zebra-devel/files/zebractl.sh b/net/zebra-devel/files/zebractl.sh deleted file mode 100644 index f29f4c69c88e..000000000000 --- a/net/zebra-devel/files/zebractl.sh +++ /dev/null @@ -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 " -# - -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 diff --git a/net/zebra-devel/pkg-descr b/net/zebra-devel/pkg-descr deleted file mode 100644 index 005d35bc4f1b..000000000000 --- a/net/zebra-devel/pkg-descr +++ /dev/null @@ -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/ diff --git a/net/zebra-devel/pkg-plist b/net/zebra-devel/pkg-plist deleted file mode 100644 index 4deae73b4859..000000000000 --- a/net/zebra-devel/pkg-plist +++ /dev/null @@ -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 diff --git a/net/zebra-devel/scripts/configure b/net/zebra-devel/scripts/configure deleted file mode 100644 index 9a5c8a9926f4..000000000000 --- a/net/zebra-devel/scripts/configure +++ /dev/null @@ -1,62 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ - -# configure - zebra compile time option configurator -# by Andreas Klemm - -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