1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/net/zebra/scripts/configure

58 lines
1.1 KiB
Plaintext
Raw Normal View History

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
2001-01-11 21:45:05 +00:00
#! /bin/sh
# $FreeBSD$
# configure - zebra compile time option configurator
# by Andreas Klemm <andreas@FreeBSD.org>
if [ "$BATCH" != "yes" -a "$BATCH" != "YES" ]; then
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
2001-01-11 21:45:05 +00:00
#
# 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