Skip to contentSkip to conversation

bash: upgrade to 4.3

PATCH New Hongxu Jia 1 participant 3 messages Mar 3, 2014

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover bash: upgrade to 4.3

The following changes since commit 54c2e993ec129563c7ae9f3fdee74ab60da28698:

bsps: update H/W reference boards to v3.10.32 (2014-03-02 17:25:30 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/bash
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/bash

Hongxu Jia (2):
bash: upgrade to 4.3
bash: update build-tests.patch

 .../bash/{bash-4.2 => bash}/build-tests.patch      | 33 ++++++++------
 .../bash/{bash-4.2 => bash}/execute_cmd.patch      |  0
 .../mkbuiltins_have_stringize.patch                |  0
 .../bash/{bash-4.2 => bash}/run-ptest              |  0
 .../bash/{bash-4.2 => bash}/test-output.patch      |  0
 meta/recipes-extended/bash/bash_4.2.bb             | 50 ----------------------
 meta/recipes-extended/bash/bash_4.3.bb             | 18 ++++++++
 7 files changed, 38 insertions(+), 63 deletions(-)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/build-tests.patch (51%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/execute_cmd.patch (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/mkbuiltins_have_stringize.patch (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/run-ptest (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/test-output.patch (100%)
 delete mode 100644 meta/recipes-extended/bash/bash_4.2.bb
 create mode 100644 meta/recipes-extended/bash/bash_4.3.bb
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/2 bash: upgrade to 4.3

The bash-4.2-patches is obsolete.

---
 .../bash/{bash-4.2 => bash}/execute_cmd.patch      |  0
 .../mkbuiltins_have_stringize.patch                |  0
 .../bash/{bash-4.2 => bash}/run-ptest              |  0
 .../bash/{bash-4.2 => bash}/test-output.patch      |  0
 meta/recipes-extended/bash/bash_4.2.bb             | 50 ----------------------
 meta/recipes-extended/bash/bash_4.3.bb             | 18 ++++++++
 6 files changed, 18 insertions(+), 50 deletions(-)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/execute_cmd.patch (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/mkbuiltins_have_stringize.patch (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/run-ptest (100%)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/test-output.patch (100%)
 delete mode 100644 meta/recipes-extended/bash/bash_4.2.bb
 create mode 100644 meta/recipes-extended/bash/bash_4.3.bb
meta/recipes-extended/bash/bash/execute_cmd.patch renamed from meta/recipes-extended/bash/bash-4.2/execute_cmd.patch +0 -0
similarity index 100%
rename from meta/recipes-extended/bash/bash-4.2/execute_cmd.patch
rename to meta/recipes-extended/bash/bash/execute_cmd.patch
meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch renamed from meta/recipes-extended/bash/bash-4.2/mkbuiltins_have_stringize.patch +0 -0
similarity index 100%
rename from meta/recipes-extended/bash/bash-4.2/mkbuiltins_have_stringize.patch
rename to meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch
meta/recipes-extended/bash/bash/run-ptest renamed from meta/recipes-extended/bash/bash-4.2/run-ptest +0 -0
similarity index 100%
rename from meta/recipes-extended/bash/bash-4.2/run-ptest
rename to meta/recipes-extended/bash/bash/run-ptest
meta/recipes-extended/bash/bash/test-output.patch renamed from meta/recipes-extended/bash/bash-4.2/test-output.patch +0 -0
similarity index 100%
rename from meta/recipes-extended/bash/bash-4.2/test-output.patch
rename to meta/recipes-extended/bash/bash/test-output.patch
meta/recipes-extended/bash/bash_4.2.bb deleted +0 -50

50 lines not on this page · raw message

meta/recipes-extended/bash/bash_4.3.bb new file +18 -0
new file mode 100644
index 0000000..25b7410
@@ -0,0 +1,18 @@
+require bash.inc
+
+# GPLv2+ (< 4.0), GPLv3+ (>= 4.0)
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
+           file://execute_cmd.patch;striplevel=0 \
+           file://mkbuiltins_have_stringize.patch \
+           file://build-tests.patch \
+           file://test-output.patch \
+           file://run-ptest \
+           "
+
+SRC_URI[tarball.md5sum] = "81348932d5da294953e15d4814c74dd1"
+SRC_URI[tarball.sha256sum] = "afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4"
+
+BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.8.1.2
author
#2 lore raw

PATCH 2/2 bash: update build-tests.patch

In reply to Hongxu Jia
---
 .../bash/{bash-4.2 => bash}/build-tests.patch      | 33 +++++++++++++---------
 1 file changed, 20 insertions(+), 13 deletions(-)
 rename meta/recipes-extended/bash/{bash-4.2 => bash}/build-tests.patch (51%)
meta/recipes-extended/bash/bash/build-tests.patch renamed from meta/recipes-extended/bash/bash-4.2/build-tests.patch +20 -13
similarity index 51%
rename from meta/recipes-extended/bash/bash-4.2/build-tests.patch
rename to meta/recipes-extended/bash/bash/build-tests.patch
index 0360881..73a81b6 100644
@@ -1,29 +1,33 @@
 Add 'ptest' target to Makefile, to run tests without checking dependencies.
 
-Signed-off-by: Anders Roxell <[email protected]>
 Upstream-Status: Pending
+Signed-off-by: Anders Roxell <[email protected]>
+Signed-off-by: Hongxu Jia <[email protected]>
 ---
-diff -uNr a/Makefile.in b/Makefile.in
---- a/Makefile.in	2012-11-06 08:40:07.552403063 +0100
-+++ b/Makefile.in	2012-11-06 11:13:36.958297555 +0100
-@@ -827,20 +827,34 @@
+ Makefile.in | 24 +++++++++++++++++++-----
+ 1 file changed, 19 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -848,20 +848,34 @@ maybe-clean:
  	fi
  
  recho$(EXEEXT):		$(SUPPORT_SRC)recho.c
--	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
-+	@$(CC) $(CCFLAGS) -o $@ $<
+-	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
++	@$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $<
  
  zecho$(EXEEXT):		$(SUPPORT_SRC)zecho.c
--	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
-+	@$(CC) $(CCFLAGS) -o $@ $<
+-	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
++	@$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $<
  
  printenv$(EXEEXT):	$(SUPPORT_SRC)printenv.c
--	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
-+	@$(CC) $(CCFLAGS) -o $@ $<
+-	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
++	@$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $<
  
  xcase$(EXEEXT):	$(SUPPORT_SRC)xcase.c
--	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
-+	@$(CC) $(CCFLAGS) -o $@ $<
+-	@$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD}
++	@$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $<
  
 -test tests check:	force $(Program) $(TESTS_SUPPORT)
 +test tests check:
@@ -46,3 +50,6 @@ diff -uNr a/Makefile.in b/Makefile.in
  	@( cd $(srcdir)/tests && \
  		PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} )
  
+-- 
+1.8.1.2
+
Signature · 1 line
1.8.1.2