d524597e53
Fixes a memory corruption issue in OSC 49 handling. Notice that this is only enabled if screen is built with --enable-rxvt_osc, which isn't the case in Buildroot. From the release notes: As last fix, fixes potential memory overwrite of quite big size (~768 bytes), and even though I'm not sure about potential exploitability of that issue, I highly recommend everyone to upgrade as soon as possible. This issue is present at least since v.4.2.0 (haven't checked earlier). https://lists.gnu.org/archive/html/screen-devel/2020-02/msg00007.html Upstream changed the gnu.org URLs to use HTTPS, so adjust 0005-rename-sched_h.patch to match. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# screen
|
|
#
|
|
################################################################################
|
|
|
|
SCREEN_VERSION = 4.8.0
|
|
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
|
SCREEN_LICENSE = GPL-3.0+
|
|
SCREEN_LICENSE_FILES = COPYING
|
|
SCREEN_DEPENDENCIES = ncurses
|
|
SCREEN_AUTORECONF = YES
|
|
SCREEN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS)"
|
|
SCREEN_CONF_OPTS = --enable-colors256
|
|
SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
|
|
|
define SCREEN_INSTALL_SCREENRC
|
|
$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
|
|
endef
|
|
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
|
|
|
# Add /usr/bin/screen to /etc/shells otherwise some login tools like dropbear
|
|
# can reject the user connection. See man shells.
|
|
define SCREEN_ADD_SCREEN_TO_SHELLS
|
|
grep -qsE '^/usr/bin/screen$$' $(TARGET_DIR)/etc/shells \
|
|
|| echo "/usr/bin/screen" >> $(TARGET_DIR)/etc/shells
|
|
endef
|
|
SCREEN_TARGET_FINALIZE_HOOKS += SCREEN_ADD_SCREEN_TO_SHELLS
|
|
|
|
$(eval $(autotools-package))
|