bash: switch to release tarball

Yay!
The release tarball allows us to drop sizable in-tree patches, so switch
to it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-11-07 13:08:29 -03:00 committed by Peter Korsgaard
parent fc902d92d7
commit e97171db81
7 changed files with 2 additions and 5508 deletions

View File

@ -1,31 +0,0 @@
Let mkbuiltins use config.h even if cross compiling
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
builtins/mkbuiltins.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c
index cdd45e4..1349093 100644
--- a/builtins/mkbuiltins.c
+++ b/builtins/mkbuiltins.c
@@ -19,16 +19,7 @@
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
-#if !defined (CROSS_COMPILING)
# include <config.h>
-#else /* CROSS_COMPILING */
-/* A conservative set of defines based on POSIX/SUS3/XPG6 */
-# define HAVE_UNISTD_H
-# define HAVE_STRING_H
-# define HAVE_STDLIB_H
-
-# define HAVE_RENAME
-#endif /* CROSS_COMPILING */
#if defined (HAVE_UNISTD_H)
# ifdef _MINIX
--
1.7.2.2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,64 +0,0 @@
http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-029 with
a slight tweak for the patch prefix.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
BASH PATCH REPORT
=================
Bash-Release: 4.3
Patch-ID: bash43-029
Bug-Reported-by: Michal Zalewski <lcamtuf@coredump.cx>
Bug-Reference-ID:
Bug-Reference-URL:
Bug-Description:
When bash is parsing a function definition that contains a here-document
delimited by end-of-file (or end-of-string), it leaves the closing delimiter
uninitialized. This can result in an invalid memory access when the parsed
function is later copied.
Patch (apply with `patch -p0'):
*** a/make_cmd.c 2011-12-16 08:08:01.000000000 -0500
--- b/make_cmd.c 2014-10-02 11:24:23.000000000 -0400
***************
*** 693,696 ****
--- 693,697 ----
temp->redirector = source;
temp->redirectee = dest_and_filename;
+ temp->here_doc_eof = 0;
temp->instruction = instruction;
temp->flags = 0;
*** a/copy_cmd.c 2009-09-11 16:28:02.000000000 -0400
--- b/copy_cmd.c 2014-10-02 11:24:23.000000000 -0400
***************
*** 127,131 ****
case r_reading_until:
case r_deblank_reading_until:
! new_redirect->here_doc_eof = savestring (redirect->here_doc_eof);
/*FALLTHROUGH*/
case r_reading_string:
--- 127,131 ----
case r_reading_until:
case r_deblank_reading_until:
! new_redirect->here_doc_eof = redirect->here_doc_eof ? savestring (redirect->here_doc_eof) : 0;
/*FALLTHROUGH*/
case r_reading_string:
*** a/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
--- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
***************
*** 26,30 ****
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 28
#endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
looks for to find the patch level (for the sccs version string). */
! #define PATCHLEVEL 29
#endif /* _PATCHLEVEL_H_ */

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
# Locally calculated after checking pgp signature
sha256 afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4 bash-4.3.tar.gz
sha256 317881019bbf2262fb814b7dd8e40632d13c3608d2f237800a8828fbb8a640dd bash-4.3.30.tar.gz

View File

@ -4,7 +4,7 @@
#
################################################################################
BASH_VERSION = 4.3
BASH_VERSION = 4.3.30
BASH_SITE = $(BR2_GNU_MIRROR)/bash
# Build after since bash is better than busybox shells
BASH_DEPENDENCIES = ncurses readline host-bison \