Commit Graph

41 Commits

Author SHA1 Message Date
Ariel Xiong
dab90ec210 bash: add CFLAGS_FOR_BUILD="-std=gnu17" flag
Fix #26469
add CFLAGS_FOR_BUILD="-std=gnu17" flag

Signed-off-by: Ariel Xiong <ArielHeleneto@outlook.com>
2025-06-02 09:19:47 +02:00
Ariel Xiong
ca2b5ea51f bash: bump to 5.2.37
fix autoconf test for broken strtold
fix for parsing compound assignment while expanding alias
fix compilation on systems that provide select or pselect but not both
fix for reading partial invalid multibyte characters
fix issue where comparing quoted and unquoted words to be completed results in readline not displaying possible matches

Signed-off-by: Ariel Xiong <ArielHeleneto@outlook.com>
2025-06-02 09:19:07 +02:00
Aleksey Vasilenko
928ad5766e bash: update to 5.2.32
Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2024-08-31 23:13:18 +08:00
krant
505c091ebe bash: update to 5.2.21
- Switch package URL to HTTPS

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-11 14:21:02 -08:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Josef Schlehofer
f350e2c2cb bash: update to version 5.2.15
Refreshed patches

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-01-20 04:47:30 +01:00
Huangbin Zhan
15c6fa3ddd bash: update to 5.1.16
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2022-01-10 17:01:48 -08:00
Huangbin Zhan
2977360e46 bash: add /etc/profile.d/sys_bashrc.sh as conffile
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2022-01-10 17:01:48 -08:00
Rosen Penev
069f1a80b6 bash: update to 5.1.8
Switch to AUTORELEASE for simplicity.

Remove upstream backports.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-21 00:15:52 -07:00
Philip Prindeville
fd9012836a bash: fixing missing PARAMS() macro in strtod.c
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-04-03 18:57:09 -07:00
Huangbin Zhan
326315425a bash: import upstream patches for 5.1
Source:
https://ftp.gnu.org/gnu/bash/bash-5.1-patches/bash51-001
https://ftp.gnu.org/gnu/bash/bash-5.1-patches/bash51-002
https://ftp.gnu.org/gnu/bash/bash-5.1-patches/bash51-003
https://ftp.gnu.org/gnu/bash/bash-5.1-patches/bash51-004

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-12-30 23:09:41 +08:00
Rosen Penev
fd0188383f bash: update to 5.1
Remove upstreamed patches.

Refresh others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-08 16:57:38 -08:00
Jeffery To
1929baac6d bash: Enable system-wide .bashrc file, source /etc/shinit
This enables a system-wide .bashrc file (/etc/bash.bashrc), as well as
some other options related to startup files, and sources /etc/shinit for
interactive shells.

Fixes https://bugs.openwrt.org/index.php?do=details&task_id=3019.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-29 04:38:24 +08:00
Jeffery To
dc5f2df6a4 bash: Import upstream patches
Source:
https://ftp.gnu.org/gnu/bash/bash-5.0-patches/
(bash50-003 to bash50-017)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-29 04:38:24 +08:00
Jan Pavlinec
299e5b0a9b treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Sven Eckelmann
bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Daniel Engberg
aa1d7d134c utils/bash: Import upstream patches for 5.0
Source:
ftp://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-001
ftp://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-002

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-02-09 13:41:43 +00:00
Daniel Engberg
c48a405b23 utils/bash: Update to 5.0
Update bash to 5.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-01-24 20:20:53 +08:00
Yousong Zhou
0cb460a2a7 bash: style and doc fix
The patch is about job control in general instead of the builtin jobs
command

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:15:55 +08:00
Yousong Zhou
d859554090 bash: fix postinst script
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:14:50 +08:00
Daniel Engberg
3f414a0a67 utils/bash: Update to 4.4.18
- Update bash to 4.4.18
 - Enable PKG_CHECK_FORMAT_SECURITY
 - Use shared libreadline
 - Enable job control

Fixes #5796, Closes #5858

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 15:47:07 +08:00
Iván Atienza
885ddf9b68 bash: version bump to 4.4.12
Signed-off-by: Iván Atienza <gentoo.power@gmail.com>
2017-09-15 16:11:57 +02:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Alberto Bursi
2c563af997 bash: move to Shells submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 17:50:14 +02:00
Marcel Denia
dd1e65bedf bash: Update to 4.3.42
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-08-25 21:27:55 +02:00
Marcel Denia
5fa4fc4884 bash: Update to 4.3.39
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-05-22 07:16:26 +02:00
Marcel Denia
25e6fcbb85 bash: Update to 4.3.33
Signed-off-by: Marcel Denia <naoir@gmx.net>
2015-02-16 17:01:01 +01:00
Etienne CHAMPETIER
1f22b19d04 PKG_CHECK_FORMAT_SECURITY: disable it for the failing packages (for now)
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
2014-10-15 22:24:06 +02:00
Marcel Denia
1d512d2843 bash: Update to 4.3.30
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-10-07 06:26:18 +02:00
Jo-Philipp Wich
f195dcf02c bash: Update to 4.3.26
* Fixes CVE-2014-7169.
 * Fix two out-of-bounds array accesses in the bash parser
 * Add prefix & suffix to variables containing exported functions

Ref: http://seclists.org/oss-sec/2014/q3/712

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-09-26 11:33:41 +02:00
Marcel Denia
cf96901360 bash: Update to 4.3.25
Fixes CVE-2014-6271.

Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-09-24 21:18:18 +02:00
Marcel Denia
14088effd4 bash: Update to 4.3.24
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-09-03 21:34:24 +02:00
Marcel Denia
a6295b2f99 bash: Adopt to SPDX license identifiers
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-18 12:59:34 +02:00
Marcel Denia
c0edfe822c bash: Add myself as maintainer
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:35 +02:00
Marcel Denia
a2f3e96ad1 bash: Add licensing information
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:35 +02:00
Marcel Denia
4b4c62a930 bash: Clean up
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:35 +02:00
Marcel Denia
bdbd767fac bash: Add upstream patches
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:35 +02:00
Marcel Denia
f73ee0d75d bash: Refresh patches
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:34 +02:00
Marcel Denia
dddc01bbbe bash: Update to 4.3
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:34 +02:00
Marcel Denia
38862cb6db bash: Remove old upstream patches
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:34 +02:00
Marcel Denia
f9288fa550 Import oldpackages/bash
Signed-off-by: Marcel Denia <naoir@gmx.net>
2014-08-09 01:28:34 +02:00