package/frr: security bump to version 10.3
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>
This commit is contained in:
committed by
Julien Olivain
parent
af094ed137
commit
bdffdcfdac
@@ -24,6 +24,13 @@ config BR2_PACKAGE_FRR
|
||||
|
||||
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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 5323e5ec236346860301e57f6845443855e8f2508d7ccd87ead395a9991c01c2 frr-9.1.3.tar.gz
|
||||
sha256 0f10aca9074c773c12be8a07382c7560d625d4a2c842d82261d18bb8f4b26f6c frr-10.3.tar.gz
|
||||
sha256 7bf053957d6c38e39a06a112c60ff35b228d3bd03edbe8c9a03508b051128d16 COPYING
|
||||
sha256 f9e0c21faf738da586281c0beaad3cd56204c19085a10fe05e4d3d7f8b5863d2 doc/licenses/BSD-2-Clause
|
||||
sha256 aca297b8fd3a43e3bb200f1e2e043c0db6c897325f5ff7f23f7530302a6bf713 doc/licenses/BSD-3-Clause
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FRR_VERSION = 9.1.3
|
||||
FRR_VERSION = 10.3
|
||||
FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION))
|
||||
FRR_LICENSE = GPL-2.0+
|
||||
FRR_LICENSE_FILES = \
|
||||
@@ -38,14 +38,11 @@ FRR_CONF_ENV = \
|
||||
# Do not enable -fplugin=frr-format for production, see doc/developer/workflow.rst,
|
||||
# it is only intended for FRR's developments
|
||||
FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
|
||||
--sysconfdir=/etc/frr \
|
||||
--localstatedir=/var/run/frr \
|
||||
--with-moduledir=/usr/lib/frr/modules \
|
||||
--enable-configfile-mask=0640 \
|
||||
--enable-logfile-mask=0640 \
|
||||
--enable-multipath=256 \
|
||||
--disable-ospfclient \
|
||||
--enable-shell-access \
|
||||
--enable-user=frr \
|
||||
--enable-group=frr \
|
||||
--enable-vty-group=frrvty \
|
||||
@@ -86,6 +83,12 @@ else
|
||||
FRR_CONF_OPTS += --disable-zeromq
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FRR_BFD),y)
|
||||
FRR_CONF_OPTS += --enable-bfdd
|
||||
else
|
||||
FRR_CONF_OPTS += --disable-bfdd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
FRR_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user