From patchwork Sat Jan 30 22:40:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3840 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4DSq0d4Xrpz3wy6 for ; Sat, 30 Jan 2021 22:40:17 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4DSq0c461Lz18m; Sat, 30 Jan 2021 22:40:16 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4DSq0c3BgSz2y1Y; Sat, 30 Jan 2021 22:40:16 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4DSq0Z450Tz2xl3 for ; Sat, 30 Jan 2021 22:40:14 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4DSq0Y6pVHz1h; Sat, 30 Jan 2021 22:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1612046414; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6TBLDEQvHH3G7o6UuUY2RKl7fYhgZO/XyUnv6LCU+Is=; b=mN6vYkDNTfI5lpj5BpuiH7FSsYylKmpU3cSt4LCJBB68vFTa0o4iTYKsOaW5vpLQzGFrEt 3hPCy5SG+Fe5xmtDmm24R1XS7hZe3UdkkbbooaX44mr7rpkKcweUnV/EpvQXeydtLQs+6P XUANobDJWzEEnFQT72bRzYh6hhk8z+AydGdUWS5gZY1LUO5rQuEp19SwQo3KhhI5p20B4Q 5l05JNkQGqWYAku3ZIsHG0T1kyzriefavvi8OdSaZzPTrOoiFvKU81d8JL9Qc85Alw93iz GOkMkM1wSlERtzrrLmYxBSC4Vz5IWqYrj66QXh8pS5ADkuQyFrZGn2eNbL+TCA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1612046414; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6TBLDEQvHH3G7o6UuUY2RKl7fYhgZO/XyUnv6LCU+Is=; b=O077x1B/xwcuYVOJx0waqlrMmrlN6IiV/7QUm7KZ4VI+jcfBNsMZWKMqPz9fBfBdLXErZo kclT/6uZCB4dU7Cw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] screen: Update to 4.8.0 Date: Sat, 30 Jan 2021 23:40:11 +0100 Message-Id: <20210130224011.3342180-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update screen from 4.2.1 to 4.8.0 - Changelog Version 4.8.0 (05/02/2020) * Improve startup time by only polling for files to close Fixes: - Fix for segfault if termcap doesn't have Km entry - Make screen exit code be 0 when checking --version - Fix potential memory corruption when using OSC 49 Version 4.7.0 (02/10/2019) * Add support for SGR (1006) mouse mode * Add support for OSC 11 * Update Unicode ambiguous and wide tables to 12.1.0 * Fixes: - cross-compilation support (bug #43223) - a lot of manpage fixes and cleanups Version 4.6.2 (23/10/2017): * Fixes: - revert changes to cursor position restore behavour (bug #51832) - set freed pointer to NULL (bug #52133) - documentation fixes - fix windowlist crashes (bug #43054 & #51500) Version 4.6.1 (10/07/2017): * Fixes: - problems with starting session in some cases - parallel make install - segfault when querying info on nonUTF locale (bug #51402) Version 4.6.0 (28/06/2017): * Update Unicode wide tables to 9.0 (bug #50044) * Support more serial speeds * Improved namespaces support * Migrate from fifos to sockets * Start viewing scrollback at first line of output (bug #49377) Version 4.5.1 (25/02/2017): * Fixes: - logfile permissions problem (CVE-2017-5618) - SunOS build problem (bug #50089) - FreeBSD core dumps (bug #50143) Version 4.5.0 (10/12/2016): * Allow specifying logfile's name via command line parameter '-L' * Fixes: - broken handling of "bind u digraph U+" (bug #48691) - crash with long $TERM (bug #48983) - crash when bumping blank window - build for AIX (bug #49149) - %x improperly separating arguments - install with custom DESTDIR (bug #48370) Version 4.4.0 (19/06/2016): * Support up to 24 function keys * Fix runtime issues * 'logfile' command, starts logging into new file upon changing Version 4.3.1 (28/06/2015): * Fix resize bug Version 4.3.0 (13/06/2015): * Introduce Xx string escape showing the executed command of a window * Implement dead/zombie window polling, allowing for auto reconnecting * Allow setting hardstatus on first line New Commands: * 'sort' command sorting windows by title * 'bumpleft', 'bumpright' - manually move windows on window list * 'collapse' removing numbering 'gaps' between windows, by renumbering * 'windows' command now accepts arguments for use with querying - Rootfile updated - Two screen patchfiles deleted as the patch changes are now built into the source files Signed-off-by: Adolf Belka --- config/rootfiles/common/screen | 9 +-------- lfs/screen | 6 ++---- src/patches/screen-4.2.1-altscreen.patch | 16 ---------------- .../screen-4.2.1-cpation-hardstatus.patch | 16 ---------------- 4 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 src/patches/screen-4.2.1-altscreen.patch delete mode 100644 src/patches/screen-4.2.1-cpation-hardstatus.patch diff --git a/config/rootfiles/common/screen b/config/rootfiles/common/screen index 6124db15f..b30c8ddb5 100644 --- a/config/rootfiles/common/screen +++ b/config/rootfiles/common/screen @@ -1,13 +1,6 @@ etc/screenrc usr/bin/screen -usr/bin/screen-4.2.1 -#usr/info/screen.info -#usr/info/screen.info-1 -#usr/info/screen.info-2 -#usr/info/screen.info-3 -#usr/info/screen.info-4 -#usr/info/screen.info-5 -#usr/man/man1/screen.1 +usr/bin/screen-4.8.0 #usr/share/info/screen.info #usr/share/man/man1/screen.1 #usr/share/screen diff --git a/lfs/screen b/lfs/screen index eb56ace7c..33102615a 100644 --- a/lfs/screen +++ b/lfs/screen @@ -24,7 +24,7 @@ include Config -VER = 4.2.1 +VER = 4.8.0 THISAPP = screen-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 419a0594e2b25039239af8b90eda7d92 +$(DL_FILE)_MD5 = d276213d3acd10339cd37848b8c4ab1e install : $(TARGET) @@ -70,8 +70,6 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/screen-4.2.1-cpation-hardstatus.patch - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/screen-4.2.1-altscreen.patch cd $(DIR_APP) && ./configure --prefix=/usr --with-socket-dir=/var/run/screen --with-sys-screenrc=/etc/screenrc cd $(DIR_APP) && sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* cd $(DIR_APP) && make $(MAKETUNING) diff --git a/src/patches/screen-4.2.1-altscreen.patch b/src/patches/screen-4.2.1-altscreen.patch deleted file mode 100644 index 0a3516613..000000000 --- a/src/patches/screen-4.2.1-altscreen.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/ansi.c b/src/ansi.c -index e76eef4..bbdc119 100644 ---- a/ansi.c -+++ b/ansi.c -@@ -1444,8 +1444,8 @@ int c, intermediate; - else - { - if (curr->w_alt.on) { -- LeaveAltScreen(curr); -- RestoreCursor(&curr->w_alt.cursor); -+ RestoreCursor(&curr->w_alt.cursor); -+ LeaveAltScreen(curr); - } - } - if (a1 == 47 && !i) - diff --git a/src/patches/screen-4.2.1-cpation-hardstatus.patch b/src/patches/screen-4.2.1-cpation-hardstatus.patch deleted file mode 100644 index c6809af50..000000000 --- a/src/patches/screen-4.2.1-cpation-hardstatus.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/screen.c b/src/screen.c -index 473e4fa..8b36bea 100644 ---- a/screen.c -+++ b/screen.c -@@ -2271,8 +2271,8 @@ int padlen; - while (i-- > 0) - *pn-- = ' '; - numpad--; -- if (r && p - buf == winmsg_rendpos[r - 1]) -- winmsg_rendpos[--r] = pn - buf; -+ if (r && p - buf + 1== winmsg_rendpos[r - 1]) -+ winmsg_rendpos[--r] = pn - buf + 1; - } - } - return pn2; -