<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/bash, branch 2018.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2018.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2018.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2018-02-03T18:55:51+00:00</updated>
<entry>
<title>package/bash: remove dead comment</title>
<updated>2018-02-03T18:55:51+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2018-02-03T15:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=eadf8696a899cea391d7abe7f0547152c64ed40b'/>
<id>urn:sha1:eadf8696a899cea391d7abe7f0547152c64ed40b</id>
<content type='text'>
Commit 02e5cef1 (system: add option to choose what /bin/sh points to)
removed the symlink creation, but forgot to remove the corresponding
comment, which is now more puzzling than amusing...

Remove the comment.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Romain Naour &lt;romain.naour@gmail.com&gt;
Cc: Peter Korsgaard &lt;peter@korsgaard.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/bash: add /bin/bash to /etc/shells</title>
<updated>2018-01-14T14:04:20+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@smile.fr</email>
</author>
<published>2018-01-13T16:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4d279697afbf8fb295274784103be2b837113d5e'/>
<id>urn:sha1:4d279697afbf8fb295274784103be2b837113d5e</id>
<content type='text'>
When bash is selected, /bin/bash is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connexions for users using bash as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Reported-by: Jeremy Rosen &lt;jeremy.rosen@smile.fr&gt;
Signed-off-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Cc: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>bash: bump to 4.4.12</title>
<updated>2017-11-22T21:19:09+00:00</updated>
<author>
<name>Adam Duskett</name>
<email>aduskett@gmail.com</email>
</author>
<published>2017-11-20T14:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0a219430d797cc25c4f4b1f952831adf4dbb64b0'/>
<id>urn:sha1:0a219430d797cc25c4f4b1f952831adf4dbb64b0</id>
<content type='text'>
In addition, remove upstreamed patches and add a hash for the license
file.

Signed-off-by: Adam Duskett &lt;aduskett@gmail.com&gt;
[Thomas: indicate pgp signature file address in hash file, as
suggested by Baruch.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>bash: fix static build</title>
<updated>2017-09-24T13:22:13+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2017-09-18T18:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4a2af11cba83ef176672609dd7321712fa7f6a28'/>
<id>urn:sha1:4a2af11cba83ef176672609dd7321712fa7f6a28</id>
<content type='text'>
When building bash statically, configure does not initialize the
SHOBJ_STATUS variable. The SHOBJ_STATUS make variable in
examples/loadables/Makefile.in must resolve to either 'supported' or
'unsupported'. Otherwise, the install-$(SHOBJ_STATUS) target does not
exist.

This leads to the following build failure:

make[2]: Entering directory '.../output/build/bash-4.4/examples/loadables'
make[2]: *** No rule to make target 'install-', needed by 'install'.  Stop.
make[2]: Leaving directory '.../output/build/bash-4.4/examples/loadables'
Makefile:793: recipe for target 'install' failed

with the following defconfig:

BR2_arm=y
BR2_STATIC_LIBS=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BASH=y

Note that this doesn't terminate the build so it's not detected as an
error by the autobuilders.

Set SHOBJ_STATUS in the configure environment as a workaround.

Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
</content>
</entry>
<entry>
<title>bash: disable bash malloc by default</title>
<updated>2017-05-31T20:36:15+00:00</updated>
<author>
<name>Daniel Sabogal</name>
<email>dsabogalcc@gmail.com</email>
</author>
<published>2017-05-23T17:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=43552504c8aacda2a163c933203a3b77146409c1'/>
<id>urn:sha1:43552504c8aacda2a163c933203a3b77146409c1</id>
<content type='text'>
Bash's malloc relies on sbrk which is implemented as a fail-only stub in
musl. Presently, it is disabled when configured for static
libs. Instead, default to using libc malloc.

Fixes:

  # bash
  bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)

Signed-off-by: Daniel Sabogal &lt;dsabogalcc@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/b*/Config.in: fix ordering of statements</title>
<updated>2017-04-29T15:17:57+00:00</updated>
<author>
<name>Adam Duskett</name>
<email>Aduskett@gmail.com</email>
</author>
<published>2017-04-22T17:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=48bd50287fdebb9bcdc80952e743c331ccf9e4ee'/>
<id>urn:sha1:48bd50287fdebb9bcdc80952e743c331ccf9e4ee</id>
<content type='text'>
The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter b in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett &lt;Adamduskett@outlook.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>boot, package: use SPDX short identifier for GPLv3/GPLv3+</title>
<updated>2017-04-01T13:17:59+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahulbedarkar89@gmail.com</email>
</author>
<published>2017-03-30T13:43:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=337aa51f3fd531ac676d4fc64075781129c9414a'/>
<id>urn:sha1:337aa51f3fd531ac676d4fc64075781129c9414a</id>
<content type='text'>
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\&lt;GPLv3\&gt;/GPL-3.0/g'

Signed-off-by: Rahul Bedarkar &lt;rahulbedarkar89@gmail.com&gt;
Acked-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>bash: add upstream security fixes to patch level 12</title>
<updated>2017-02-08T08:46:13+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2017-02-08T08:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=54a94951231ce624cf6a2e297c806c1677efdeb8'/>
<id>urn:sha1:54a94951231ce624cf6a2e297c806c1677efdeb8</id>
<content type='text'>
Fixes CVE-2017-5932 - Shell code execution on tab completion of specially
crafted files. For details, see the report:

https://github.com/jheyens/bash_completion_vuln/raw/master/2017-01-17.bash_completion_report.pdf

We unfortunately cannot easily download these because of the file names (not
ending in patch) and patch format (p0), so convert to p1 format and include
in package/bash with the following script:

for i in 06 07 08 09 10 11 12; do
	cat &gt; bash44-0$i.patch &lt;&lt; EOF
&gt;From https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-0$i

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;

EOF
	curl https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-0$i | \
		sed -e 's|^\*\*\* \.\./|*** |' -e 's|^--- |--- b/|' &gt;&gt; bash44-0$i.patch
done

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>bash: add upstream fixes to patch level 5</title>
<updated>2017-01-08T19:05:07+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2017-01-08T08:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7841dd2dc21729f73aa250a1fc7462e0483b1061'/>
<id>urn:sha1:7841dd2dc21729f73aa250a1fc7462e0483b1061</id>
<content type='text'>
We unfortunately cannot easily download these because of the file names (not
ending in patch) and patch format (p0), so convert to p1 format and include
in package/bash.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>bash: bump version to 4.4</title>
<updated>2016-11-30T11:02:19+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2016-11-29T12:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cde22e1fd340492f6f017c9f9a2d749391961887'/>
<id>urn:sha1:cde22e1fd340492f6f017c9f9a2d749391961887</id>
<content type='text'>
Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
