From d5e8807fc006a94547b5ffa6eb8fac258d720d5e Mon Sep 17 00:00:00 2001 From: kre Date: Fri, 25 Nov 2022 18:20:46 +0000 Subject: Update shells/bash from 5.2.9 to 5.2.12 by adding the latest 3 patches. These 3 new patches fix the following bugs: Patch 10: Bash-5.2 checkr the first 128 characters of an executable file that execve() refuses to execute to see whether it's a binary file before trying to execute it as a shell script. This defeats some previously-supported use cases like "self-executing" jar files or "self-uncompressing" scripts. Patch 11: Using timeouts and readline editing with the `read' builtin (read -e -t) can leave the readline timeout enabled, potentially resulting in an erroneous timeout on the next call. Patch 12: When running in bash compatibility mode, nested command substitutions can leave the `extglob' option enabled. --- shells/bash/Makefile | 7 ++++--- shells/bash/distinfo | 11 ++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'shells') diff --git a/shells/bash/Makefile b/shells/bash/Makefile index ab04b394a66..e72ccd87530 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.106 2022/11/08 16:39:49 kre Exp $ +# $NetBSD: Makefile,v 1.107 2022/11/25 18:20:46 kre Exp $ BASH_VERSION= 5.2 -BASH_PATCHLEVEL= 9 +BASH_PATCHLEVEL= 12 DISTNAME= bash-${BASH_VERSION} PKGNAME= bash-${BASH_VERSION}.${BASH_PATCHLEVEL} @@ -10,7 +10,8 @@ MASTER_SITES= ${MASTER_SITE_GNU:=bash/} PATCH_SITES= ${MASTER_SITES:=bash-5.2-patches/} PATCHFILES+= bash52-001 bash52-002 bash52-003 bash52-004 bash52-005 -PATCHFILES+= bash52-006 bash52-007 bash52-008 bash52-009 +PATCHFILES+= bash52-006 bash52-007 bash52-008 bash52-009 bash52-010 +PATCHFILES+= bash52-011 bash52-012 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://www.gnu.org/software/bash/bash.html diff --git a/shells/bash/distinfo b/shells/bash/distinfo index 94f211df0d2..feac7fd2a1f 100644 --- a/shells/bash/distinfo +++ b/shells/bash/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.74 2022/11/08 16:39:49 kre Exp $ +$NetBSD: distinfo,v 1.75 2022/11/25 18:20:46 kre Exp $ BLAKE2s (bash-5.2.tar.gz) = 430755ea2af4903dba2bdbeffd4d861edb9f54c248071362f0d14f15171764cd SHA512 (bash-5.2.tar.gz) = 5647636223ba336bf33e0c65e516d8ebcf6932de8b44f37bc468eedb87579c628ad44213f78534beb10f47aebb9c6fa670cb0bed3b4e7717e5faf7e9a1ef81ae @@ -30,6 +30,15 @@ Size (bash52-008) = 1771 bytes BLAKE2s (bash52-009) = e91a935ace0ba2650e91ce0fe7482cdccbff37c9d0ebab148e682feece5953f1 SHA512 (bash52-009) = 71fffb71e5876e7abea7e769f4438f2f8d3843d7dfec13f1ba7e79ead5b001d7543c92eb3a628b393f8652bf136e4768c1d1c7b55c155cafe83886b900396e68 Size (bash52-009) = 1316 bytes +BLAKE2s (bash52-010) = 1c2e9c5012b29feca17550832ab8c46b371d6f46b3d5f6bf20c5dd825a1c342a +SHA512 (bash52-010) = 12d120e39593d3f23aa86e510b0eda514ec69ef42e910e5855e4c7510354e8504e5d6949770448f5632ce482c9ab468f4ba82a8a38b4a8237cdd7b54f742946a +Size (bash52-010) = 2045 bytes +BLAKE2s (bash52-011) = 04bd4027dac0079da2dbbaa47a2cc00dcf4b994689693a56a51babcd55b63518 +SHA512 (bash52-011) = 83a7584ca8ee512839183e329183476a2c8bcb995e3dc9d5188f04f11760bd3cb0f2d29d12bca2661b7ce8ab125d44d35d839f735992ca6c27f936d609ac4683 +Size (bash52-011) = 1229 bytes +BLAKE2s (bash52-012) = b980049d0314616909334aa332dbe55e7f2c4be0cab342a2b35342ca98d4c9af +SHA512 (bash52-012) = 8f969cb36ee81ac47a4c3c6ee7fbe62159192fa4f14cb48973eccd55c458e6a093adc3045ee1c379544d8183d77813977a43cad5d225322d8816540a1cb8893b +Size (bash52-012) = 9107 bytes SHA1 (patch-af) = e26e3209902247263884cfebc11a2f7e43245062 SHA1 (patch-ag) = cd3b151e3bb045d2bb609c0a03d7d3df2c871f47 SHA1 (patch-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0 -- cgit v1.2.3