pkgsrc/net/exabgp/Makefile

79 lines
2.7 KiB
Makefile
Raw Normal View History

Upgrade to ExaBGP version 3.4.19. Pkgsrc changes: * Adapt PLIST * Adapt Makefile to new python scripts Upstream changes: 3.4.19 ExaBGP 'LINX 97/43' release ====== * Add: IPv6 nlri-mpls to list of enabled protocol (was missing) requested by: adrian62 * Fix: encoding of Flow Label requiring more than 2 bytes reported by: BLAKEMMM * Fix: decoding of capability (was potentially over reading) * Fix: trace when trying to access PID file and this is not allowed reported by: George Shuklin * Fix: Remove a peer's RIB cache when it is deleted from the config file patch by: Brian Johnson * Fix: do not crash the reactor when an invalid IP is passed via the API reported by: Yevgeniy Ovsyannikov * Fix: bad defintion of Flow for ICMPType, ICMPCode and Fragment reported by: Christoph Loibl * Feature: allow add-path for mpls-vpn reported by: adrian62 * Change: Backported setup.py from master * Feature: added SRPMS for exabgp patch by: Leonardo Amaral 3.4.18 ExaBGP 'No BETT' release ====== * Backport: backhole community (RFC 7999) original patch by: Job Snijders * Fix: Configuration parser does not accept configs without neighbors. patch by doddt * Fix: 'connect' keyword is now also allowed in neighbor scope patch by: Stacey Sheldon (Corsa) * Fix: removing protocol auto-cleanup (it should never be called and seems to cause a CG issue) reported by: Colin Petrie * Change: default to a 0 offset for ipv6 flowspec source/destination match patch by: Brian Johnson * Fix: Better PID file handling reported by: Ben Agricola * Fix: Update RIB cache families on configuration reload patch by: Brian Johnson * Fix: Backport fix on SIGUSR2 (restarting process not needing to be) patch by: Shawn Zhou * Change: group-updates now generates one UPDATE per address family (and not one per NLRI for non IPv4) patch by: Brian Johnson 3.4.17 ExaBGP 'No EPF' release ====== * Fix: does not accept IPv6 as router-id reported by: yuriya * Fix: JSON output for flow routes with rd reported by droon5 * Fix: Fix Path-Information * Fix: Bad encoding of capability when multiple families are used for add-path reported: by Alexander Bespalov * Fix: support non ASN4 use of AS_TRANS (AS23456) reported by: Todd Crane * Fix: do not exit when we can not accept incoming connection reported by: Pavel Batkov * Fix: quote where not escaped in JSON reason field reported by: Rob Barnes * Fix: decoding of IPv6 flow routes reported by: stoffi92 * Fix: decoding of Graceful Restart Capability patch by: florinz * Fix: ASN4 encoding patch by: Shu Sugimoto and Eiichiro Watanabe * Change: Run without even peers configured patch by: Jordan Gedney * Fix: JSON encoding of updates without NLRIs patch by: Dhammika Pathirana * Fix: Possible race conditions in api handling patch by: Brian Johnson * Feature: Add 'show neighbor status' api patch by: Brian Johnson * Fix: flush route api patch by: Brian Johnson * Fix: Allow asn4 peer to speak with asn2 only peer patch by: Brian Johnson * Fix: only one MP NLRI is allow per UPDATE reported by: subsecond * Change: configuration output does not includes ':' anymore patch by: doddt * Change: syslog format changed to be in line with other application patch by: Brian Johnson 3.4.16 ExaBGP 'Free YouTube' release ====== A bug fix only release * Feature: allow users to decide if processes must be run before or after we drop privileges requested by: Ben Agricola * Fix: correctly look in /etc/exabgp for programs to run when the path is relative reported by: Vincent Bernat * Fix: missing handler for NOTIFICATION patch by: minglvyy 3.4.15 ExaBGP 'skip' release ====== Do not look for 3.4.14 - it was never released. An issue with pypi forced us to skip this version. * Fix: the ttl-security parameter didn't really work. Fixed for outgoing connections now. patch by: Borja Marcos * Fix: configuration leak between processes for neighbor-changes and send-packets. reported by: spakka * Feature: add per neighbor connection port. requested by: dbarrosop * Fix: ASN4 boundary off by one * Fix: Bad peer IP when using show routes. patch by (backported): Wayne Tucker * Fix: Missing next-hop in the text api. reported by: Lisa Roach * Fix: broken route-refresh command. reported by: Bryan Schwerer * Fix: wrongly announcing connection issue with peer on the API. reported by: Bryan Schwerer 3.4.13 ExaBGP 'Madrid' release ====== * Fix: add semicolon in syslog entry so it can be parsed by tools * Fix: duplication of message following helper process death reported by: spakka * Fix: death of helper program would lead to BGP session drop reported by: spakka * Fix: mistakenly made a function private breaking some ASN4 code path reported by: Victor Sudakov * Feature: manual eor patch by: Charles Ng 3.4.12 ExaBGP 'John Glenn' release ====== * Fix: issue with unknown capabilities reported by: Sandy Breeze * Fix: notification messages were not passed to the API reported by: Florian Obser * Fix: transitivity on extended community patch by: Thomas Morin * Fix: bad reporting of VPLS information in JSON * Fix: wrong SAFI on MPLS routes reported by: Hideaki HAYASHI * Fix: bad route comparaison reported by: Alvaro Pereira * Fix: decoding of Update * Fix: Flow redirect to nexhop encoding reported by: Mickael Marchand (Thank you to Peng Xiao and Nicolas Fevrier for their help) * Fix/Improve: JSON for flow spec * Fix/Improve: redirect-to-nexthop reported by: Mickael Marchand
2017-06-20 16:10:16 +02:00
# $NetBSD: Makefile,v 1.20 2017/06/20 14:10:16 he Exp $
Upgrade to ExaBGP version 3.4.19. Pkgsrc changes: * Adapt PLIST * Adapt Makefile to new python scripts Upstream changes: 3.4.19 ExaBGP 'LINX 97/43' release ====== * Add: IPv6 nlri-mpls to list of enabled protocol (was missing) requested by: adrian62 * Fix: encoding of Flow Label requiring more than 2 bytes reported by: BLAKEMMM * Fix: decoding of capability (was potentially over reading) * Fix: trace when trying to access PID file and this is not allowed reported by: George Shuklin * Fix: Remove a peer's RIB cache when it is deleted from the config file patch by: Brian Johnson * Fix: do not crash the reactor when an invalid IP is passed via the API reported by: Yevgeniy Ovsyannikov * Fix: bad defintion of Flow for ICMPType, ICMPCode and Fragment reported by: Christoph Loibl * Feature: allow add-path for mpls-vpn reported by: adrian62 * Change: Backported setup.py from master * Feature: added SRPMS for exabgp patch by: Leonardo Amaral 3.4.18 ExaBGP 'No BETT' release ====== * Backport: backhole community (RFC 7999) original patch by: Job Snijders * Fix: Configuration parser does not accept configs without neighbors. patch by doddt * Fix: 'connect' keyword is now also allowed in neighbor scope patch by: Stacey Sheldon (Corsa) * Fix: removing protocol auto-cleanup (it should never be called and seems to cause a CG issue) reported by: Colin Petrie * Change: default to a 0 offset for ipv6 flowspec source/destination match patch by: Brian Johnson * Fix: Better PID file handling reported by: Ben Agricola * Fix: Update RIB cache families on configuration reload patch by: Brian Johnson * Fix: Backport fix on SIGUSR2 (restarting process not needing to be) patch by: Shawn Zhou * Change: group-updates now generates one UPDATE per address family (and not one per NLRI for non IPv4) patch by: Brian Johnson 3.4.17 ExaBGP 'No EPF' release ====== * Fix: does not accept IPv6 as router-id reported by: yuriya * Fix: JSON output for flow routes with rd reported by droon5 * Fix: Fix Path-Information * Fix: Bad encoding of capability when multiple families are used for add-path reported: by Alexander Bespalov * Fix: support non ASN4 use of AS_TRANS (AS23456) reported by: Todd Crane * Fix: do not exit when we can not accept incoming connection reported by: Pavel Batkov * Fix: quote where not escaped in JSON reason field reported by: Rob Barnes * Fix: decoding of IPv6 flow routes reported by: stoffi92 * Fix: decoding of Graceful Restart Capability patch by: florinz * Fix: ASN4 encoding patch by: Shu Sugimoto and Eiichiro Watanabe * Change: Run without even peers configured patch by: Jordan Gedney * Fix: JSON encoding of updates without NLRIs patch by: Dhammika Pathirana * Fix: Possible race conditions in api handling patch by: Brian Johnson * Feature: Add 'show neighbor status' api patch by: Brian Johnson * Fix: flush route api patch by: Brian Johnson * Fix: Allow asn4 peer to speak with asn2 only peer patch by: Brian Johnson * Fix: only one MP NLRI is allow per UPDATE reported by: subsecond * Change: configuration output does not includes ':' anymore patch by: doddt * Change: syslog format changed to be in line with other application patch by: Brian Johnson 3.4.16 ExaBGP 'Free YouTube' release ====== A bug fix only release * Feature: allow users to decide if processes must be run before or after we drop privileges requested by: Ben Agricola * Fix: correctly look in /etc/exabgp for programs to run when the path is relative reported by: Vincent Bernat * Fix: missing handler for NOTIFICATION patch by: minglvyy 3.4.15 ExaBGP 'skip' release ====== Do not look for 3.4.14 - it was never released. An issue with pypi forced us to skip this version. * Fix: the ttl-security parameter didn't really work. Fixed for outgoing connections now. patch by: Borja Marcos * Fix: configuration leak between processes for neighbor-changes and send-packets. reported by: spakka * Feature: add per neighbor connection port. requested by: dbarrosop * Fix: ASN4 boundary off by one * Fix: Bad peer IP when using show routes. patch by (backported): Wayne Tucker * Fix: Missing next-hop in the text api. reported by: Lisa Roach * Fix: broken route-refresh command. reported by: Bryan Schwerer * Fix: wrongly announcing connection issue with peer on the API. reported by: Bryan Schwerer 3.4.13 ExaBGP 'Madrid' release ====== * Fix: add semicolon in syslog entry so it can be parsed by tools * Fix: duplication of message following helper process death reported by: spakka * Fix: death of helper program would lead to BGP session drop reported by: spakka * Fix: mistakenly made a function private breaking some ASN4 code path reported by: Victor Sudakov * Feature: manual eor patch by: Charles Ng 3.4.12 ExaBGP 'John Glenn' release ====== * Fix: issue with unknown capabilities reported by: Sandy Breeze * Fix: notification messages were not passed to the API reported by: Florian Obser * Fix: transitivity on extended community patch by: Thomas Morin * Fix: bad reporting of VPLS information in JSON * Fix: wrong SAFI on MPLS routes reported by: Hideaki HAYASHI * Fix: bad route comparaison reported by: Alvaro Pereira * Fix: decoding of Update * Fix: Flow redirect to nexhop encoding reported by: Mickael Marchand (Thank you to Peng Xiao and Nicolas Fevrier for their help) * Fix/Improve: JSON for flow spec * Fix/Improve: redirect-to-nexthop reported by: Mickael Marchand
2017-06-20 16:10:16 +02:00
VERSION= 3.4.19
Update exabgp to version 3.4.7. Most of our patches (mostly == for test in Bourne Shell) have been integrated upstream. Retain a more minimal fix to the healthcheck script. Add dependency on python setuptools. The helper scripts of exabgp are now in share/exabgp/, to make pkglint happy. Upstream changes: Version 3.4.7 * Package: be more pythonic and use enty points with pip installation * Package: automatically update debian's changelog on release * Fix: issue with aggregator generation reported by: Yan Filyurin Version 3.4.6 * Fix: a badly formated flow route would throw the parser in limbo reported by: NickGudov (issue #203) * Fix: allow multiple extended attribute (like flow rediction with a origin/target) * Fix: use ICMP Type and Code when printing flows (respectively using name and number) * Fix: do not use space printing redirect extended community * Fix: not parsing correctly multisession configurations * Fix: bug in ASPath parsing reported by: Terry Hardie (issue #205) * Feature: use ETC environment variable for configuration location if set * Feature: JSON now includes ASN (local,peer) and IP (local,IP) requested by: jtkdpu (issue #196) patch by: Ryan Tinianov (pull #199) for the IP * Feature: API support for sending eor requested by: spakka (issue #109) * Feature: allow routes to have a name (which can be used as comment) requested by: lazy404 (issue #167) * Feature: improve release code to prevent version mismatch (issue #202) reported by: Anand Buddhdev * Fix: systemd file is not installed anymore by default (issue #202) to add to the file installation list use "python setup.py install systemd" requested by: Anand Buddhdev * QA: moved all testing code (used by travis-ci) in the ./qa folder * QA: added nosetest, updating some of the old unittest code * QA: integrated travis-ci with coveralls.io to have real time code coverage * QA: ExaBGP can take more than one configuration file and on configuration reload rotate between them * QA: checking that broken flows do not break the parser * QA: checking that configuration routes are well added and removed on SIGUSR1 * QA: checking that incoming notifications are handled correctly * QA: moved many sample configuration file from etc/exabgp to the new qa/conf Version 3.4.5 * Fix: improper distribution of events to process workers reported by: Tim Epkes Version 3.4.4 * Fix: bug with IPv4 / ipv6 handling * Fix: better peer isolation when parsing messages * Fix: IPv6 decoding when the routes includes link-local * Fix: missing text API paramter * Fix: no JSON for Aggregator * Fix: show route extensive patch by: Michal Grzedzicki, thank you * Fix: 4-Octet AS Specific BGP Extended Community (RFC 5668) patch by: Michal Grzedzicki * Fix: bug with label encoding patch by: Jesse Mather * Improvement: add support for add-path with family MPLS requested by: Tim Epkes * Fix: bug when process writes multiple lines reported by: Ilya Voronin * Feature: accept packet with confedation (RFC 3065) requested by: oriordan (with a patch, thank you) * Fix: do not bark if an unknown ASPath attribute is found * Fix: correctly accept connection on AF_INET6 socket patch by: John W. O'Brien * Fix: restore lost python2.6 compatibility reported by: Minsuk Song * Fix: IPv6 MD5 reported by: Dave J Knight * Add framework to debug SIGUSR1 related problems * Fix: do not drop session when receiving an unknown capability patch by: Peter van Dijk (PowerDNS) Version 3.4.3 * Fix: JSON message increment reported by: Daniel Neiter, with a patch, thank you. * Fix: JSON message format for operational reported by: Rob Barnes, with a patch, thank you. * Fix: JSON message for route-refresh * Fix: EOR unpack issue * Fix: ASPath encoding * Fix: possible bad notify call * Fix: Aggregator configuration issue * Fix: pycharm reported issues * operational, using afi instead of safi * bad function paramters * missing return keyword * many cleanups * Change: use RFC MULTISESSION capability and not CISCO variant anymore Version 3.4.2 * Feature: add more information in crash report * Fix: problem when trying to report exception errors * Fix: better handling of on PIPE errors reported by: Thomas Raabo * Fix: could not split MPLS routes reported by: Hideaki HAYASHI * Fix: not correctly handling NOTIFICATION message reported by: Hideaki HAYASHI * Fix: do not block on a peer should a socket become blocking reported by: Wouter Miltenburg * Fix: API JSON message id incrementation reported by: Wouter Miltenburg Version 3.4.1 * Fix: on bad JSON message patch from: Wouter Miltenburg * Fix: parsing of default route reported by: Wouter Miltenburg * Fix: remove legacy exabgp.tcp.timeout * Fix: forgot some processes options when printing neighbor * Fix: bad function call for API * Fix: correct JSON for OPEN * Fix: issues with bad naming of APIOption patch from: Wouter Miltenburg * Fix: do not try to be clever (and possibly get it wrong) and rely on keepalive timer to detect TCP faults * Fix: formating issue of extended community * Fix: issue with EOR * Fix: caching issue reported by: Wouter Miltenburg * Fix: make sure we do not call select with a negative time reported by: Wouter Miltenburg, Daniel Piekacz patch from: Wouter Miltenburg * Fix: handle AS4_PATH with PARTIAL bit set reported by: Daniel Piekacz * Fix: bug with generic attribute generation * Fix: bad Notification patch from: Wouter Miltenburg * Fix: bad Keepalive JSON message patch from: Wouter Miltenburg Version 3.4.0 * Feature: add support for extended-attribute for FlowSpec * Feature: more detailed JSON objects patch from: Wouter Miltenburg * Feature: support for L2VPN (experimental) patch from: Nikita V. Shirokov * Improvement: better handling of NOTIFICATION received during OPEN negotiation * Improvement: ExaBGP can restart failed helper process * Fix: Do not reconnect too fast when connection fails reported by: Robert Barnes * Fix: Invalid JSON object for route-refresh reported by: Robert Barnes * Fix: We were not reporting the NLRI of the route received when exabgp.log.routes was set * Fix: accept exabgp_tcp_port as configuration option and not only exabgp.tcp.port * Fix: duplicate line output * Fix: bad refactorisation which caused an bad ASN4 bug * Fix: change EOR from IPv4 multicast (mistake) to IPv4 unicast reported by: Mark Treacy * Fix: bad encoding of flow fragment encoding reported by: Andrei-Marius Radu * Fix: bad reporting of process open sending reported by: Mark Treacy (with patch, thank you) * Fix: Incorporating NETBSD compatibility patches * Fix: Generation of Generic Attributes * Fix: Faster reactor (should be able to process much more API/BGP messages) * Change: new commands for the configuration of the API * Change: JSON objects now include a unique neighbor identifier * Change: JSON objects now include a counter for unique message id * Change: JSON objects now include a "type" to now how to best parse them * Change: JSON new EOR object * Change: JSON new Flow format * Change: slight variation with the command line option names, now using docopt patch from: Michael Robert Watson * Change: the profile information is now exported in kcachegrind format * Compatibility: JSON re-introduced the family under the "announce" section (removed by mistake) * Compatibility: restoring integer as default time, high resolution must be enabled to not break older installations * Change: JSON and Text shutdown object now shows the PID and PPID
2015-02-19 13:23:52 +01:00
DISTNAME= ${VERSION}
PKGNAME= exabgp-${VERSION}
EGG_NAME= exabgp-${VERSION}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=Exa-Networks/exabgp/archive/}
Update exabgp to version 3.4.7. Most of our patches (mostly == for test in Bourne Shell) have been integrated upstream. Retain a more minimal fix to the healthcheck script. Add dependency on python setuptools. The helper scripts of exabgp are now in share/exabgp/, to make pkglint happy. Upstream changes: Version 3.4.7 * Package: be more pythonic and use enty points with pip installation * Package: automatically update debian's changelog on release * Fix: issue with aggregator generation reported by: Yan Filyurin Version 3.4.6 * Fix: a badly formated flow route would throw the parser in limbo reported by: NickGudov (issue #203) * Fix: allow multiple extended attribute (like flow rediction with a origin/target) * Fix: use ICMP Type and Code when printing flows (respectively using name and number) * Fix: do not use space printing redirect extended community * Fix: not parsing correctly multisession configurations * Fix: bug in ASPath parsing reported by: Terry Hardie (issue #205) * Feature: use ETC environment variable for configuration location if set * Feature: JSON now includes ASN (local,peer) and IP (local,IP) requested by: jtkdpu (issue #196) patch by: Ryan Tinianov (pull #199) for the IP * Feature: API support for sending eor requested by: spakka (issue #109) * Feature: allow routes to have a name (which can be used as comment) requested by: lazy404 (issue #167) * Feature: improve release code to prevent version mismatch (issue #202) reported by: Anand Buddhdev * Fix: systemd file is not installed anymore by default (issue #202) to add to the file installation list use "python setup.py install systemd" requested by: Anand Buddhdev * QA: moved all testing code (used by travis-ci) in the ./qa folder * QA: added nosetest, updating some of the old unittest code * QA: integrated travis-ci with coveralls.io to have real time code coverage * QA: ExaBGP can take more than one configuration file and on configuration reload rotate between them * QA: checking that broken flows do not break the parser * QA: checking that configuration routes are well added and removed on SIGUSR1 * QA: checking that incoming notifications are handled correctly * QA: moved many sample configuration file from etc/exabgp to the new qa/conf Version 3.4.5 * Fix: improper distribution of events to process workers reported by: Tim Epkes Version 3.4.4 * Fix: bug with IPv4 / ipv6 handling * Fix: better peer isolation when parsing messages * Fix: IPv6 decoding when the routes includes link-local * Fix: missing text API paramter * Fix: no JSON for Aggregator * Fix: show route extensive patch by: Michal Grzedzicki, thank you * Fix: 4-Octet AS Specific BGP Extended Community (RFC 5668) patch by: Michal Grzedzicki * Fix: bug with label encoding patch by: Jesse Mather * Improvement: add support for add-path with family MPLS requested by: Tim Epkes * Fix: bug when process writes multiple lines reported by: Ilya Voronin * Feature: accept packet with confedation (RFC 3065) requested by: oriordan (with a patch, thank you) * Fix: do not bark if an unknown ASPath attribute is found * Fix: correctly accept connection on AF_INET6 socket patch by: John W. O'Brien * Fix: restore lost python2.6 compatibility reported by: Minsuk Song * Fix: IPv6 MD5 reported by: Dave J Knight * Add framework to debug SIGUSR1 related problems * Fix: do not drop session when receiving an unknown capability patch by: Peter van Dijk (PowerDNS) Version 3.4.3 * Fix: JSON message increment reported by: Daniel Neiter, with a patch, thank you. * Fix: JSON message format for operational reported by: Rob Barnes, with a patch, thank you. * Fix: JSON message for route-refresh * Fix: EOR unpack issue * Fix: ASPath encoding * Fix: possible bad notify call * Fix: Aggregator configuration issue * Fix: pycharm reported issues * operational, using afi instead of safi * bad function paramters * missing return keyword * many cleanups * Change: use RFC MULTISESSION capability and not CISCO variant anymore Version 3.4.2 * Feature: add more information in crash report * Fix: problem when trying to report exception errors * Fix: better handling of on PIPE errors reported by: Thomas Raabo * Fix: could not split MPLS routes reported by: Hideaki HAYASHI * Fix: not correctly handling NOTIFICATION message reported by: Hideaki HAYASHI * Fix: do not block on a peer should a socket become blocking reported by: Wouter Miltenburg * Fix: API JSON message id incrementation reported by: Wouter Miltenburg Version 3.4.1 * Fix: on bad JSON message patch from: Wouter Miltenburg * Fix: parsing of default route reported by: Wouter Miltenburg * Fix: remove legacy exabgp.tcp.timeout * Fix: forgot some processes options when printing neighbor * Fix: bad function call for API * Fix: correct JSON for OPEN * Fix: issues with bad naming of APIOption patch from: Wouter Miltenburg * Fix: do not try to be clever (and possibly get it wrong) and rely on keepalive timer to detect TCP faults * Fix: formating issue of extended community * Fix: issue with EOR * Fix: caching issue reported by: Wouter Miltenburg * Fix: make sure we do not call select with a negative time reported by: Wouter Miltenburg, Daniel Piekacz patch from: Wouter Miltenburg * Fix: handle AS4_PATH with PARTIAL bit set reported by: Daniel Piekacz * Fix: bug with generic attribute generation * Fix: bad Notification patch from: Wouter Miltenburg * Fix: bad Keepalive JSON message patch from: Wouter Miltenburg Version 3.4.0 * Feature: add support for extended-attribute for FlowSpec * Feature: more detailed JSON objects patch from: Wouter Miltenburg * Feature: support for L2VPN (experimental) patch from: Nikita V. Shirokov * Improvement: better handling of NOTIFICATION received during OPEN negotiation * Improvement: ExaBGP can restart failed helper process * Fix: Do not reconnect too fast when connection fails reported by: Robert Barnes * Fix: Invalid JSON object for route-refresh reported by: Robert Barnes * Fix: We were not reporting the NLRI of the route received when exabgp.log.routes was set * Fix: accept exabgp_tcp_port as configuration option and not only exabgp.tcp.port * Fix: duplicate line output * Fix: bad refactorisation which caused an bad ASN4 bug * Fix: change EOR from IPv4 multicast (mistake) to IPv4 unicast reported by: Mark Treacy * Fix: bad encoding of flow fragment encoding reported by: Andrei-Marius Radu * Fix: bad reporting of process open sending reported by: Mark Treacy (with patch, thank you) * Fix: Incorporating NETBSD compatibility patches * Fix: Generation of Generic Attributes * Fix: Faster reactor (should be able to process much more API/BGP messages) * Change: new commands for the configuration of the API * Change: JSON objects now include a unique neighbor identifier * Change: JSON objects now include a counter for unique message id * Change: JSON objects now include a "type" to now how to best parse them * Change: JSON new EOR object * Change: JSON new Flow format * Change: slight variation with the command line option names, now using docopt patch from: Michael Robert Watson * Change: the profile information is now exported in kcachegrind format * Compatibility: JSON re-introduced the family under the "announce" section (removed by mistake) * Compatibility: restoring integer as default time, high resolution must be enabled to not break older installations * Change: JSON and Text shutdown object now shows the PID and PPID
2015-02-19 13:23:52 +01:00
DIST_SUBDIR= exabgp
Upgrade to ExaBGP version 3.4.19. Pkgsrc changes: * Adapt PLIST * Adapt Makefile to new python scripts Upstream changes: 3.4.19 ExaBGP 'LINX 97/43' release ====== * Add: IPv6 nlri-mpls to list of enabled protocol (was missing) requested by: adrian62 * Fix: encoding of Flow Label requiring more than 2 bytes reported by: BLAKEMMM * Fix: decoding of capability (was potentially over reading) * Fix: trace when trying to access PID file and this is not allowed reported by: George Shuklin * Fix: Remove a peer's RIB cache when it is deleted from the config file patch by: Brian Johnson * Fix: do not crash the reactor when an invalid IP is passed via the API reported by: Yevgeniy Ovsyannikov * Fix: bad defintion of Flow for ICMPType, ICMPCode and Fragment reported by: Christoph Loibl * Feature: allow add-path for mpls-vpn reported by: adrian62 * Change: Backported setup.py from master * Feature: added SRPMS for exabgp patch by: Leonardo Amaral 3.4.18 ExaBGP 'No BETT' release ====== * Backport: backhole community (RFC 7999) original patch by: Job Snijders * Fix: Configuration parser does not accept configs without neighbors. patch by doddt * Fix: 'connect' keyword is now also allowed in neighbor scope patch by: Stacey Sheldon (Corsa) * Fix: removing protocol auto-cleanup (it should never be called and seems to cause a CG issue) reported by: Colin Petrie * Change: default to a 0 offset for ipv6 flowspec source/destination match patch by: Brian Johnson * Fix: Better PID file handling reported by: Ben Agricola * Fix: Update RIB cache families on configuration reload patch by: Brian Johnson * Fix: Backport fix on SIGUSR2 (restarting process not needing to be) patch by: Shawn Zhou * Change: group-updates now generates one UPDATE per address family (and not one per NLRI for non IPv4) patch by: Brian Johnson 3.4.17 ExaBGP 'No EPF' release ====== * Fix: does not accept IPv6 as router-id reported by: yuriya * Fix: JSON output for flow routes with rd reported by droon5 * Fix: Fix Path-Information * Fix: Bad encoding of capability when multiple families are used for add-path reported: by Alexander Bespalov * Fix: support non ASN4 use of AS_TRANS (AS23456) reported by: Todd Crane * Fix: do not exit when we can not accept incoming connection reported by: Pavel Batkov * Fix: quote where not escaped in JSON reason field reported by: Rob Barnes * Fix: decoding of IPv6 flow routes reported by: stoffi92 * Fix: decoding of Graceful Restart Capability patch by: florinz * Fix: ASN4 encoding patch by: Shu Sugimoto and Eiichiro Watanabe * Change: Run without even peers configured patch by: Jordan Gedney * Fix: JSON encoding of updates without NLRIs patch by: Dhammika Pathirana * Fix: Possible race conditions in api handling patch by: Brian Johnson * Feature: Add 'show neighbor status' api patch by: Brian Johnson * Fix: flush route api patch by: Brian Johnson * Fix: Allow asn4 peer to speak with asn2 only peer patch by: Brian Johnson * Fix: only one MP NLRI is allow per UPDATE reported by: subsecond * Change: configuration output does not includes ':' anymore patch by: doddt * Change: syslog format changed to be in line with other application patch by: Brian Johnson 3.4.16 ExaBGP 'Free YouTube' release ====== A bug fix only release * Feature: allow users to decide if processes must be run before or after we drop privileges requested by: Ben Agricola * Fix: correctly look in /etc/exabgp for programs to run when the path is relative reported by: Vincent Bernat * Fix: missing handler for NOTIFICATION patch by: minglvyy 3.4.15 ExaBGP 'skip' release ====== Do not look for 3.4.14 - it was never released. An issue with pypi forced us to skip this version. * Fix: the ttl-security parameter didn't really work. Fixed for outgoing connections now. patch by: Borja Marcos * Fix: configuration leak between processes for neighbor-changes and send-packets. reported by: spakka * Feature: add per neighbor connection port. requested by: dbarrosop * Fix: ASN4 boundary off by one * Fix: Bad peer IP when using show routes. patch by (backported): Wayne Tucker * Fix: Missing next-hop in the text api. reported by: Lisa Roach * Fix: broken route-refresh command. reported by: Bryan Schwerer * Fix: wrongly announcing connection issue with peer on the API. reported by: Bryan Schwerer 3.4.13 ExaBGP 'Madrid' release ====== * Fix: add semicolon in syslog entry so it can be parsed by tools * Fix: duplication of message following helper process death reported by: spakka * Fix: death of helper program would lead to BGP session drop reported by: spakka * Fix: mistakenly made a function private breaking some ASN4 code path reported by: Victor Sudakov * Feature: manual eor patch by: Charles Ng 3.4.12 ExaBGP 'John Glenn' release ====== * Fix: issue with unknown capabilities reported by: Sandy Breeze * Fix: notification messages were not passed to the API reported by: Florian Obser * Fix: transitivity on extended community patch by: Thomas Morin * Fix: bad reporting of VPLS information in JSON * Fix: wrong SAFI on MPLS routes reported by: Hideaki HAYASHI * Fix: bad route comparaison reported by: Alvaro Pereira * Fix: decoding of Update * Fix: Flow redirect to nexhop encoding reported by: Mickael Marchand (Thank you to Peng Xiao and Nicolas Fevrier for their help) * Fix/Improve: JSON for flow spec * Fix/Improve: redirect-to-nexthop reported by: Mickael Marchand
2017-06-20 16:10:16 +02:00
MAINTAINER= he@NetBSD.org
HOMEPAGE= https://github.com/Exa-Networks/exabgp/
COMMENT= ExaBGP is a userspace BGP daemon written in python
LICENSE= modified-bsd
Update exabgp to version 3.4.7. Most of our patches (mostly == for test in Bourne Shell) have been integrated upstream. Retain a more minimal fix to the healthcheck script. Add dependency on python setuptools. The helper scripts of exabgp are now in share/exabgp/, to make pkglint happy. Upstream changes: Version 3.4.7 * Package: be more pythonic and use enty points with pip installation * Package: automatically update debian's changelog on release * Fix: issue with aggregator generation reported by: Yan Filyurin Version 3.4.6 * Fix: a badly formated flow route would throw the parser in limbo reported by: NickGudov (issue #203) * Fix: allow multiple extended attribute (like flow rediction with a origin/target) * Fix: use ICMP Type and Code when printing flows (respectively using name and number) * Fix: do not use space printing redirect extended community * Fix: not parsing correctly multisession configurations * Fix: bug in ASPath parsing reported by: Terry Hardie (issue #205) * Feature: use ETC environment variable for configuration location if set * Feature: JSON now includes ASN (local,peer) and IP (local,IP) requested by: jtkdpu (issue #196) patch by: Ryan Tinianov (pull #199) for the IP * Feature: API support for sending eor requested by: spakka (issue #109) * Feature: allow routes to have a name (which can be used as comment) requested by: lazy404 (issue #167) * Feature: improve release code to prevent version mismatch (issue #202) reported by: Anand Buddhdev * Fix: systemd file is not installed anymore by default (issue #202) to add to the file installation list use "python setup.py install systemd" requested by: Anand Buddhdev * QA: moved all testing code (used by travis-ci) in the ./qa folder * QA: added nosetest, updating some of the old unittest code * QA: integrated travis-ci with coveralls.io to have real time code coverage * QA: ExaBGP can take more than one configuration file and on configuration reload rotate between them * QA: checking that broken flows do not break the parser * QA: checking that configuration routes are well added and removed on SIGUSR1 * QA: checking that incoming notifications are handled correctly * QA: moved many sample configuration file from etc/exabgp to the new qa/conf Version 3.4.5 * Fix: improper distribution of events to process workers reported by: Tim Epkes Version 3.4.4 * Fix: bug with IPv4 / ipv6 handling * Fix: better peer isolation when parsing messages * Fix: IPv6 decoding when the routes includes link-local * Fix: missing text API paramter * Fix: no JSON for Aggregator * Fix: show route extensive patch by: Michal Grzedzicki, thank you * Fix: 4-Octet AS Specific BGP Extended Community (RFC 5668) patch by: Michal Grzedzicki * Fix: bug with label encoding patch by: Jesse Mather * Improvement: add support for add-path with family MPLS requested by: Tim Epkes * Fix: bug when process writes multiple lines reported by: Ilya Voronin * Feature: accept packet with confedation (RFC 3065) requested by: oriordan (with a patch, thank you) * Fix: do not bark if an unknown ASPath attribute is found * Fix: correctly accept connection on AF_INET6 socket patch by: John W. O'Brien * Fix: restore lost python2.6 compatibility reported by: Minsuk Song * Fix: IPv6 MD5 reported by: Dave J Knight * Add framework to debug SIGUSR1 related problems * Fix: do not drop session when receiving an unknown capability patch by: Peter van Dijk (PowerDNS) Version 3.4.3 * Fix: JSON message increment reported by: Daniel Neiter, with a patch, thank you. * Fix: JSON message format for operational reported by: Rob Barnes, with a patch, thank you. * Fix: JSON message for route-refresh * Fix: EOR unpack issue * Fix: ASPath encoding * Fix: possible bad notify call * Fix: Aggregator configuration issue * Fix: pycharm reported issues * operational, using afi instead of safi * bad function paramters * missing return keyword * many cleanups * Change: use RFC MULTISESSION capability and not CISCO variant anymore Version 3.4.2 * Feature: add more information in crash report * Fix: problem when trying to report exception errors * Fix: better handling of on PIPE errors reported by: Thomas Raabo * Fix: could not split MPLS routes reported by: Hideaki HAYASHI * Fix: not correctly handling NOTIFICATION message reported by: Hideaki HAYASHI * Fix: do not block on a peer should a socket become blocking reported by: Wouter Miltenburg * Fix: API JSON message id incrementation reported by: Wouter Miltenburg Version 3.4.1 * Fix: on bad JSON message patch from: Wouter Miltenburg * Fix: parsing of default route reported by: Wouter Miltenburg * Fix: remove legacy exabgp.tcp.timeout * Fix: forgot some processes options when printing neighbor * Fix: bad function call for API * Fix: correct JSON for OPEN * Fix: issues with bad naming of APIOption patch from: Wouter Miltenburg * Fix: do not try to be clever (and possibly get it wrong) and rely on keepalive timer to detect TCP faults * Fix: formating issue of extended community * Fix: issue with EOR * Fix: caching issue reported by: Wouter Miltenburg * Fix: make sure we do not call select with a negative time reported by: Wouter Miltenburg, Daniel Piekacz patch from: Wouter Miltenburg * Fix: handle AS4_PATH with PARTIAL bit set reported by: Daniel Piekacz * Fix: bug with generic attribute generation * Fix: bad Notification patch from: Wouter Miltenburg * Fix: bad Keepalive JSON message patch from: Wouter Miltenburg Version 3.4.0 * Feature: add support for extended-attribute for FlowSpec * Feature: more detailed JSON objects patch from: Wouter Miltenburg * Feature: support for L2VPN (experimental) patch from: Nikita V. Shirokov * Improvement: better handling of NOTIFICATION received during OPEN negotiation * Improvement: ExaBGP can restart failed helper process * Fix: Do not reconnect too fast when connection fails reported by: Robert Barnes * Fix: Invalid JSON object for route-refresh reported by: Robert Barnes * Fix: We were not reporting the NLRI of the route received when exabgp.log.routes was set * Fix: accept exabgp_tcp_port as configuration option and not only exabgp.tcp.port * Fix: duplicate line output * Fix: bad refactorisation which caused an bad ASN4 bug * Fix: change EOR from IPv4 multicast (mistake) to IPv4 unicast reported by: Mark Treacy * Fix: bad encoding of flow fragment encoding reported by: Andrei-Marius Radu * Fix: bad reporting of process open sending reported by: Mark Treacy (with patch, thank you) * Fix: Incorporating NETBSD compatibility patches * Fix: Generation of Generic Attributes * Fix: Faster reactor (should be able to process much more API/BGP messages) * Change: new commands for the configuration of the API * Change: JSON objects now include a unique neighbor identifier * Change: JSON objects now include a counter for unique message id * Change: JSON objects now include a "type" to now how to best parse them * Change: JSON new EOR object * Change: JSON new Flow format * Change: slight variation with the command line option names, now using docopt patch from: Michael Robert Watson * Change: the profile information is now exported in kcachegrind format * Compatibility: JSON re-introduced the family under the "announce" section (removed by mistake) * Compatibility: restoring integer as default time, high resolution must be enabled to not break older installations * Change: JSON and Text shutdown object now shows the PID and PPID
2015-02-19 13:23:52 +01:00
WRKSRC= ${WRKDIR}/exabgp-${VERSION}
USE_TOOLS+= perl:run
DEPENDS+= ${PYPKGPREFIX}-ipaddr>=0:../../devel/py-ipaddr
Update exabgp to version 3.4.7. Most of our patches (mostly == for test in Bourne Shell) have been integrated upstream. Retain a more minimal fix to the healthcheck script. Add dependency on python setuptools. The helper scripts of exabgp are now in share/exabgp/, to make pkglint happy. Upstream changes: Version 3.4.7 * Package: be more pythonic and use enty points with pip installation * Package: automatically update debian's changelog on release * Fix: issue with aggregator generation reported by: Yan Filyurin Version 3.4.6 * Fix: a badly formated flow route would throw the parser in limbo reported by: NickGudov (issue #203) * Fix: allow multiple extended attribute (like flow rediction with a origin/target) * Fix: use ICMP Type and Code when printing flows (respectively using name and number) * Fix: do not use space printing redirect extended community * Fix: not parsing correctly multisession configurations * Fix: bug in ASPath parsing reported by: Terry Hardie (issue #205) * Feature: use ETC environment variable for configuration location if set * Feature: JSON now includes ASN (local,peer) and IP (local,IP) requested by: jtkdpu (issue #196) patch by: Ryan Tinianov (pull #199) for the IP * Feature: API support for sending eor requested by: spakka (issue #109) * Feature: allow routes to have a name (which can be used as comment) requested by: lazy404 (issue #167) * Feature: improve release code to prevent version mismatch (issue #202) reported by: Anand Buddhdev * Fix: systemd file is not installed anymore by default (issue #202) to add to the file installation list use "python setup.py install systemd" requested by: Anand Buddhdev * QA: moved all testing code (used by travis-ci) in the ./qa folder * QA: added nosetest, updating some of the old unittest code * QA: integrated travis-ci with coveralls.io to have real time code coverage * QA: ExaBGP can take more than one configuration file and on configuration reload rotate between them * QA: checking that broken flows do not break the parser * QA: checking that configuration routes are well added and removed on SIGUSR1 * QA: checking that incoming notifications are handled correctly * QA: moved many sample configuration file from etc/exabgp to the new qa/conf Version 3.4.5 * Fix: improper distribution of events to process workers reported by: Tim Epkes Version 3.4.4 * Fix: bug with IPv4 / ipv6 handling * Fix: better peer isolation when parsing messages * Fix: IPv6 decoding when the routes includes link-local * Fix: missing text API paramter * Fix: no JSON for Aggregator * Fix: show route extensive patch by: Michal Grzedzicki, thank you * Fix: 4-Octet AS Specific BGP Extended Community (RFC 5668) patch by: Michal Grzedzicki * Fix: bug with label encoding patch by: Jesse Mather * Improvement: add support for add-path with family MPLS requested by: Tim Epkes * Fix: bug when process writes multiple lines reported by: Ilya Voronin * Feature: accept packet with confedation (RFC 3065) requested by: oriordan (with a patch, thank you) * Fix: do not bark if an unknown ASPath attribute is found * Fix: correctly accept connection on AF_INET6 socket patch by: John W. O'Brien * Fix: restore lost python2.6 compatibility reported by: Minsuk Song * Fix: IPv6 MD5 reported by: Dave J Knight * Add framework to debug SIGUSR1 related problems * Fix: do not drop session when receiving an unknown capability patch by: Peter van Dijk (PowerDNS) Version 3.4.3 * Fix: JSON message increment reported by: Daniel Neiter, with a patch, thank you. * Fix: JSON message format for operational reported by: Rob Barnes, with a patch, thank you. * Fix: JSON message for route-refresh * Fix: EOR unpack issue * Fix: ASPath encoding * Fix: possible bad notify call * Fix: Aggregator configuration issue * Fix: pycharm reported issues * operational, using afi instead of safi * bad function paramters * missing return keyword * many cleanups * Change: use RFC MULTISESSION capability and not CISCO variant anymore Version 3.4.2 * Feature: add more information in crash report * Fix: problem when trying to report exception errors * Fix: better handling of on PIPE errors reported by: Thomas Raabo * Fix: could not split MPLS routes reported by: Hideaki HAYASHI * Fix: not correctly handling NOTIFICATION message reported by: Hideaki HAYASHI * Fix: do not block on a peer should a socket become blocking reported by: Wouter Miltenburg * Fix: API JSON message id incrementation reported by: Wouter Miltenburg Version 3.4.1 * Fix: on bad JSON message patch from: Wouter Miltenburg * Fix: parsing of default route reported by: Wouter Miltenburg * Fix: remove legacy exabgp.tcp.timeout * Fix: forgot some processes options when printing neighbor * Fix: bad function call for API * Fix: correct JSON for OPEN * Fix: issues with bad naming of APIOption patch from: Wouter Miltenburg * Fix: do not try to be clever (and possibly get it wrong) and rely on keepalive timer to detect TCP faults * Fix: formating issue of extended community * Fix: issue with EOR * Fix: caching issue reported by: Wouter Miltenburg * Fix: make sure we do not call select with a negative time reported by: Wouter Miltenburg, Daniel Piekacz patch from: Wouter Miltenburg * Fix: handle AS4_PATH with PARTIAL bit set reported by: Daniel Piekacz * Fix: bug with generic attribute generation * Fix: bad Notification patch from: Wouter Miltenburg * Fix: bad Keepalive JSON message patch from: Wouter Miltenburg Version 3.4.0 * Feature: add support for extended-attribute for FlowSpec * Feature: more detailed JSON objects patch from: Wouter Miltenburg * Feature: support for L2VPN (experimental) patch from: Nikita V. Shirokov * Improvement: better handling of NOTIFICATION received during OPEN negotiation * Improvement: ExaBGP can restart failed helper process * Fix: Do not reconnect too fast when connection fails reported by: Robert Barnes * Fix: Invalid JSON object for route-refresh reported by: Robert Barnes * Fix: We were not reporting the NLRI of the route received when exabgp.log.routes was set * Fix: accept exabgp_tcp_port as configuration option and not only exabgp.tcp.port * Fix: duplicate line output * Fix: bad refactorisation which caused an bad ASN4 bug * Fix: change EOR from IPv4 multicast (mistake) to IPv4 unicast reported by: Mark Treacy * Fix: bad encoding of flow fragment encoding reported by: Andrei-Marius Radu * Fix: bad reporting of process open sending reported by: Mark Treacy (with patch, thank you) * Fix: Incorporating NETBSD compatibility patches * Fix: Generation of Generic Attributes * Fix: Faster reactor (should be able to process much more API/BGP messages) * Change: new commands for the configuration of the API * Change: JSON objects now include a unique neighbor identifier * Change: JSON objects now include a counter for unique message id * Change: JSON objects now include a "type" to now how to best parse them * Change: JSON new EOR object * Change: JSON new Flow format * Change: slight variation with the command line option names, now using docopt patch from: Michael Robert Watson * Change: the profile information is now exported in kcachegrind format * Compatibility: JSON re-introduced the family under the "announce" section (removed by mistake) * Compatibility: restoring integer as default time, high resolution must be enabled to not break older installations * Change: JSON and Text shutdown object now shows the PID and PPID
2015-02-19 13:23:52 +01:00
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
Update to version 3.4.9. Pkgsrc changes: * fix up the set of REPLACE_PYTHON settings to match * remove patch which has been accepted upstream, adapt remaining patch * install the newly contributed man pages * adapt PLIST Upstream changes: 3.4.9: This release mostly fixes a very embarrassing issue introduced with 3.4.8 with non IPv4 unicast route decoding, the handlers were badly registered. 3.4.8: This is a bug fix release. It fixes an obscure bug when routes would not reach the backend API as two NLRI could be seen as identical due to a bad hashing of the attributes. * Fix: bug with multiple configuration files * Fix: allow generic attribute not only in single line but also in multiple lines patch by: Eiichiro Watanabe (issue #214) * Fix: issue with parsing extended-community origin reported by: Tim Preston * Fix: handle numeric community parsing correctly reported by: Aaron Kalin * Fix: bug in AS_PATH with AS_SET handling patch by: Eiichiro Watanabe * Fix: off by one for the maximum message size generation reported by: Eiichiro Watanabe * Fix: issue with handling of some generic attributes reported by: Hiroshi Yokoi * Fix: restore old api syntax broken by mistake patch by: David Waring * Fix: issue with E-VPN NLRI patch by: Thomas Morin * Fix: bad iteration for JSON generation ( bug created during 3.4.8 dev ) patch by: Ian bobbitt * Fix: healthcheck.py: optionally match "alias" in ifconfig output patch by: Havard Eidnes * Fix: healthcheck.py: make the ifconfig path work; regexp fix patch by: Havard Eidnes * Change: moved the netlink library within exabgp * Feature: qa/bin/ip and qa/bin/route
2015-03-19 10:20:30 +01:00
REPLACE_PERL+= etc/exabgp/processes/dynamic-1.pl
REPLACE_PERL+= etc/exabgp/processes/watchdog-1.pl
REPLACE_PYTHON+= etc/exabgp/processes/healthcheck.py
REPLACE_PYTHON+= etc/exabgp/processes/read-write.py
REPLACE_PYTHON+= etc/exabgp/processes/stderr-1.py
REPLACE_PYTHON+= etc/exabgp/processes/syslog-1.py
REPLACE_PYTHON+= etc/exabgp/processes/tcp-server
Update to version 3.4.9. Pkgsrc changes: * fix up the set of REPLACE_PYTHON settings to match * remove patch which has been accepted upstream, adapt remaining patch * install the newly contributed man pages * adapt PLIST Upstream changes: 3.4.9: This release mostly fixes a very embarrassing issue introduced with 3.4.8 with non IPv4 unicast route decoding, the handlers were badly registered. 3.4.8: This is a bug fix release. It fixes an obscure bug when routes would not reach the backend API as two NLRI could be seen as identical due to a bad hashing of the attributes. * Fix: bug with multiple configuration files * Fix: allow generic attribute not only in single line but also in multiple lines patch by: Eiichiro Watanabe (issue #214) * Fix: issue with parsing extended-community origin reported by: Tim Preston * Fix: handle numeric community parsing correctly reported by: Aaron Kalin * Fix: bug in AS_PATH with AS_SET handling patch by: Eiichiro Watanabe * Fix: off by one for the maximum message size generation reported by: Eiichiro Watanabe * Fix: issue with handling of some generic attributes reported by: Hiroshi Yokoi * Fix: restore old api syntax broken by mistake patch by: David Waring * Fix: issue with E-VPN NLRI patch by: Thomas Morin * Fix: bad iteration for JSON generation ( bug created during 3.4.8 dev ) patch by: Ian bobbitt * Fix: healthcheck.py: optionally match "alias" in ifconfig output patch by: Havard Eidnes * Fix: healthcheck.py: make the ifconfig path work; regexp fix patch by: Havard Eidnes * Change: moved the netlink library within exabgp * Feature: qa/bin/ip and qa/bin/route
2015-03-19 10:20:30 +01:00
REPLACE_PYTHON+= lib/exabgp/application/bmp.py
REPLACE_PYTHON+= lib/exabgp/application/cli.py
REPLACE_PYTHON+= lib/exabgp/application/netlink.py
REPLACE_PYTHON+= lib/exabgp/netlink/old.py
Update to version 3.4.9. Pkgsrc changes: * fix up the set of REPLACE_PYTHON settings to match * remove patch which has been accepted upstream, adapt remaining patch * install the newly contributed man pages * adapt PLIST Upstream changes: 3.4.9: This release mostly fixes a very embarrassing issue introduced with 3.4.8 with non IPv4 unicast route decoding, the handlers were badly registered. 3.4.8: This is a bug fix release. It fixes an obscure bug when routes would not reach the backend API as two NLRI could be seen as identical due to a bad hashing of the attributes. * Fix: bug with multiple configuration files * Fix: allow generic attribute not only in single line but also in multiple lines patch by: Eiichiro Watanabe (issue #214) * Fix: issue with parsing extended-community origin reported by: Tim Preston * Fix: handle numeric community parsing correctly reported by: Aaron Kalin * Fix: bug in AS_PATH with AS_SET handling patch by: Eiichiro Watanabe * Fix: off by one for the maximum message size generation reported by: Eiichiro Watanabe * Fix: issue with handling of some generic attributes reported by: Hiroshi Yokoi * Fix: restore old api syntax broken by mistake patch by: David Waring * Fix: issue with E-VPN NLRI patch by: Thomas Morin * Fix: bad iteration for JSON generation ( bug created during 3.4.8 dev ) patch by: Ian bobbitt * Fix: healthcheck.py: optionally match "alias" in ifconfig output patch by: Havard Eidnes * Fix: healthcheck.py: make the ifconfig path work; regexp fix patch by: Havard Eidnes * Change: moved the netlink library within exabgp * Feature: qa/bin/ip and qa/bin/route
2015-03-19 10:20:30 +01:00
REPLACE_PYTHON+= lib/exabgp/netlink/route.py
REPLACE_PYTHON+= lib/exabgp/reactor/api/encoding.py
Upgrade to ExaBGP version 3.4.19. Pkgsrc changes: * Adapt PLIST * Adapt Makefile to new python scripts Upstream changes: 3.4.19 ExaBGP 'LINX 97/43' release ====== * Add: IPv6 nlri-mpls to list of enabled protocol (was missing) requested by: adrian62 * Fix: encoding of Flow Label requiring more than 2 bytes reported by: BLAKEMMM * Fix: decoding of capability (was potentially over reading) * Fix: trace when trying to access PID file and this is not allowed reported by: George Shuklin * Fix: Remove a peer's RIB cache when it is deleted from the config file patch by: Brian Johnson * Fix: do not crash the reactor when an invalid IP is passed via the API reported by: Yevgeniy Ovsyannikov * Fix: bad defintion of Flow for ICMPType, ICMPCode and Fragment reported by: Christoph Loibl * Feature: allow add-path for mpls-vpn reported by: adrian62 * Change: Backported setup.py from master * Feature: added SRPMS for exabgp patch by: Leonardo Amaral 3.4.18 ExaBGP 'No BETT' release ====== * Backport: backhole community (RFC 7999) original patch by: Job Snijders * Fix: Configuration parser does not accept configs without neighbors. patch by doddt * Fix: 'connect' keyword is now also allowed in neighbor scope patch by: Stacey Sheldon (Corsa) * Fix: removing protocol auto-cleanup (it should never be called and seems to cause a CG issue) reported by: Colin Petrie * Change: default to a 0 offset for ipv6 flowspec source/destination match patch by: Brian Johnson * Fix: Better PID file handling reported by: Ben Agricola * Fix: Update RIB cache families on configuration reload patch by: Brian Johnson * Fix: Backport fix on SIGUSR2 (restarting process not needing to be) patch by: Shawn Zhou * Change: group-updates now generates one UPDATE per address family (and not one per NLRI for non IPv4) patch by: Brian Johnson 3.4.17 ExaBGP 'No EPF' release ====== * Fix: does not accept IPv6 as router-id reported by: yuriya * Fix: JSON output for flow routes with rd reported by droon5 * Fix: Fix Path-Information * Fix: Bad encoding of capability when multiple families are used for add-path reported: by Alexander Bespalov * Fix: support non ASN4 use of AS_TRANS (AS23456) reported by: Todd Crane * Fix: do not exit when we can not accept incoming connection reported by: Pavel Batkov * Fix: quote where not escaped in JSON reason field reported by: Rob Barnes * Fix: decoding of IPv6 flow routes reported by: stoffi92 * Fix: decoding of Graceful Restart Capability patch by: florinz * Fix: ASN4 encoding patch by: Shu Sugimoto and Eiichiro Watanabe * Change: Run without even peers configured patch by: Jordan Gedney * Fix: JSON encoding of updates without NLRIs patch by: Dhammika Pathirana * Fix: Possible race conditions in api handling patch by: Brian Johnson * Feature: Add 'show neighbor status' api patch by: Brian Johnson * Fix: flush route api patch by: Brian Johnson * Fix: Allow asn4 peer to speak with asn2 only peer patch by: Brian Johnson * Fix: only one MP NLRI is allow per UPDATE reported by: subsecond * Change: configuration output does not includes ':' anymore patch by: doddt * Change: syslog format changed to be in line with other application patch by: Brian Johnson 3.4.16 ExaBGP 'Free YouTube' release ====== A bug fix only release * Feature: allow users to decide if processes must be run before or after we drop privileges requested by: Ben Agricola * Fix: correctly look in /etc/exabgp for programs to run when the path is relative reported by: Vincent Bernat * Fix: missing handler for NOTIFICATION patch by: minglvyy 3.4.15 ExaBGP 'skip' release ====== Do not look for 3.4.14 - it was never released. An issue with pypi forced us to skip this version. * Fix: the ttl-security parameter didn't really work. Fixed for outgoing connections now. patch by: Borja Marcos * Fix: configuration leak between processes for neighbor-changes and send-packets. reported by: spakka * Feature: add per neighbor connection port. requested by: dbarrosop * Fix: ASN4 boundary off by one * Fix: Bad peer IP when using show routes. patch by (backported): Wayne Tucker * Fix: Missing next-hop in the text api. reported by: Lisa Roach * Fix: broken route-refresh command. reported by: Bryan Schwerer * Fix: wrongly announcing connection issue with peer on the API. reported by: Bryan Schwerer 3.4.13 ExaBGP 'Madrid' release ====== * Fix: add semicolon in syslog entry so it can be parsed by tools * Fix: duplication of message following helper process death reported by: spakka * Fix: death of helper program would lead to BGP session drop reported by: spakka * Fix: mistakenly made a function private breaking some ASN4 code path reported by: Victor Sudakov * Feature: manual eor patch by: Charles Ng 3.4.12 ExaBGP 'John Glenn' release ====== * Fix: issue with unknown capabilities reported by: Sandy Breeze * Fix: notification messages were not passed to the API reported by: Florian Obser * Fix: transitivity on extended community patch by: Thomas Morin * Fix: bad reporting of VPLS information in JSON * Fix: wrong SAFI on MPLS routes reported by: Hideaki HAYASHI * Fix: bad route comparaison reported by: Alvaro Pereira * Fix: decoding of Update * Fix: Flow redirect to nexhop encoding reported by: Mickael Marchand (Thank you to Peng Xiao and Nicolas Fevrier for their help) * Fix/Improve: JSON for flow spec * Fix/Improve: redirect-to-nexthop reported by: Mickael Marchand
2017-06-20 16:10:16 +02:00
REPLACE_PYTHON+= qa/conf/api-add-remove.run
REPLACE_PYTHON+= qa/conf/api-announcement.run
REPLACE_PYTHON+= qa/conf/api-api.nothing.run
REPLACE_PYTHON+= qa/conf/api-api.receive.run
REPLACE_PYTHON+= qa/conf/api-broken-flow.run
REPLACE_PYTHON+= qa/conf/api-check.run
REPLACE_PYTHON+= qa/conf/api-eor.run
REPLACE_PYTHON+= qa/conf/api-fast.run
REPLACE_PYTHON+= qa/conf/api-flow.run
REPLACE_PYTHON+= qa/conf/api-multi-neighbor.run
REPLACE_PYTHON+= qa/conf/api-multisession.run
REPLACE_PYTHON+= qa/conf/api-nexthop-self.run
REPLACE_PYTHON+= qa/conf/api-nexthop.run
REPLACE_PYTHON+= qa/conf/api-notification.run
REPLACE_PYTHON+= qa/conf/api-open.run
REPLACE_PYTHON+= qa/conf/api-reload.run
REPLACE_PYTHON+= qa/conf/api-teardown.run
REPLACE_PYTHON+= qa/conf/api-vpls.run
REPLACE_PYTHON+= qa/conf/api-vpnv4.run
REPLACE_PYTHON+= qa/conf/manual-eor.run
REPLACE_PYTHON+= qa/conf/watchdog.run
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 3.2.19
USE_LANGUAGES= # none
INSTALLATION_DIRS+= share/exabgp bin
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
pre-install:
find ${WRKDIR} -name "*.orig" | xargs rm -f
Update to version 3.4.9. Pkgsrc changes: * fix up the set of REPLACE_PYTHON settings to match * remove patch which has been accepted upstream, adapt remaining patch * install the newly contributed man pages * adapt PLIST Upstream changes: 3.4.9: This release mostly fixes a very embarrassing issue introduced with 3.4.8 with non IPv4 unicast route decoding, the handlers were badly registered. 3.4.8: This is a bug fix release. It fixes an obscure bug when routes would not reach the backend API as two NLRI could be seen as identical due to a bad hashing of the attributes. * Fix: bug with multiple configuration files * Fix: allow generic attribute not only in single line but also in multiple lines patch by: Eiichiro Watanabe (issue #214) * Fix: issue with parsing extended-community origin reported by: Tim Preston * Fix: handle numeric community parsing correctly reported by: Aaron Kalin * Fix: bug in AS_PATH with AS_SET handling patch by: Eiichiro Watanabe * Fix: off by one for the maximum message size generation reported by: Eiichiro Watanabe * Fix: issue with handling of some generic attributes reported by: Hiroshi Yokoi * Fix: restore old api syntax broken by mistake patch by: David Waring * Fix: issue with E-VPN NLRI patch by: Thomas Morin * Fix: bad iteration for JSON generation ( bug created during 3.4.8 dev ) patch by: Ian bobbitt * Fix: healthcheck.py: optionally match "alias" in ifconfig output patch by: Havard Eidnes * Fix: healthcheck.py: make the ifconfig path work; regexp fix patch by: Havard Eidnes * Change: moved the netlink library within exabgp * Feature: qa/bin/ip and qa/bin/route
2015-03-19 10:20:30 +01:00
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/exabgp.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/doc/man/exabgp.conf.5 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"