aboutsummaryrefslogtreecommitdiff
path: root/net/zebra-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/zebra-devel/files')
-rw-r--r--net/zebra-devel/files/patch-ioctl.c31
-rw-r--r--net/zebra-devel/files/patch-zebra_Makefile.in11
-rw-r--r--net/zebra-devel/files/zebractl.sh57
3 files changed, 0 insertions, 99 deletions
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