mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 06:41:51 -09:00
See the release announcement:
- https://www.vim.org/vim-9.2-released.php
It fixes the following vulnerabilities:
- CVE-2026-28417
- CVE-2026-28418
- CVE-2026-28419
- CVE-2026-28420
- CVE-2026-28421
- CVE-2026-28422
- CVE-2026-32249
- CVE-2026-33412
- CVE-2026-34714
- CVE-2026-34982
- CVE-2026-35177
- CVE-2026-39881
- CVE-2026-41411
- CVE-2026-42307
- CVE-2026-44656
- CVE-2026-45130
- CVE-2026-46483
- CVE-2026-47162
- CVE-2026-47167
- CVE-2026-52858
- CVE-2026-52859
- CVE-2026-52860
- CVE-2026-55693
- CVE-2026-55892
- CVE-2026-55895
- CVE-2026-57451
- CVE-2026-57452
- CVE-2026-57453
- CVE-2026-57455
- CVE-2026-57456
- CVE-2026-59856
- CVE-2026-59857
- CVE-2026-59858
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 297f6f1921)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
87 lines
2.1 KiB
Makefile
87 lines
2.1 KiB
Makefile
################################################################################
|
|
#
|
|
# vim
|
|
#
|
|
################################################################################
|
|
|
|
VIM_VERSION = 9.2.0943
|
|
VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION))
|
|
VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES)
|
|
VIM_SUBDIR = src
|
|
VIM_CONF_ENV = \
|
|
vim_cv_toupper_broken=no \
|
|
vim_cv_terminfo=yes \
|
|
vim_cv_tgetent=zero \
|
|
vim_cv_tty_group=world \
|
|
vim_cv_tty_mode=0620 \
|
|
vim_cv_getcwd_broken=no \
|
|
vim_cv_stat_ignores_slash=yes \
|
|
vim_cv_memmove_handles_overlap=yes \
|
|
ac_cv_sizeof_int=4 \
|
|
ac_cv_small_wchar_t=no
|
|
# GUI/X11 headers leak from the host so forcibly disable them
|
|
VIM_CONF_OPTS = --with-tlib=ncurses --enable-gui=no --without-x
|
|
VIM_LICENSE = Charityware
|
|
VIM_LICENSE_FILES = LICENSE README.txt
|
|
VIM_CPE_ID_VENDOR = vim
|
|
|
|
ifeq ($(BR2_PACKAGE_ACL),y)
|
|
VIM_CONF_OPTS += --enable-acl
|
|
VIM_DEPENDENCIES += acl
|
|
else
|
|
VIM_CONF_OPTS += --disable-acl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GPM),y)
|
|
VIM_CONF_OPTS += --enable-gpm
|
|
VIM_DEPENDENCIES += gpm
|
|
else
|
|
VIM_CONF_OPTS += --disable-gpm
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
VIM_CONF_OPTS += --enable-selinux
|
|
VIM_DEPENDENCIES += libselinux
|
|
else
|
|
VIM_CONF_OPTS += --disable-selinux
|
|
endif
|
|
|
|
VIM_INSTALL_TARGETS = \
|
|
installvimbin installpack \
|
|
installtools installlinks
|
|
|
|
ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
|
|
VIM_INSTALL_TARGETS += installrtbase installmacros
|
|
endif
|
|
|
|
define VIM_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \
|
|
$(VIM_INSTALL_TARGETS)
|
|
$(RM) -rf $(TARGET_DIR)/usr/share/vim/vim*/doc/
|
|
endef
|
|
|
|
# Avoid oopses with vipw/vigr (from package shadow), lack of $EDITOR,
|
|
# or other packages expecting plain 'vi' command to exist.
|
|
ifeq ($(BR2_ROOTFS_MERGED_USR),y)
|
|
define VIM_INSTALL_VI_SYMLINK
|
|
ln -sf vim $(TARGET_DIR)/usr/bin/vi
|
|
endef
|
|
else
|
|
define VIM_INSTALL_VI_SYMLINK
|
|
ln -sf ../usr/bin/vim $(TARGET_DIR)/bin/vi
|
|
endef
|
|
endif
|
|
VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_VI_SYMLINK
|
|
|
|
HOST_VIM_DEPENDENCIES = host-ncurses
|
|
HOST_VIM_CONF_OPTS = \
|
|
--with-tlib=ncurses \
|
|
--enable-gui=no \
|
|
--without-x \
|
|
--disable-acl \
|
|
--disable-gpm \
|
|
--disable-selinux
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|