summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-11 11:34:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 13:18:18 +0100
commitf30c3da2c2a25c03517208105ae7e4ea081b7306 (patch)
tree522c1857cd386024628074c97288482421cd6d46 /meta/recipes-extended/bash
parent3a1d27cd7bf23d10739e1e07a09dc5149eb47b1d (diff)
downloadpoky-f30c3da2c2a25c03517208105ae7e4ea081b7306.tar.gz
bash: update to 4.2
(From OE-Core rev: cd3d74f88b950050ee1e7738287b8752e8c7b711) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash')
-rw-r--r--meta/recipes-extended/bash/bash-4.2/execute_cmd.patch15
-rw-r--r--meta/recipes-extended/bash/bash_4.1.bb38
-rw-r--r--meta/recipes-extended/bash/bash_4.2.bb41
3 files changed, 56 insertions, 38 deletions
diff --git a/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch b/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch
new file mode 100644
index 0000000000..bd55787e74
--- /dev/null
+++ b/meta/recipes-extended/bash/bash-4.2/execute_cmd.patch
@@ -0,0 +1,15 @@
1--- execute_cmd.c.orig Fri Jun 3 13:34:42 2011
2+++ execute_cmd.c Fri Jun 3 13:36:41 2011
3@@ -2202,7 +2202,11 @@
4 /* If the `lastpipe' option is set with shopt, and job control is not
5 enabled, execute the last element of non-async pipelines in the
6 current shell environment. */
7- if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
8+ if (lastpipe_opt &&
9+#if defined(JOB_CONTROL)
10+ job_control == 0 &&
11+#endif
12+ asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
13 {
14 lstdin = move_to_high_fd (0, 0, 255);
15 if (lstdin > 0)
diff --git a/meta/recipes-extended/bash/bash_4.1.bb b/meta/recipes-extended/bash/bash_4.1.bb
deleted file mode 100644
index c146014bd7..0000000000
--- a/meta/recipes-extended/bash/bash_4.1.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1require bash.inc
2
3PR = "r2"
4
5SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
6 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \
7 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-002;apply=yes;striplevel=0;name=patch002 \
8 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-003;apply=yes;striplevel=0;name=patch003 \
9 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-004;apply=yes;striplevel=0;name=patch004 \
10 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-005;apply=yes;striplevel=0;name=patch005 \
11 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-006;apply=yes;striplevel=0;name=patch006 \
12 ${GNU_MIRROR}/bash/bash-4.1-patches/bash41-007;apply=yes;striplevel=0;name=patch007 \
13 "
14
15SRC_URI[tarball.md5sum] = "9800d8724815fd84994d9be65ab5e7b8"
16SRC_URI[tarball.sha256sum] = "3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da"
17
18SRC_URI[patch001.md5sum] = "582dea5671b557f783e18629c2f77b68"
19SRC_URI[patch001.sha256sum] = "a6e47fa108f853d0f0999520509c11680d37c8b7823b92b96d431766dd620278"
20
21SRC_URI[patch002.md5sum] = "118d465095d4a4706eb1d34696a2666a"
22SRC_URI[patch002.sha256sum] = "322e229de186b3bd87dedabfbad8386716f103e87ff00cd1b2db844e0dff78f8"
23
24SRC_URI[patch003.md5sum] = "120f7cf039a40d35fe375e59d6f17adc"
25SRC_URI[patch003.sha256sum] = "91763dddbbb98c3ff7deb3faea3b3ad6e861e7bfd2e46c045c0d1d85d1b3256d"
26
27SRC_URI[patch004.md5sum] = "336ee037fc2cc1e2350b05097fbdc87c"
28SRC_URI[patch004.sha256sum] = "78c063ba34c1f390a5bf2e5727624ca2e253bbef49ce187cabb240eee7f4ff9e"
29
30SRC_URI[patch005.md5sum] = "9471e666797f0b03eb2175ed752a9550"
31SRC_URI[patch005.sha256sum] = "519639d8d1664be74d7ec15879d16337fe8c71af8d648b02f84ccdd4fb739c1a"
32
33SRC_URI[patch006.md5sum] = "fb80ccd58cb1e34940f3adf4ce6e4a1e"
34SRC_URI[patch006.sha256sum] = "5986abcf33c0b087bd5670f1ae6a6400a8ce6ab7e7c4de18b9826d0ee10f2c49"
35
36SRC_URI[patch007.md5sum] = "192a8b161d419a1d0d211169f1d1046e"
37SRC_URI[patch007.sha256sum] = "74012a2c28ba4fb532c3eb69155ac870aac8d53990fa4e1e52cdc173d4c205a7"
38
diff --git a/meta/recipes-extended/bash/bash_4.2.bb b/meta/recipes-extended/bash/bash_4.2.bb
new file mode 100644
index 0000000000..a0f5e4ef96
--- /dev/null
+++ b/meta/recipes-extended/bash/bash_4.2.bb
@@ -0,0 +1,41 @@
1require bash.inc
2
3PR = "r0"
4
5SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
6 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-001;apply=yes;striplevel=0;name=patch001 \
7 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-002;apply=yes;striplevel=0;name=patch002 \
8 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-003;apply=yes;striplevel=0;name=patch003 \
9 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-004;apply=yes;striplevel=0;name=patch004 \
10 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-005;apply=yes;striplevel=0;name=patch005 \
11 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-006;apply=yes;striplevel=0;name=patch006 \
12 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-007;apply=yes;striplevel=0;name=patch007 \
13 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-008;apply=yes;striplevel=0;name=patch008 \
14 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-009;apply=yes;striplevel=0;name=patch009 \
15 ${GNU_MIRROR}/bash/bash-4.2-patches/bash42-010;apply=yes;striplevel=0;name=patch010 \
16 file://execute_cmd.patch;striplevel=0 \
17 "
18
19SRC_URI[tarball.md5sum] = "3fb927c7c33022f1c327f14a81c0d4b0"
20SRC_URI[tarball.sha256sum] = "a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8"
21SRC_URI[patch001.md5sum] = "1100bc1dda2cdc06ac44d7e5d17864a3"
22SRC_URI[patch001.sha256sum] = "8d6ca028576c4af23e660a2fbc2112221a11c8a785c0b37f033967e5cd12b47a"
23SRC_URI[patch002.md5sum] = "30e7948079921d3261efcc6a40722135"
24SRC_URI[patch002.sha256sum] = "febac927e199aceeba2004908d971d4afb49b521796c3f42d1166f9fbbfbcef9"
25SRC_URI[patch003.md5sum] = "9ea06decec43a198f3d7cf29acc602f8"
26SRC_URI[patch003.sha256sum] = "5a0a7c15018c87348ea87cb0beea14345faf878dbb0e25c17fa70677194cb4cd"
27SRC_URI[patch004.md5sum] = "fb48f6134d7b013135929476aa0c250c"
28SRC_URI[patch004.sha256sum] = "4e34b0f830d2583d56e14225a66937abc81f45bbafcd2eb49daf61c9462140c1"
29SRC_URI[patch005.md5sum] = "e70e45de33426b38153b390be0dbbcd4"
30SRC_URI[patch005.sha256sum] = "a81749e73004b81cfdf0fe075bec365dc1fef756ee5e3fd142821e317d1459a0"
31SRC_URI[patch006.md5sum] = "ce4e5c484993705b27daa151eca242c2"
32SRC_URI[patch006.sha256sum] = "c91148945a2ddafa792682d7c8668c59e7e645eae1334b15b0d5d9ad22634bd1"
33SRC_URI[patch007.md5sum] = "88d1f96db29461767602e2546803bda7"
34SRC_URI[patch007.sha256sum] = "405826acf443dd1084f236a15cb76d7f0ee2dbe5edff45c5fb836db571fb7e95"
35SRC_URI[patch008.md5sum] = "24c574bf6d6a581e300823d9c1276af6"
36SRC_URI[patch008.sha256sum] = "23080d11a60a78941210e2477f6bca066b45db03defa60da86fd765107ba2437"
37SRC_URI[patch009.md5sum] = "4c5835f2fbab36c4292bb334977e5b6d"
38SRC_URI[patch009.sha256sum] = "e7ed5440b4c19765786e90e4f1ded43195d38b3e4d1c4b39fcc23de9a74ccb20"
39SRC_URI[patch010.md5sum] = "0a51602b535ef661ee707be6c8bdb373"
40SRC_URI[patch010.sha256sum] = "acfc5482c25e6923116fcf4b4f7f6345b80f75ad7299749db4b736ad67aa43dc"
41