aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra/scripts/configure
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-01-11 21:45:05 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-01-11 21:45:05 +0000
commit6e2dbdc869e741fe3c44a514e3344dafc15b014f (patch)
tree5f96c4ff4fb9d9c9bfb205af358521035242012e /net/zebra/scripts/configure
parent070b9cadbcb588fc95898606d4349e846eb2d3a4 (diff)
upgrade to new zebra version 0.90
- removed PORTREVISION (new version) - new configure script: dialog menue allows you to set different zebra compile time options (if ! BATCH), currently supported: --with-libpam = enable PAM authentication for vtysh --enable-nssa = enable OSPF NSSA --enable-snmp = enable SNMP support - please note: port compiles fine when all options are set, but functionality has not been tested by me. - silence portlint, trim pkg-comment to <=70 columns - remove unneeded patch patch, 0.90 now contains fix for memory leak - cosmetic: add patch for Makefile.in (don't link with -g) - portlint: o.k. In this BETA --enable-unixdomain and --enable-newrib became default ! To get old implementation back use the following configure options: --enable-tcp-zebra # TCP/IP socket is used for protocol daemon and zebra. --enable-oldrib # Turn on old RIB implementation. Note: I didn't add these options to configure script, so that people don't choose the wrong thing ! Some milestones of this release (see file NEWS for complete list): - access-lists can have remarks - memory leak with access-list and prefix-list name fixed - UNIX domain socket server of zebra protocol is added - PointoPoint interface network bug fixed - Metric value is reflected to kernel routing table - New RIB implementation has been added: - BGP passive peer support problem is fixed - Redistributed IGP nexthop is passed to BGP nexthop - Fix bug of holdtimer is not reset when bgp cleared - BGP-MIB implementation is finished - When BGP connection comes from unconfigured IP address, close socket immediately. - BGP flap dampening feature is added * RIP - Fix bug of refreshing default route * OSPF - Fix bug of Hello packet's option is not properly set when interface comes up - Reduce unconditional logging - New command for virtual-link configuration - Memory leak related classfull network generation is fixed
Diffstat (limited to 'net/zebra/scripts/configure')
-rw-r--r--net/zebra/scripts/configure57
1 files changed, 57 insertions, 0 deletions
diff --git a/net/zebra/scripts/configure b/net/zebra/scripts/configure
new file mode 100644
index 000000000000..68629d4f44f0
--- /dev/null
+++ b/net/zebra/scripts/configure
@@ -0,0 +1,57 @@
+#! /bin/sh
+
+# $FreeBSD$
+
+# configure - zebra compile time option configurator
+# by Andreas Klemm <andreas@FreeBSD.org>
+
+if [ "$BATCH" != "yes" -o "$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 \
+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
+ ;;
+ esac
+ shift
+done
+
+fi # if $BATCH