ports/143538: Modification to net/quagga to add an option to disable BGP announcement

Ryan Steinmetz rpsfa at rit.edu
Thu Feb 4 03:40:01 UTC 2010


>Number:         143538
>Category:       ports
>Synopsis:       Modification to net/quagga to add an option to disable BGP announcement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 04 03:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        FreeBSD 7.2
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD XXX.rit.edu 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #5: Fri Oct 2 21:03:59 EDT 2009 root at XXX.rit.edu:/usr/obj/usr/src/sys/XXX i386
>Description:
Add a config knob to disable BGP announcements.  This is useful if you plan to use quagga as a route-views server or the like.

PORTVERSION has not been bumped as this is an extremely minor change to the port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/ports/net/quagga/Makefile	2010-02-01 12:45:30.000000000 -0500
+++ /tmp/Makefile	2010-02-03 22:19:25.000000000 -0500
@@ -40,7 +40,8 @@
 		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=
 .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 @@
 	@${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


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list