screen: Update to 4.9.0

Message ID 72aba0e7-346a-6cfb-47be-de622d97b8a4@ipfire.org
State Accepted
Commit 962600b21ad7f51c74a9f1d12aaa83769e6884ce
Headers
Series screen: Update to 4.9.0 |

Commit Message

Peter Müller July 9, 2022, 1:57 p.m. UTC
  Full changelog as per https://savannah.gnu.org/forum/forum.php?forum_id=10107:

New in this release:
  * Hardstatus option for used encoding (escape string '%e')
  * OpenBSD uses native openpty() from its utils.h
  * Fixes:
    - fix combining char handling that could lead to a segfault
    - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
    - make screen exit code be 0 when checking --help
    - session names limit is 80 symbols (bug #61534)
    - option -X ignores specified user in multiuser env (bug #37437)
    - a lot of reformations/fixes/cleanups (man page and source code)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/rootfiles/common/screen | 2 +-
 lfs/screen                     | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
  

Comments

Adolf Belka July 9, 2022, 2:32 p.m. UTC | #1
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 09/07/2022 15:57, Peter Müller wrote:
> Full changelog as per https://savannah.gnu.org/forum/forum.php?forum_id=10107:
>
> New in this release:
>    * Hardstatus option for used encoding (escape string '%e')
>    * OpenBSD uses native openpty() from its utils.h
>    * Fixes:
>      - fix combining char handling that could lead to a segfault
>      - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
>      - make screen exit code be 0 when checking --help
>      - session names limit is 80 symbols (bug #61534)
>      - option -X ignores specified user in multiuser env (bug #37437)
>      - a lot of reformations/fixes/cleanups (man page and source code)
>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
>   config/rootfiles/common/screen | 2 +-
>   lfs/screen                     | 7 ++++---
>   2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/config/rootfiles/common/screen b/config/rootfiles/common/screen
> index b30c8ddb5..b1e74e734 100644
> --- a/config/rootfiles/common/screen
> +++ b/config/rootfiles/common/screen
> @@ -1,6 +1,6 @@
>   etc/screenrc
>   usr/bin/screen
> -usr/bin/screen-4.8.0
> +usr/bin/screen-4.9.0
>   #usr/share/info/screen.info
>   #usr/share/man/man1/screen.1
>   #usr/share/screen
> diff --git a/lfs/screen b/lfs/screen
> index 3699d83d8..a78905970 100644
> --- a/lfs/screen
> +++ b/lfs/screen
> @@ -1,7 +1,7 @@
>   ###############################################################################
>   #                                                                             #
>   # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
> +# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
>   #                                                                             #
>   # This program is free software: you can redistribute it and/or modify        #
>   # it under the terms of the GNU General Public License as published by        #
> @@ -24,7 +24,7 @@
>   
>   include Config
>   
> -VER        = 4.8.0
> +VER        = 4.9.0
>   
>   THISAPP    = screen-$(VER)
>   DL_FILE    = $(THISAPP).tar.gz
> @@ -40,7 +40,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_BLAKE2 = 97ef6f18bf2c63c477260b742ac0b3501f112d380c41ccecc5cf2853db853cc62d4fd6d37edeca35fb41a43b76d98a5cfe160749c992d284f9764b0a0fdcc778
> +$(DL_FILE)_BLAKE2 = 0f64a14ce9a719bd4a6d045c55069769045a09ee2086c44c2e3d9da6d1e5ada2f094e00e16029767e1155ce35d4f360d0e2879995eefa052f3214ced71b7617c
>   
>   install : $(TARGET)
>   
> @@ -70,6 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) :
>   $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>   	@$(PREBUILD)
>   	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> +	cd $(DIR_APP) && ./autogen.sh
>   	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)
  

Patch

diff --git a/config/rootfiles/common/screen b/config/rootfiles/common/screen
index b30c8ddb5..b1e74e734 100644
--- a/config/rootfiles/common/screen
+++ b/config/rootfiles/common/screen
@@ -1,6 +1,6 @@ 
 etc/screenrc
 usr/bin/screen
-usr/bin/screen-4.8.0
+usr/bin/screen-4.9.0
 #usr/share/info/screen.info
 #usr/share/man/man1/screen.1
 #usr/share/screen
diff --git a/lfs/screen b/lfs/screen
index 3699d83d8..a78905970 100644
--- a/lfs/screen
+++ b/lfs/screen
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 4.8.0
+VER        = 4.9.0
 
 THISAPP    = screen-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 97ef6f18bf2c63c477260b742ac0b3501f112d380c41ccecc5cf2853db853cc62d4fd6d37edeca35fb41a43b76d98a5cfe160749c992d284f9764b0a0fdcc778
+$(DL_FILE)_BLAKE2 = 0f64a14ce9a719bd4a6d045c55069769045a09ee2086c44c2e3d9da6d1e5ada2f094e00e16029767e1155ce35d4f360d0e2879995eefa052f3214ced71b7617c
 
 install : $(TARGET)
 
@@ -70,6 +70,7 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && ./autogen.sh
 	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)