diff options
author | wxs <wxs@FreeBSD.org> | 2010-02-15 01:16:00 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2010-02-15 01:16:00 +0800 |
commit | 05420d7f6a1d93a038fb92f4b75cde55daf3448c (patch) | |
tree | b7b841d0d1d0bb7c2bb971c4ba132d4c6d60f581 /net | |
parent | e7570b11710be05af5d2ba640f1af6fd0115525c (diff) | |
download | freebsd-ports-gnome-05420d7f6a1d93a038fb92f4b75cde55daf3448c.tar.gz freebsd-ports-gnome-05420d7f6a1d93a038fb92f4b75cde55daf3448c.tar.zst freebsd-ports-gnome-05420d7f6a1d93a038fb92f4b75cde55daf3448c.zip |
- Add option to disable BGP announcements
PR: ports/143538
Submitted by: Ryan Steinmetz <rpsfa@rit.edu>
Approved by: Boris Kovalenko <boris@tagnet.ru> (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/quagga/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile index 8ea7f3b02ce2..9ef50b47d1a2 100644 --- a/net/quagga/Makefile +++ b/net/quagga/Makefile @@ -40,7 +40,8 @@ OPTIONS= ISISD "Enable experimental ISIS daemon" off \ RTADV "IPv6 Router Advertisements" off \ SNMP "SNMP support" off \ TCPSOCKETS "Use TCP/IP sockets for protocol daemons" off \ - DLMALLOC "Use dlmalloc (makes bgpd much faster)" off + DLMALLOC "Use dlmalloc (makes bgpd much faster)" off \ + NO_BGP_ANNOUNCE "Turn off BGP route announcement" off .include <bsd.port.pre.mk> @@ -124,6 +125,10 @@ SUB_LIST= RCLDCONFIG=ldconfig SUB_LIST= RCLDCONFIG= .endif +.if defined(WITH_NO_BGP_ANNOUNCE) +CONFIGURE_ARGS+=--disable-bgp-announce +.endif + USE_RC_SUBR= quagga.sh watchquagga.sh SUB_LIST+= LOCALSTATE_DIR=${LOCALSTATE_DIR} \ @@ -153,6 +158,7 @@ pre-everything:: @${ECHO} " WITH_SNMP SNMP support" @${ECHO} " WITH_TCPSOCKETS Use TCP/IP sockets for protocol daemons" @${ECHO} " WITH_DLMALLOC Use dlmalloc (makes bgpd much faster)" + @${ECHO} " WITH_NO_BGP_ANNOUNCE Turn off BGP route announcement" post-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |