mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
Fixes the following vulnerability: CVE-2026-48715: Stack Buffer Overflow in radvdump Route Information Option Parser https://github.com/radvd-project/radvd/security/advisories/GHSA-52px-gh9p-m379 Release notes: https://github.com/radvd-project/radvd/releases/tag/v2.21 The release is now done on github, and a .tar.xz version is available so use that. Notice that we cannot use the github macro. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# radvd
|
|
#
|
|
################################################################################
|
|
|
|
RADVD_VERSION = 2.21
|
|
RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
|
|
RADVD_SITE = https://github.com/radvd-project/radvd/releases/download/v$(RADVD_VERSION)
|
|
RADVD_DEPENDENCIES = host-bison host-flex host-pkgconf libbsd
|
|
# We need to ignore <linux/if_arp.h>, because radvd already includes
|
|
# <net/if_arp.h>, which conflicts with <linux/if_arp.h>.
|
|
RADVD_CONF_ENV = \
|
|
ac_cv_prog_cc_c99='-std=gnu99' \
|
|
ac_cv_header_linux_if_arp_h=no
|
|
RADVD_LICENSE = BSD-4-Clause-like
|
|
RADVD_LICENSE_FILES = COPYRIGHT
|
|
RADVD_SELINUX_MODULES = radvd
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y)
|
|
RADVD_CONF_OPTS += --with-stack-protector
|
|
else
|
|
RADVD_CONF_OPTS += --without-stack-protector
|
|
endif
|
|
|
|
# We don't provide /etc/radvd.conf, so disable the service by default.
|
|
define RADVD_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 0644 package/radvd/50-radvd.preset \
|
|
$(TARGET_DIR)/usr/lib/systemd/system-preset/50-radvd.preset
|
|
endef
|
|
|
|
define RADVD_INSTALL_INIT_SYSV
|
|
$(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|