mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
Update FRR to the latest stable version (10.3, see [1]).
A new package option `BR2_PACKAGE_FRR_BFD` to enable or disable the
compilation of the BFD daemon. This one has now a dependencies with the
kernel headers 4.10 (i.e. IPV6_SRCRT_TYPE_4 from linux/ipv6.h [2]).
The configure options have been updated accordingly:
- Versions of FRR before 9.2 used `sysconfdir` and `localstatedir` as-is,
without appending `/frr`. The `/frr` suffix had to be passed explicitly
to `./configure`, which did not align with standard conventions.
This behavior has since been fixed upstream [3]. As `sysconfdir` and
`localstatedir` are already set by `pkg-autotools.mk`, they can now
be removed from `frr.mk`.
- The `--enable-shell-access` option has been removed as of FRR 10 [4].
[1] https://frrouting.org/release/10.3/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1ababeba4a21f
[3] https://github.com/FRRouting/frr/commit/ff62df2e4484
[4] https://github.com/FRRouting/frr/commit/afb034b0bb42
Fixes: https://www.cve.org/CVERecord?id=CVE-2024-55553
Signed-off-by: Maxime Leroy <maxime@leroys.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit bdffdcfdac)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
config BR2_PACKAGE_FRR
|
|
bool "frr"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
|
|
depends on !BR2_STATIC_LIBS # libyang
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, libyang
|
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
|
depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS # protobuf-c
|
|
depends on BR2_HOST_GCC_AT_LEAST_7 # protobuf-c
|
|
select BR2_PACKAGE_BASH
|
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
|
|
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_LIBYANG
|
|
select BR2_PACKAGE_READLINE
|
|
select BR2_PACKAGE_JSON_C
|
|
select BR2_PACKAGE_PROTOBUF_C
|
|
help
|
|
The FRRouting Protocol Suite.
|
|
|
|
FRR is free software that implements and manages various
|
|
IPv4 and IPv6 routing protocols.
|
|
|
|
https://frrouting.org
|
|
|
|
if BR2_PACKAGE_FRR
|
|
|
|
config BR2_PACKAGE_FRR_BFD
|
|
bool "BFD protocol"
|
|
default y
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
|
|
help
|
|
Build Bidirectional Forwarding Detection daemon.
|
|
|
|
config BR2_PACKAGE_FRR_BMP
|
|
bool "BMP protocol"
|
|
select BR2_PACKAGE_C_ARES
|
|
help
|
|
Build BGP Monitoring Protocol daemon.
|
|
|
|
config BR2_PACKAGE_FRR_NHRPD
|
|
bool "NHRPD protocol"
|
|
select BR2_PACKAGE_C_ARES
|
|
help
|
|
Build Next Hop Routing Protocol daemon.
|
|
|
|
endif
|
|
|
|
comment "frr needs a toolchain w/ threads, dynamic library, C++, host gcc >= 7"
|
|
depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
!BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_7
|