Bug 198485

Summary: net/quagga: 0.99.24 changes break bgp-announce logic
Product: Ports & Packages Reporter: lerik
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Many People CC: freebsd-ports
Priority: --- Flags: bugzilla: maintainer-feedback? (mat)
Version: Latest   
Hardware: Any   
OS: Any   

Description lerik 2015-03-10 09:44:30 UTC
In rev 380374 by mat@, along with update to version 0.99.24, the makefile for Quagga was changed. The following change is the problem:

Line 75 was changed as follows:

-NO_BGP_ANNOUNCE_CONFIGURE_ARGS+=--disable-bgp-announce
+NO_BGP_ANNOUNCE_CONFIGURE_ENABLE=       bgp-announce

This inverts the logic - with "NO_BGP_ANNOUNCE" set in options, the configure option "--enable-bgp-announce" is set. Vice versa, without it, "--disable-bgp-announce" is set in configure, and bgpd does not announce any routes (this then becomes normal behaviour with default options)

This breaks default behaviour, and the binary package build of Quagga now does NOT announce BGP routes at all!
Comment 1 Daniel Austin 2015-03-10 10:13:29 UTC
I can confirm I have seen this behaviour too (but hadn't had chance to debug it)
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-03-10 11:31:12 UTC
A commit references this bug:

Author: mat
Date: Tue Mar 10 11:30:45 UTC 2015
New revision: 380906
URL: https://svnweb.freebsd.org/changeset/ports/380906

Log:
  Make quagga announce BGP routes by default.

  PR:		198485
  Submitted by:	lerik nolink net
  Pointy hat to:	mat
  Sponsored by:	Absolight

Changes:
  head/net/quagga/Makefile
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2015-03-10 11:32:50 UTC
Damn I'm stupid, thanks for noticing this, I was wondering this morning why one of my quagga was not announcing anything via BGP...