diff options
Diffstat (limited to 'meta/recipes-extended/bash')
-rw-r--r-- | meta/recipes-extended/bash/bash-3.2.48/build-tests.patch | 44 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash-3.2.48/mkbuiltins_have_stringize.patch | 29 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash-3.2.48/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash-3.2.48/test-output.patch | 25 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 58 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash/build-tests.patch | 55 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash/execute_cmd.patch | 17 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch | 26 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash/test-output.patch | 25 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash_3.2.48.bb | 43 | ||||
-rw-r--r-- | meta/recipes-extended/bash/bash_4.3.bb | 109 |
12 files changed, 435 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch b/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch new file mode 100644 index 0000000000..91341ee696 --- /dev/null +++ b/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | Add 'ptest' target to Makefile, to run tests without checking dependencies. | ||
2 | |||
3 | Signed-off-by: Anders Roxell <anders.roxell@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | --- | ||
6 | diff -dNaur bash-3.2.48/Makefile.in.orig bash-3.2.48/Makefile.in | ||
7 | --- bash-3.2.48/Makefile.in.orig 2006-08-17 23:03:35.000000000 +0500 | ||
8 | +++ bash-3.2.48/Makefile.in 2013-07-02 20:20:07.512709327 +0500 | ||
9 | @@ -803,17 +803,31 @@ | ||
10 | fi | ||
11 | |||
12 | recho$(EXEEXT): $(SUPPORT_SRC)recho.c | ||
13 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD} | ||
14 | + @$(CC) $(CCFLAGS) -o $@ $< | ||
15 | |||
16 | zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c | ||
17 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD} | ||
18 | + @$(CC) $(CCFLAGS) -o $@ $< | ||
19 | |||
20 | printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c | ||
21 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD} | ||
22 | + @$(CC) $(CCFLAGS) -o $@ $< | ||
23 | |||
24 | -test tests check: force $(Program) $(TESTS_SUPPORT) | ||
25 | +test tests check: | ||
26 | + @$(MAKE) install-test | ||
27 | + @$(MAKE) runtest | ||
28 | + | ||
29 | +install-test: buildtest | ||
30 | +ifeq ($(origin INSTALL_TEST_DIR), undefined) | ||
31 | @-test -d tests || mkdir tests | ||
32 | @cp $(TESTS_SUPPORT) tests | ||
33 | +else | ||
34 | + @-test -d $(INSTALL_TEST_DIR) || mkdir -p $(INSTALL_TEST_DIR) | ||
35 | + @cp -r $(srcdir)/tests/* $(INSTALL_TEST_DIR)/ | ||
36 | + @cp $(TESTS_SUPPORT) $(INSTALL_TEST_DIR) | ||
37 | +endif | ||
38 | + | ||
39 | +buildtest: force $(Program) $(TESTS_SUPPORT) | ||
40 | + | ||
41 | +runtest: | ||
42 | @( cd $(srcdir)/tests && \ | ||
43 | PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} ) | ||
44 | |||
diff --git a/meta/recipes-extended/bash/bash-3.2.48/mkbuiltins_have_stringize.patch b/meta/recipes-extended/bash/bash-3.2.48/mkbuiltins_have_stringize.patch new file mode 100644 index 0000000000..c4229a7ed9 --- /dev/null +++ b/meta/recipes-extended/bash/bash-3.2.48/mkbuiltins_have_stringize.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by | ||
2 | the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers | ||
3 | use the STRING() macro from unistd.h. A header in the bash sources overrides | ||
4 | the unistd.h macro to 'x' when HAVE_STRINGIZE is not defined, causing the | ||
5 | wrappers to generate calls to 'xread' and 'xopen', which do not exist, | ||
6 | resulting in a failure to link. | ||
7 | |||
8 | Assume we have stringize support when cross-compiling, which works around the | ||
9 | issue. | ||
10 | |||
11 | It may be best for upstream to either give up on supporting compilers without | ||
12 | stringize support, or to not define STRING() at all when FORTIFY_SOURCES is | ||
13 | defined, letting the unistd.h one be used, instead. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
18 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
19 | |||
20 | --- bash-4.2.orig/builtins/mkbuiltins.c | ||
21 | +++ bash-4.2/builtins/mkbuiltins.c | ||
22 | @@ -28,6 +28,7 @@ | ||
23 | # define HAVE_STDLIB_H | ||
24 | |||
25 | # define HAVE_RENAME | ||
26 | +# define HAVE_STRINGIZE | ||
27 | #endif /* CROSS_COMPILING */ | ||
28 | |||
29 | #if defined (HAVE_UNISTD_H) | ||
diff --git a/meta/recipes-extended/bash/bash-3.2.48/run-ptest b/meta/recipes-extended/bash/bash-3.2.48/run-ptest new file mode 100644 index 0000000000..8dd3b9981d --- /dev/null +++ b/meta/recipes-extended/bash/bash-3.2.48/run-ptest | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | make -k THIS_SH=/bin/bash BUILD_DIR=. runtest | ||
diff --git a/meta/recipes-extended/bash/bash-3.2.48/test-output.patch b/meta/recipes-extended/bash/bash-3.2.48/test-output.patch new file mode 100644 index 0000000000..2b09b7d977 --- /dev/null +++ b/meta/recipes-extended/bash/bash-3.2.48/test-output.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Add FAIL/PASS output to test output. | ||
2 | |||
3 | Signed-off-by: Björn Stenberg <bjst@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | --- | ||
6 | diff -uNr a/tests/run-all b/tests/run-all | ||
7 | --- a/tests/run-all 1999-10-08 17:07:46.000000000 +0200 | ||
8 | +++ b/tests/run-all 2012-10-27 21:04:18.663331887 +0200 | ||
9 | @@ -22,7 +22,15 @@ | ||
10 | case $x in | ||
11 | $0|run-minimal|run-gprof) ;; | ||
12 | *.orig|*~) ;; | ||
13 | - *) echo $x ; sh $x ;; | ||
14 | + *) echo $x | ||
15 | + output=`sh $x` | ||
16 | + if [ -n "$output" ]; then | ||
17 | + echo "$output" | ||
18 | + echo "FAIL: $x" | ||
19 | + else | ||
20 | + echo "PASS: $x" | ||
21 | + fi | ||
22 | + ;; | ||
23 | esac | ||
24 | done | ||
25 | |||
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc new file mode 100644 index 0000000000..d35d25cc92 --- /dev/null +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -0,0 +1,58 @@ | |||
1 | SUMMARY = "An sh-compatible command language interpreter" | ||
2 | HOMEPAGE = "http://tiswww.case.edu/php/chet/bash/bashtop.html" | ||
3 | SECTION = "base/shell" | ||
4 | |||
5 | DEPENDS = "ncurses bison-native" | ||
6 | |||
7 | inherit autotools-brokensep gettext texinfo update-alternatives ptest | ||
8 | |||
9 | PARALLEL_MAKE = "" | ||
10 | |||
11 | EXTRA_OECONF = "--enable-job-control" | ||
12 | |||
13 | ALTERNATIVE_${PN} = "sh" | ||
14 | ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" | ||
15 | ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" | ||
16 | ALTERNATIVE_PRIORITY = "100" | ||
17 | |||
18 | export AUTOHEADER = "true" | ||
19 | |||
20 | RDEPENDS_${PN} += "base-files" | ||
21 | RDEPENDS_${PN}_class-nativesdk = "" | ||
22 | RDEPENDS_${PN}-ptest += "make" | ||
23 | |||
24 | do_configure_prepend () { | ||
25 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
26 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
27 | fi | ||
28 | } | ||
29 | |||
30 | do_compile_ptest () { | ||
31 | oe_runmake buildtest | ||
32 | } | ||
33 | |||
34 | do_install_append () { | ||
35 | # Move /usr/bin/bash to /bin/bash, if need | ||
36 | if [ "${base_bindir}" != "${bindir}" ]; then | ||
37 | mkdir -p ${D}${base_bindir} | ||
38 | mv ${D}${bindir}/bash ${D}${base_bindir} | ||
39 | fi | ||
40 | } | ||
41 | do_install_append_class-target () { | ||
42 | # Clean host path in bashbug | ||
43 | sed -i -e "s,${STAGING_DIR_TARGET},,g" ${D}${bindir}/bashbug | ||
44 | } | ||
45 | |||
46 | do_install_ptest () { | ||
47 | make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test | ||
48 | cp ${B}/Makefile ${D}${PTEST_PATH} | ||
49 | sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile | ||
50 | } | ||
51 | |||
52 | pkg_postinst_${PN} () { | ||
53 | grep -q "^${base_bindir}/bash$" $D${sysconfdir}/shells || echo ${base_bindir}/bash >> $D${sysconfdir}/shells | ||
54 | } | ||
55 | |||
56 | pkg_postrm_${PN} () { | ||
57 | printf "$(grep -v "^${base_bindir}/bash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells | ||
58 | } | ||
diff --git a/meta/recipes-extended/bash/bash/build-tests.patch b/meta/recipes-extended/bash/bash/build-tests.patch new file mode 100644 index 0000000000..73a81b60da --- /dev/null +++ b/meta/recipes-extended/bash/bash/build-tests.patch | |||
@@ -0,0 +1,55 @@ | |||
1 | Add 'ptest' target to Makefile, to run tests without checking dependencies. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Anders Roxell <anders.roxell@enea.com> | ||
5 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
6 | --- | ||
7 | Makefile.in | 24 +++++++++++++++++++----- | ||
8 | 1 file changed, 19 insertions(+), 5 deletions(-) | ||
9 | |||
10 | diff --git a/Makefile.in b/Makefile.in | ||
11 | --- a/Makefile.in | ||
12 | +++ b/Makefile.in | ||
13 | @@ -848,20 +848,34 @@ maybe-clean: | ||
14 | fi | ||
15 | |||
16 | recho$(EXEEXT): $(SUPPORT_SRC)recho.c | ||
17 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD} | ||
18 | + @$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $< | ||
19 | |||
20 | zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c | ||
21 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD} | ||
22 | + @$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $< | ||
23 | |||
24 | printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c | ||
25 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD} | ||
26 | + @$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $< | ||
27 | |||
28 | xcase$(EXEEXT): $(SUPPORT_SRC)xcase.c | ||
29 | - @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) ${LDFLAGS_FOR_BUILD} -o $@ $(SUPPORT_SRC)xcase.c ${LIBS_FOR_BUILD} | ||
30 | + @$(CC) $(CCFLAGS) ${LDFLAGS} -o $@ $< | ||
31 | |||
32 | -test tests check: force $(Program) $(TESTS_SUPPORT) | ||
33 | +test tests check: | ||
34 | + @$(MAKE) install-test | ||
35 | + @$(MAKE) runtest | ||
36 | + | ||
37 | +install-test: buildtest | ||
38 | +ifeq ($(origin INSTALL_TEST_DIR), undefined) | ||
39 | @-test -d tests || mkdir tests | ||
40 | @cp $(TESTS_SUPPORT) tests | ||
41 | +else | ||
42 | + @-test -d $(INSTALL_TEST_DIR) || mkdir -p $(INSTALL_TEST_DIR) | ||
43 | + @cp -r $(srcdir)/tests/* $(INSTALL_TEST_DIR)/ | ||
44 | + @cp $(TESTS_SUPPORT) $(INSTALL_TEST_DIR) | ||
45 | +endif | ||
46 | + | ||
47 | +buildtest: force $(Program) $(TESTS_SUPPORT) | ||
48 | + | ||
49 | +runtest: | ||
50 | @( cd $(srcdir)/tests && \ | ||
51 | PATH=$(BUILD_DIR)/tests:$$PATH THIS_SH=$(THIS_SH) $(SHELL) ${TESTSCRIPT} ) | ||
52 | |||
53 | -- | ||
54 | 1.8.1.2 | ||
55 | |||
diff --git a/meta/recipes-extended/bash/bash/execute_cmd.patch b/meta/recipes-extended/bash/bash/execute_cmd.patch new file mode 100644 index 0000000000..81f8f0a9cd --- /dev/null +++ b/meta/recipes-extended/bash/bash/execute_cmd.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | --- execute_cmd.c.orig Fri Jun 3 13:34:42 2011 | ||
4 | +++ execute_cmd.c Fri Jun 3 13:36:41 2011 | ||
5 | @@ -2202,7 +2202,11 @@ | ||
6 | /* If the `lastpipe' option is set with shopt, and job control is not | ||
7 | enabled, execute the last element of non-async pipelines in the | ||
8 | current shell environment. */ | ||
9 | - if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) | ||
10 | + if (lastpipe_opt && | ||
11 | +#if defined(JOB_CONTROL) | ||
12 | + job_control == 0 && | ||
13 | +#endif | ||
14 | + asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) | ||
15 | { | ||
16 | lstdin = move_to_high_fd (0, 0, 255); | ||
17 | if (lstdin > 0) | ||
diff --git a/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch b/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch new file mode 100644 index 0000000000..a9391d6cac --- /dev/null +++ b/meta/recipes-extended/bash/bash/mkbuiltins_have_stringize.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | On hosts with FORTIFY_SOURCES, stringize support is required, as it's used by | ||
2 | the macros to wrap functions (e.g. read and open in unistd.h). Those wrappers | ||
3 | use the STRING() macro from unistd.h. A header in the bash sources overrides | ||
4 | the unistd.h macro to 'x' when HAVE_STRINGIZE is not defined, causing the | ||
5 | wrappers to generate calls to 'xread' and 'xopen', which do not exist, | ||
6 | resulting in a failure to link. | ||
7 | |||
8 | Assume we have stringize support when cross-compiling, which works around the | ||
9 | issue. | ||
10 | |||
11 | It may be best for upstream to either give up on supporting compilers without | ||
12 | stringize support, or to not define STRING() at all when FORTIFY_SOURCES is | ||
13 | defined, letting the unistd.h one be used, instead. | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | |||
17 | --- bash-4.2.orig/builtins/mkbuiltins.c | ||
18 | +++ bash-4.2/builtins/mkbuiltins.c | ||
19 | @@ -28,6 +28,7 @@ | ||
20 | # define HAVE_STDLIB_H | ||
21 | |||
22 | # define HAVE_RENAME | ||
23 | +# define HAVE_STRINGIZE | ||
24 | #endif /* CROSS_COMPILING */ | ||
25 | |||
26 | #if defined (HAVE_UNISTD_H) | ||
diff --git a/meta/recipes-extended/bash/bash/run-ptest b/meta/recipes-extended/bash/bash/run-ptest new file mode 100644 index 0000000000..8dd3b9981d --- /dev/null +++ b/meta/recipes-extended/bash/bash/run-ptest | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | make -k THIS_SH=/bin/bash BUILD_DIR=. runtest | ||
diff --git a/meta/recipes-extended/bash/bash/test-output.patch b/meta/recipes-extended/bash/bash/test-output.patch new file mode 100644 index 0000000000..2b09b7d977 --- /dev/null +++ b/meta/recipes-extended/bash/bash/test-output.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Add FAIL/PASS output to test output. | ||
2 | |||
3 | Signed-off-by: Björn Stenberg <bjst@enea.com> | ||
4 | Upstream-Status: Pending | ||
5 | --- | ||
6 | diff -uNr a/tests/run-all b/tests/run-all | ||
7 | --- a/tests/run-all 1999-10-08 17:07:46.000000000 +0200 | ||
8 | +++ b/tests/run-all 2012-10-27 21:04:18.663331887 +0200 | ||
9 | @@ -22,7 +22,15 @@ | ||
10 | case $x in | ||
11 | $0|run-minimal|run-gprof) ;; | ||
12 | *.orig|*~) ;; | ||
13 | - *) echo $x ; sh $x ;; | ||
14 | + *) echo $x | ||
15 | + output=`sh $x` | ||
16 | + if [ -n "$output" ]; then | ||
17 | + echo "$output" | ||
18 | + echo "FAIL: $x" | ||
19 | + else | ||
20 | + echo "PASS: $x" | ||
21 | + fi | ||
22 | + ;; | ||
23 | esac | ||
24 | done | ||
25 | |||
diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb b/meta/recipes-extended/bash/bash_3.2.48.bb new file mode 100644 index 0000000000..35e624bb8b --- /dev/null +++ b/meta/recipes-extended/bash/bash_3.2.48.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | require bash.inc | ||
2 | |||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" | ||
5 | |||
6 | PR = "r11" | ||
7 | |||
8 | SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz;name=tarball \ | ||
9 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0;name=patch049 \ | ||
10 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-050;apply=yes;striplevel=0;name=patch050 \ | ||
11 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-051;apply=yes;striplevel=0;name=patch051 \ | ||
12 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-052;apply=yes;striplevel=0;name=patch052 \ | ||
13 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-053;apply=yes;striplevel=0;name=patch053 \ | ||
14 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-054;apply=yes;striplevel=0;name=patch054 \ | ||
15 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-055;apply=yes;striplevel=0;name=patch055 \ | ||
16 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-056;apply=yes;striplevel=0;name=patch056 \ | ||
17 | ${GNU_MIRROR}/bash/bash-3.2-patches/bash32-057;apply=yes;striplevel=0;name=patch057 \ | ||
18 | file://mkbuiltins_have_stringize.patch \ | ||
19 | file://build-tests.patch \ | ||
20 | file://test-output.patch \ | ||
21 | file://run-ptest \ | ||
22 | " | ||
23 | |||
24 | SRC_URI[tarball.md5sum] = "338dcf975a93640bb3eaa843ca42e3f8" | ||
25 | SRC_URI[tarball.sha256sum] = "128d281bd5682ba5f6953122915da71976357d7a76490d266c9173b1d0426348" | ||
26 | SRC_URI[patch049.md5sum] = "af571a2d164d5abdcae4499e94e8892c" | ||
27 | SRC_URI[patch049.sha256sum] = "b1217ed94bdb95dc878fa5cabbf8a164435eb0d9da23a392198f48566ee34a2f" | ||
28 | SRC_URI[patch050.md5sum] = "8443d4385d73ec835abe401d90591377" | ||
29 | SRC_URI[patch050.sha256sum] = "081bb03c580ecee63ba03b40beb3caf509eca29515b2e8dd3c078503609a1642" | ||
30 | SRC_URI[patch051.md5sum] = "15c6653042e9814aa87120098fc7a849" | ||
31 | SRC_URI[patch051.sha256sum] = "354886097cd95b4def77028f32ee01e2e088d58a98184fede9d3ce9320e218ef" | ||
32 | SRC_URI[patch052.md5sum] = "691023a944bbb9003cc92ad462d91fa1" | ||
33 | SRC_URI[patch052.sha256sum] = "a0eccf9ceda50871db10d21efdd74b99e35efbd55c970c400eeade012816bb61" | ||
34 | SRC_URI[patch053.md5sum] = "eb97d1c9230a55283d9dac69d3de2e46" | ||
35 | SRC_URI[patch053.sha256sum] = "fe6f0e96e0b966eaed9fb5e930ca12891f4380f30f9e0a773d200ff2063a864e" | ||
36 | SRC_URI[patch054.md5sum] = "1107744058c43b247f597584b88ba0a6" | ||
37 | SRC_URI[patch054.sha256sum] = "c6dab911e85688c542ce75afc175dbb4e5011de5102758e19a4a80dac1e79359" | ||
38 | SRC_URI[patch055.md5sum] = "05d201176d3499e2dfa4a73d09d42f05" | ||
39 | SRC_URI[patch055.sha256sum] = "c0e816700837942ed548da74e5917f74b70cbbbb10c9f2caf73e8e06a0713d0a" | ||
40 | SRC_URI[patch056.md5sum] = "222eaa3a2c26f54a15aa5e08817a534a" | ||
41 | SRC_URI[patch056.sha256sum] = "063a8d8d74e4407bf07a32b965b8ef6d213a66abdb6af26cc3584a437a56bbb4" | ||
42 | SRC_URI[patch057.md5sum] = "47d98e3e042892495c5efe54ec6e5913" | ||
43 | SRC_URI[patch057.sha256sum] = "5fc689394d515990f5ea74e2df765fc6e5e42ca44b4591b2c6f9be4b0cadf0f0" | ||
diff --git a/meta/recipes-extended/bash/bash_4.3.bb b/meta/recipes-extended/bash/bash_4.3.bb new file mode 100644 index 0000000000..54f21017db --- /dev/null +++ b/meta/recipes-extended/bash/bash_4.3.bb | |||
@@ -0,0 +1,109 @@ | |||
1 | require bash.inc | ||
2 | |||
3 | # GPLv2+ (< 4.0), GPLv3+ (>= 4.0) | ||
4 | LICENSE = "GPLv3+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
6 | |||
7 | SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \ | ||
8 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-001;apply=yes;striplevel=0;name=patch001 \ | ||
9 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-002;apply=yes;striplevel=0;name=patch002 \ | ||
10 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-003;apply=yes;striplevel=0;name=patch003 \ | ||
11 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-004;apply=yes;striplevel=0;name=patch004 \ | ||
12 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-005;apply=yes;striplevel=0;name=patch005 \ | ||
13 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-006;apply=yes;striplevel=0;name=patch006 \ | ||
14 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-007;apply=yes;striplevel=0;name=patch007 \ | ||
15 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-008;apply=yes;striplevel=0;name=patch008 \ | ||
16 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-009;apply=yes;striplevel=0;name=patch009 \ | ||
17 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-010;apply=yes;striplevel=0;name=patch010 \ | ||
18 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-011;apply=yes;striplevel=0;name=patch011 \ | ||
19 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-012;apply=yes;striplevel=0;name=patch012 \ | ||
20 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-013;apply=yes;striplevel=0;name=patch013 \ | ||
21 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-014;apply=yes;striplevel=0;name=patch014 \ | ||
22 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-015;apply=yes;striplevel=0;name=patch015 \ | ||
23 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-016;apply=yes;striplevel=0;name=patch016 \ | ||
24 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-017;apply=yes;striplevel=0;name=patch017 \ | ||
25 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-018;apply=yes;striplevel=0;name=patch018 \ | ||
26 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-019;apply=yes;striplevel=0;name=patch019 \ | ||
27 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-020;apply=yes;striplevel=0;name=patch020 \ | ||
28 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-021;apply=yes;striplevel=0;name=patch021 \ | ||
29 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-022;apply=yes;striplevel=0;name=patch022 \ | ||
30 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-023;apply=yes;striplevel=0;name=patch023 \ | ||
31 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-024;apply=yes;striplevel=0;name=patch024 \ | ||
32 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-025;apply=yes;striplevel=0;name=patch025 \ | ||
33 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-026;apply=yes;striplevel=0;name=patch026 \ | ||
34 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-027;apply=yes;striplevel=0;name=patch027 \ | ||
35 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-028;apply=yes;striplevel=0;name=patch028 \ | ||
36 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-029;apply=yes;striplevel=0;name=patch029 \ | ||
37 | ${GNU_MIRROR}/bash/bash-4.3-patches/bash43-030;apply=yes;striplevel=0;name=patch030 \ | ||
38 | file://execute_cmd.patch;striplevel=0 \ | ||
39 | file://mkbuiltins_have_stringize.patch \ | ||
40 | file://build-tests.patch \ | ||
41 | file://test-output.patch \ | ||
42 | file://run-ptest \ | ||
43 | " | ||
44 | |||
45 | SRC_URI[tarball.md5sum] = "81348932d5da294953e15d4814c74dd1" | ||
46 | SRC_URI[tarball.sha256sum] = "afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4" | ||
47 | |||
48 | SRC_URI[patch001.md5sum] = "1ab682b4e36afa4cf1b426aa7ac81c0d" | ||
49 | SRC_URI[patch001.sha256sum] = "ecb3dff2648667513e31554b3ad054ccd89fce38e33367c9459ac3a285153742" | ||
50 | SRC_URI[patch002.md5sum] = "8fc22cf50ec85da00f6af3d66f7ddc1b" | ||
51 | SRC_URI[patch002.sha256sum] = "eee7cd7062ab29a9e4f02924d9c367264dcb8b162703f74ff6eb8f175a91502b" | ||
52 | SRC_URI[patch003.md5sum] = "a41728eca78858758e26b5dea64ae506" | ||
53 | SRC_URI[patch003.sha256sum] = "000e6eac50cd9053ce0630db01239dcdead04a2c2c351c47e2b51dac1ac1087d" | ||
54 | SRC_URI[patch004.md5sum] = "bf8d53d227829d67235927689a03cc7a" | ||
55 | SRC_URI[patch004.sha256sum] = "5ea0a42c6506720d26e6d3c5c358e9a0d49f6f189d69a8ed34d5935964821338" | ||
56 | SRC_URI[patch005.md5sum] = "c0c00935c8b8ffff76e8ab77e7be7d15" | ||
57 | SRC_URI[patch005.sha256sum] = "1ac83044032b9f5f11aeca8a344ae3c524ec2156185d3adbb8ad3e7a165aa3fa" | ||
58 | SRC_URI[patch006.md5sum] = "6f01e364cd092faa28dd7119f47ddb5f" | ||
59 | SRC_URI[patch006.sha256sum] = "a0648ee72d15e4a90c8b77a5c6b19f8d89e28c1bc881657d22fe26825f040213" | ||
60 | SRC_URI[patch007.md5sum] = "dcf471d222bcd83283d3094e6ceeb6f8" | ||
61 | SRC_URI[patch007.sha256sum] = "1113e321c59cf6a8648a36245bbe4217cf8acf948d71e67886dad7d486f8f3a3" | ||
62 | SRC_URI[patch008.md5sum] = "f7553416646dc26c266454c78a916d36" | ||
63 | SRC_URI[patch008.sha256sum] = "9941a98a4987192cc5ce3d45afe879983cad2f0bec96d441a4edd9033767f95e" | ||
64 | SRC_URI[patch009.md5sum] = "7e73d2151f4064b484a4ba2c4b09960e" | ||
65 | SRC_URI[patch009.sha256sum] = "c0226d6728946b2f53cdebf090bcd1c01627f01fee03295768605caa80bb40a5" | ||
66 | SRC_URI[patch010.md5sum] = "a275463d21735bb6d7161f9fbd320d8f" | ||
67 | SRC_URI[patch010.sha256sum] = "ce05799c0137314c70c7b6ea0477c90e1ac1d52e113344be8e32fa5a55c9f0b7" | ||
68 | SRC_URI[patch011.md5sum] = "c17103ee20420d77e46b224c8d3fceda" | ||
69 | SRC_URI[patch011.sha256sum] = "7c63402cdbc004a210f6c1c527b63b13d8bb9ec9c5a43d5c464a9010ff6f7f3b" | ||
70 | SRC_URI[patch012.md5sum] = "3e2a057a19d02b3f92a3a09eacbc03ae" | ||
71 | SRC_URI[patch012.sha256sum] = "3e1379030b35fbcf314e9e7954538cf4b43be1507142b29efae39eef997b8c12" | ||
72 | SRC_URI[patch013.md5sum] = "fb377143a996d4ff087a2771bc8332f9" | ||
73 | SRC_URI[patch013.sha256sum] = "bfa8ca5336ab1f5ef988434a4bdedf71604aa8a3659636afa2ce7c7446c42c79" | ||
74 | SRC_URI[patch014.md5sum] = "1a1aaecc99a9d0cbc310e8e247dcc8b6" | ||
75 | SRC_URI[patch014.sha256sum] = "5a4d6fa2365b6eb725a9d4966248b5edf7630a4aeb3fa8d526b877972658ac13" | ||
76 | SRC_URI[patch015.md5sum] = "4f04387458a3c1b4d460d199f49991a8" | ||
77 | SRC_URI[patch015.sha256sum] = "13293e8a24e003a44d7fe928c6b1e07b444511bed2d9406407e006df28355e8d" | ||
78 | SRC_URI[patch016.md5sum] = "90e759709720c4f877525bebc9d5dc06" | ||
79 | SRC_URI[patch016.sha256sum] = "92d60bcf49f61bd7f1ccb9602bead6f2c9946d79dea0e5ec0589bb3bfa5e0773" | ||
80 | SRC_URI[patch017.md5sum] = "11e4046e1b86070f6adbb7ffc89641be" | ||
81 | SRC_URI[patch017.sha256sum] = "1267c25c6b5ba57042a7bb6c569a6de02ffd0d29530489a16666c3b8a23e7780" | ||
82 | SRC_URI[patch018.md5sum] = "cd5a9b46f5bea0dc0248c93c7dfac011" | ||
83 | SRC_URI[patch018.sha256sum] = "7aa8b40a9e973931719d8cc72284a8fb3292b71b522db57a5a79052f021a3d58" | ||
84 | SRC_URI[patch019.md5sum] = "cff4dc024d9d3456888aaaf8a36ca774" | ||
85 | SRC_URI[patch019.sha256sum] = "a7a91475228015d676cafa86d2d7aa9c5d2139aa51485b6bbdebfdfbcf0d2d23" | ||
86 | SRC_URI[patch020.md5sum] = "167839c5f147347f4a03d88ab97ff787" | ||
87 | SRC_URI[patch020.sha256sum] = "ca5e86d87f178128641fe91f2f094875b8c1eb2de9e0d2e9154f5d5cc0336c98" | ||
88 | SRC_URI[patch021.md5sum] = "1d350671c48dec30b34d8b81f09cd79d" | ||
89 | SRC_URI[patch021.sha256sum] = "41439f06883e6bd11c591d9d5e9ae08afbc2abd4b935e1d244b08100076520a9" | ||
90 | SRC_URI[patch022.md5sum] = "11c349af66a55481a3215ef2520bec36" | ||
91 | SRC_URI[patch022.sha256sum] = "fd4d47bb95c65863f634c4706c65e1e3bae4ee8460c72045c0a0618689061a88" | ||
92 | SRC_URI[patch023.md5sum] = "b3cb0d80fd0c47728264405cbb3b23c7" | ||
93 | SRC_URI[patch023.sha256sum] = "9ac250c7397a8f53dbc84dfe790d2a418fbf1fe090bcece39b4a5c84a2d300d4" | ||
94 | SRC_URI[patch024.md5sum] = "b5ea5600942acceb4b6f07313d2de74e" | ||
95 | SRC_URI[patch024.sha256sum] = "3b505882a0a6090667d75824fc919524cd44cc3bd89dd08b7c4e622d3f960f6c" | ||
96 | SRC_URI[patch025.md5sum] = "193c06f578d38ffdbaebae9c51a7551f" | ||
97 | SRC_URI[patch025.sha256sum] = "1e5186f5c4a619bb134a1177d9e9de879f3bb85d9c5726832b03a762a2499251" | ||
98 | SRC_URI[patch026.md5sum] = "922578e2be7ed03729454e92ee8d3f3a" | ||
99 | SRC_URI[patch026.sha256sum] = "2ecc12201b3ba4273b63af4e9aad2305168cf9babf6d11152796db08724c214d" | ||
100 | SRC_URI[patch027.md5sum] = "8ff6948b16f2db5c29b1b9ae1085bbe7" | ||
101 | SRC_URI[patch027.sha256sum] = "1eb76ad28561d27f7403ff3c76a36e932928a4b58a01b868d663c165f076dabe" | ||
102 | SRC_URI[patch028.md5sum] = "dd51fa67913b5dca45a702b672b3323f" | ||
103 | SRC_URI[patch028.sha256sum] = "e8b0dbed4724fa7b9bd8ff77d12c7f03da0fbfc5f8251ef5cb8511eb082b469d" | ||
104 | SRC_URI[patch029.md5sum] = "0729364c977ef4271e9f8dfafadacf67" | ||
105 | SRC_URI[patch029.sha256sum] = "4cc4a397fe6bc63ecb97d030a4e44258ef2d4e076d0e90c77782968cc43d6292" | ||
106 | SRC_URI[patch030.md5sum] = "efb709fdb1368945513de23ccbfae053" | ||
107 | SRC_URI[patch030.sha256sum] = "85434f8a2f379d0c49a3ff6d9ffa12c8b157188dd739e556d638217d2a58385b" | ||
108 | |||
109 | BBCLASSEXTEND = "nativesdk" | ||