![Bernd Kuhls](/assets/img/avatar_default.png)
Release notes: https://lists.gnu.org/archive/html/info-gnu/2019-10/msg00000.html Removed patches applied upstream: - 0001-compiler-sanity-checks.patch https://git.savannah.gnu.org/cgit/screen.git/commit/?h=v.4.7.0&id=6b320186db7df1e58fdd2c836af54c86cc596981 - 0003-cross-compilation-AC_TRY_RUN.patch https://git.savannah.gnu.org/cgit/screen.git/commit/?h=v.4.7.0&id=abba47ce4206506c49858d944e904fff86ae65cc - 0004-cross-compilation-ignore-host-fs.patch https://git.savannah.gnu.org/cgit/screen.git/commit/?h=v.4.7.0&id=c573b89139e7a068f5573abd565605bed60f293f - 0005-avoid-identifying-as-SVR4.patch https://git.savannah.gnu.org/cgit/screen.git/commit/?h=v.4.7.0&id=ec90292592dd2c9d5c108390841e3df24e377ed5 Rebased 0001-no-memcpy-fallback.patch Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
################################################################################
|
|
#
|
|
# screen
|
|
#
|
|
################################################################################
|
|
|
|
SCREEN_VERSION = 4.7.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))
|