summaryrefslogtreecommitdiff
path: root/net/zebra-pj/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/zebra-pj/files')
-rw-r--r--net/zebra-pj/files/patch-zebra_Makefile.in15
-rw-r--r--net/zebra-pj/files/zebractl.sh54
2 files changed, 0 insertions, 69 deletions
diff --git a/net/zebra-pj/files/patch-zebra_Makefile.in b/net/zebra-pj/files/patch-zebra_Makefile.in
deleted file mode 100644
index 47c586510848..000000000000
--- a/net/zebra-pj/files/patch-zebra_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- zebra/Makefile.in.orig Thu Jan 11 11:22:36 2001
-+++ zebra/Makefile.in Thu Jan 11 11:23:00 2001
-@@ -331,10 +331,10 @@
-
-
- zebra : $(zebra_OBJECTS) $(otherobj) ../lib/libzebra.a
-- $(CC) -g -o zebra $(zebra_OBJECTS) $(otherobj) ../lib/libzebra.a $(LIBS) $(LIB_IPV6)
-+ $(CC) -o zebra $(zebra_OBJECTS) $(otherobj) ../lib/libzebra.a $(LIBS) $(LIB_IPV6)
-
- 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-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh
deleted file mode 100644
index 4d7ff4fd8a5a..000000000000
--- a/net/zebra-pj/files/zebractl.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#! /bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.7 2001-06-21 17:39:10 joe 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/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/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