From: Wei-Ting Yang Date: Fri, 2 Jan 2026 13:07:27 +0000 (+0800) Subject: bash: update to 5.3 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7c822261b0436ed025391891e4aa4b1848c1889e;p=openwrt-packages.git bash: update to 5.3 Release notes: https://www.mail-archive.com/bug-bash@gnu.org/msg34422.html - Drop 902-missing-params.patch, as the issue (openwrt/packages#15006) no longer occurs. - Refresh remaining patches. - Take over package maintenance. Signed-off-by: Wei-Ting Yang --- diff --git a/utils/bash/Makefile b/utils/bash/Makefile index 6d9cdd4e2..c14f7009d 100644 --- a/utils/bash/Makefile +++ b/utils/bash/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2015 OpenWrt.org +# Copyright (C) 2007-2026 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bash -PKG_VERSION:=5.2.37 +PKG_VERSION:=5.3 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/bash -PKG_HASH:=9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff +PKG_HASH:=0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba -PKG_MAINTAINER:=Marcel Denia +PKG_MAINTAINER:=Wei-Ting Yang PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE_FILES:=COPYING PKG_CPE_ID:=cpe:/a:gnu:bash @@ -102,4 +102,3 @@ define Package/bash/install endef $(eval $(call BuildPackage,bash)) - diff --git a/utils/bash/patches/900-no_doc.patch b/utils/bash/patches/900-no_doc.patch index 9e9977c61..cf10e3043 100644 --- a/utils/bash/patches/900-no_doc.patch +++ b/utils/bash/patches/900-no_doc.patch @@ -1,13 +1,13 @@ --- a/Makefile.in +++ b/Makefile.in -@@ -813,10 +813,8 @@ loadables: - # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir) +@@ -880,10 +880,8 @@ loadables: .made + # $(MAKE) -f $(srcdir)/Makefile $(BASH_MAKEFLAGS) srcdir=$(srcdir) doc documentation: force -- @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) ) +- @(cd $(DOCDIR) ; $(MAKE) $(BASH_MAKEFLAGS) ) - info dvi ps: force -- @(cd $(DOCDIR) ; $(MAKE) $(MFLAGS) CFLAGS='$(CCFLAGS)' $@ ) + info dvi ps pdf html: force +- @(cd $(DOCDIR) ; $(MAKE) $(BASH_MAKEFLAGS) CFLAGS='$(CCFLAGS)' $@ ) force: diff --git a/utils/bash/patches/901-startup-files.patch b/utils/bash/patches/901-startup-files.patch index 428298ddc..8f9b1ad77 100644 --- a/utils/bash/patches/901-startup-files.patch +++ b/utils/bash/patches/901-startup-files.patch @@ -1,6 +1,6 @@ --- a/config-top.h +++ b/config-top.h -@@ -97,20 +97,20 @@ +@@ -92,20 +92,20 @@ #define DEFAULT_BASHRC "~/.bashrc" /* System-wide .bashrc file for interactive shells. */ diff --git a/utils/bash/patches/902-missing-params.patch b/utils/bash/patches/902-missing-params.patch deleted file mode 100644 index 45d328168..000000000 --- a/utils/bash/patches/902-missing-params.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lib/sh/strtod.c -+++ b/lib/sh/strtod.c -@@ -41,6 +41,8 @@ extern int errno; - - #include - -+#include -+ - #ifndef NULL - # define NULL 0 - #endif