summaryrefslogtreecommitdiffstats
path: root/package/bash
Commit message (Collapse)AuthorAgeFilesLines
* system: add option to choose what /bin/sh points toYann E. MORIN2014-10-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | Not all our shells do install a pointer to /bin/sh. Besides, between those that do and multiple ones are enabled, the last one to install wins the the symlink. Add a new config choice in the system sub-menu that allows the user to explicitly select the shell to provide /bin/sh. If busybox is not enabled, default to using dash, a POSIX shell. Remove the symlink creation from bash.mk at the same time. Note: for every shell, we select them, except busybox, on which we depend, on the assumption that we do not want to force busybox in case the user decided not to enable it. [Peter: remove redundant !BR2_PACKAGE_BUSYBOX dependency] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bash: minor install tweaksGustavo Zacarias2014-10-081-10/+4
| | | | | | | | Remove the old symlink backup since we don't do uninstalls now. Make the busybox dependency conditional shorter. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bash: security bump to patchlevel 30Gustavo Zacarias2014-10-062-1/+2070
| | | | | | | | More security issues, sigh. Also fix typo in pl29 patch. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: add more security patchesGustavo Zacarias2014-10-033-0/+2334
| | | | | | | | | Apply new patches for a buffer overflow fix (pl28) and an invalid memory access (pl29). Rename combined patchlevel patch to be more graphic about the range. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: update to patchlevel 27Gustavo Zacarias2014-09-281-96/+243
| | | | | | | Patches 26 and 27 are refiniments/improved checks on the CVE. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bash: security bump to patchlevel 25Gustavo Zacarias2014-09-242-0/+927
| | | | | | | | | | | | Fixes CVE-2014-6271: Under certain circumstances, bash will execute user code while processing the environment for exported function definitions. Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bash: always prefix readlineGustavo Zacarias2014-03-011-0/+1
| | | | | | | | | | Always prefix the readline directory otherwise autodetection may pick up the host readline when headers are available and target == host (or are link-compatible). Fixes: http://autobuild.buildroot.org/results/44a/44a962623be757143a3d6d37fc6cd14964094f79/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: bump to version 4.3Gustavo Zacarias2014-03-0140-3366/+10
| | | | | | | Switch to external readline support to potentially reduce target size. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-10/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* bash: fails in parallel buildArnout Vandecappelle2013-08-281-0/+4
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: fix static buildGustavo Zacarias2013-08-131-0/+5
| | | | | | | | The static build needs some trickery, so make it happen. Fixes: http://autobuild.buildroot.net/results/2b12868f8297a96d7abf7fcf526ca5eace73d66d/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: add missing dependency on host-bisonThomas Petazzoni2013-03-261-1/+1
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/dfedb4377a95e36e590c9a5a5853e3ed0ecbc247/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: add license infoArnout Vandecappelle (Essensium/Mind)2012-11-141-0/+3
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: security bump to version 4.2 pl37Gustavo Zacarias2012-08-2417-0/+1759
| | | | | | | | Bump bash to version 4.2 patchlevel 37. Fixes CVE-2012-3410. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: add depends on MMUThomas Petazzoni2012-07-301-0/+2
| | | | | | | | Fixes the build failure at http://autobuild.buildroot.org/results/0434d99b51f535ac73bfcf1968b1c2b81b44ba61/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: bump to version 4.2 pl20Gustavo Zacarias2012-01-2410-0/+651
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: Adding features that can not be automatically detected while ↵Arnout Vandecappelle (Essensium/Mind)2012-01-201-1/+5
| | | | | | | | | | | cross-compiling There are some bash features that can not be detected automatically during configure stage while cross-compiling. This commit forces them on. Signed-off-by: Arkady Gilinsky <arcadyg@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: bump to version 4.2 pl10Gustavo Zacarias2011-11-1421-485/+951
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: build after busyboxGustavo Zacarias2011-01-171-0/+5
| | | | | | | | Make sure bash builds after busybox when it's enabled to override busybox's /bin/sh symlink with bash. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: fix build issues reported by Dmitry Ivanov, update to pl9Gustavo Zacarias2010-11-193-0/+128
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: bump to 4.1.7(1) and migrate to autotargetsGustavo Zacarias2010-07-0143-3540/+414
| | | | | | | Closes #1993 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Do not let packages remove man pages, info pages and documentationThomas Petazzoni2010-04-111-7/+0
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bash: fix configurationLionel Landwerlin2010-01-281-2/+3
| | | | | | | | | | | | Patch bash32-011 modifies the configure.in script. Therefor we need to run autoconf before launching the configure script. Otherwise, once the configure script called, the makefile's dependencies over configure.in will relaunch autoconf without options/environnement variables we usually set when calling configure. [Peter: use our own host-autoconf instead of what's on the host] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* bash: remove CC variable when calling makeLionel Landwerlin2010-01-281-3/+3
| | | | | | | | | | | | | So "/opt/whatever_toolchain/gcc --sysroot $(STAGING_DIR)" isn't stripped to "/opt/whatever_toolchain/gcc", making gcc to look at $(ORIGINAL_TOOLCHAIN_DIRECTORY)/usr/include instead of $(STAGING_DIR)/usr/include. For more CC is already filled when running the configure script. This problem should only be visible with an external toolchain. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-2/+2
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* bash.mk:Wade Berrier2008-10-061-0/+10
| | | | | | | | -Force some autoconf options so that job control is turned on. (Otherwise these checks fail when cross compiling. And when job control is disabled, bash can't be the default shell)
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* * Fixed bash patchesNigel Kukard2008-05-019-42/+42
|
* * Sync'd bash patches to upstreamNigel Kukard2008-04-299-0/+605
|
* Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fixHamish Moffatt2008-03-261-1/+1
| | | | | | broken GNU download paths. Also fix gnuchess, xboard and classpath packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
* added debug optionJohn Voltz2008-03-111-0/+1
|
* buildroot: Use BR2_GNU_MIRROR everywherePeter Korsgaard2008-03-111-1/+1
| | | | Patch by Nigel Kukard.
* - pull patches 018..024Bernhard Reutner-Fischer2007-10-077-0/+950
|
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-6/+16
|
* - global whitespace trimmingBernhard Reutner-Fischer2007-08-221-1/+1
|
* Remove bzero dependencies in bashUlf Samuelsson2007-08-221-0/+64
|
* Fix bad patch naming schemeUlf Samuelsson2007-08-221-1/+1
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* Avoid error msg when TARGET_DIR/bin is created for the umpteenth timeUlf Samuelsson2007-08-111-1/+1
|
* Use <package>_VERSION in all <package>.mk instead of <package>_VERUlf Samuelsson2007-07-111-3/+3
|
* - fix a few -clean targets.Bernhard Reutner-Fischer2007-06-281-2/+3
| | | | - bash build is not parallel-safe
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer2007-06-271-2/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* - forgot to adjust the pathes..Bernhard Reutner-Fischer2007-06-258-27/+27
|
OpenPOWER on IntegriCloud