diff options
Diffstat (limited to 'net/zebra-devel')
-rw-r--r-- | net/zebra-devel/Makefile | 66 | ||||
-rw-r--r-- | net/zebra-devel/distinfo | 1 | ||||
-rw-r--r-- | net/zebra-devel/files/patch-ioctl.c | 31 | ||||
-rw-r--r-- | net/zebra-devel/files/patch-zebra_Makefile.in | 11 | ||||
-rw-r--r-- | net/zebra-devel/files/zebractl.sh | 57 | ||||
-rw-r--r-- | net/zebra-devel/pkg-comment | 1 | ||||
-rw-r--r-- | net/zebra-devel/pkg-descr | 15 | ||||
-rw-r--r-- | net/zebra-devel/pkg-plist | 22 | ||||
-rw-r--r-- | net/zebra-devel/pkg-plist.v6 | 2 | ||||
-rw-r--r-- | net/zebra-devel/scripts/configure | 61 |
10 files changed, 0 insertions, 267 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile deleted file mode 100644 index deaeb1ed0728..000000000000 --- a/net/zebra-devel/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# New ports collection makefile for: zebra -# Date created: So 31 Mai 1998 11:00:30 CEST -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD$ -# - -PORTNAME= zebra -PORTVERSION= 0.93b -PORTREVISION= 3 -CATEGORIES= net ipv6 -MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \ - ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \ - ftp://ftp.sunet.se/pub/network/zebra/ \ - ftp://ftp.knowledge.com/pub/mirrors/zebra/ \ - ftp://6bone.informatik.uni-leipzig.de/pub/ftp.zebra.org/pub/zebra/ \ - ftp://ftp.crc.ca/pub/packages/network/zebra/ \ - ftp://ftp.pop-pr.rnp.br/pub/GNU/ftp.zebra.org/zebra/ - -MAINTAINER= sumikawa@FreeBSD.org - -USE_SUBMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra --enable-vtysh -SCRIPTS_ENV= WRKDIRPREFIX=${WRKDIRPREFIX} - -MAN1= vtysh.1 -MAN8= bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8 - -.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 - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 400014 -PLIST:= ${WRKDIR}/PLIST -pre-install: - @${CAT} ${PKGDIR}/pkg-plist.v6 ${PKGDIR}/pkg-plist > ${PLIST} -.else -CONFIGURE_ARGS+=--disable-ospf6d --disable-ripngd -.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.post.mk> diff --git a/net/zebra-devel/distinfo b/net/zebra-devel/distinfo deleted file mode 100644 index 742639951e7b..000000000000 --- a/net/zebra-devel/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (zebra-0.93b.tar.gz) = 9ca7dc5e0afb9b6470e4b1e21c271fe1 diff --git a/net/zebra-devel/files/patch-ioctl.c b/net/zebra-devel/files/patch-ioctl.c deleted file mode 100644 index aadb3ab5c5dd..000000000000 --- a/net/zebra-devel/files/patch-ioctl.c +++ /dev/null @@ -1,31 +0,0 @@ - -$FreeBSD$ - ---- zebra/ioctl.c.orig Tue Oct 23 11:31:29 2001 -+++ zebra/ioctl.c Fri Oct 4 19:45:04 2002 -@@ -349,6 +349,7 @@ - int ret; - struct ifreq ifreq; - -+ bzero(&ifreq, sizeof(struct ifreq)); - ifreq_set_name (&ifreq, ifp); - - ifreq.ifr_flags = ifp->flags; -@@ -371,6 +372,7 @@ - int ret; - struct ifreq ifreq; - -+ bzero(&ifreq, sizeof(struct ifreq)); - ifreq_set_name (&ifreq, ifp); - - ifreq.ifr_flags = ifp->flags; -@@ -473,6 +475,9 @@ - mask.sin6_len = sizeof (struct sockaddr_in6); - #endif - memcpy (&addreq.ifra_prefixmask, &mask, sizeof (struct sockaddr_in6)); -+ -+ addreq.ifra_lifetime.ia6t_vltime = 0xffffffff; -+ addreq.ifra_lifetime.ia6t_pltime = 0xffffffff; - - addreq.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME; - addreq.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME; diff --git a/net/zebra-devel/files/patch-zebra_Makefile.in b/net/zebra-devel/files/patch-zebra_Makefile.in deleted file mode 100644 index c613ec176af0..000000000000 --- a/net/zebra-devel/files/patch-zebra_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- zebra/Makefile.in.orig Sat Jun 29 15:26:54 2002 -+++ zebra/Makefile.in Wed Jul 24 19:16:06 2002 -@@ -404,7 +404,7 @@ - - - #client : client_main.o ../lib/libzebra.a --# $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) -+# $(CC) -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) - - install-sysconfDATA: $(sysconf_DATA) - @$(NORMAL_INSTALL) diff --git a/net/zebra-devel/files/zebractl.sh b/net/zebra-devel/files/zebractl.sh deleted file mode 100644 index b4885f0a69ce..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.8 2002-08-04 20:04:50 sumikawa 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 diff --git a/net/zebra-devel/pkg-comment b/net/zebra-devel/pkg-comment deleted file mode 100644 index df7c38434b5c..000000000000 --- a/net/zebra-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Free RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector) 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 08c293d29b50..000000000000 --- a/net/zebra-devel/pkg-plist +++ /dev/null @@ -1,22 +0,0 @@ -sbin/bgpd -sbin/ospfd -sbin/ripd -sbin/ripngd -sbin/zebra -sbin/zebractl -bin/vtysh -etc/zebra/bgpd.conf.sample -etc/zebra/bgpd.conf.sample2 -etc/zebra/ospfd.conf.sample -etc/zebra/ripd.conf.sample -etc/zebra/ripngd.conf.sample -etc/zebra/zebra.conf.sample -etc/zebra/vtysh.conf.sample -@unexec install-info --delete %D/info/zebra.info %D/info/dir -info/zebra.info -info/zebra.info-1 -info/zebra.info-2 -info/zebra.info-3 -info/zebra.info-4 -@exec install-info %D/info/zebra.info %D/info/dir -@dirrm etc/zebra diff --git a/net/zebra-devel/pkg-plist.v6 b/net/zebra-devel/pkg-plist.v6 deleted file mode 100644 index a8519a7a98c9..000000000000 --- a/net/zebra-devel/pkg-plist.v6 +++ /dev/null @@ -1,2 +0,0 @@ -sbin/ospf6d -etc/zebra/ospf6d.conf.sample diff --git a/net/zebra-devel/scripts/configure b/net/zebra-devel/scripts/configure deleted file mode 100644 index f2a02dc53a82..000000000000 --- a/net/zebra-devel/scripts/configure +++ /dev/null @@ -1,61 +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 - ;; - \"TCP-ZEBRA\") - echo CONFIGURE_ARGS+=--enable-tcp-zebra - ;; - esac - shift -done - -fi # if $BATCH |