Commit Graph

91 Commits

Author SHA1 Message Date
Leonid Pliushch b288f14069 bash: use system readline 2019-02-24 22:42:40 +02:00
Leonid Pliushch 7d5e36354d bash: more patches for path fixing 2019-02-24 22:42:40 +02:00
Leonid Pliushch 5c9deb6879 bash: do build in src directory
Fixes:
/usr/bin/install: cannot stat '/home/builder/.termux-build/bash/build/y.tab.h': No such file or directory
2019-02-24 22:42:40 +02:00
Yuvraj Saxena 39e65b32bc bash: Update from 4.4 to 5.0
bash 5.0 is no longer in beta or alpha stage

Signed-off-by: Yuvraj Saxena <infectedx27@gmail.com>
2019-02-24 22:42:40 +02:00
Wetitpig 7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Leonid Pliushch f2dcc0299f specify CONFFILES for bash, nano, resolv-conf, tmux
Prevent overwriting user's configuration files if package was upgraded.
2019-02-13 22:51:28 +01:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Leonid Pliushch 9b9793327a bash: this core package should be essential 2018-10-20 20:43:24 +02:00
Fredrik Fornwall 658011cd00 bash and zsh: Bump revision after PS1 addition 2018-06-22 01:19:16 +02:00
Tom Yan 5d3ef9ba0c make PS1 dynamic and shell-specific
PS1 is not supposed to be an environment variable (i.e. will not
be listed in `printenv` but only in `set`). Its value should also
be shell-specific.

With this commit we can stop exporting a static PS1 as env var on
the java side.

The prompt would now indicate whether the current user is root.
2018-06-22 01:11:37 +02:00
Leonid Pliushch 2b877693b5 bash: fix default PATH 2018-06-22 00:45:29 +02:00
Henrik Grimler 71594b6ea5 Allow TERMUX_PKG_SRCURL and TERMUX_PKG_SHA256 to be arrays (#2506)
* build-package.sh: allow for arrays in TERMUX_PKG_{SRCURL,SHA256}

Packages that require several source archives can then set these parameters to
arrays instead of downloading them "manually" in termux_step_post_extract.

Downloaded files are extracted into subfolders in TERMUX_PKG_SRCDIR.

Tested for backward compatibility in a couple of packages and the combinations
tar + tar, zip + tar, tar + zip, zip + zip.

* perl: download perl-cross through TERMUX_PKG_SRCURL

* perl: remove $PREFIX/{lib/libperl.so,include/perl} before build

Otherwise building perl twice doesn't give the same results, symlinks are
messed up.

Also remove old remnant from when there was a Kid.pm.patch.

* bash: fix tiny typo

* ecj: remove hardcoded SHA256 and pkg version

* elfutils: download argp-standalone through TERMUX_PKG_SRCURL

* ldc: download all src archives through TERMUX_PKG_SRCURL

* libgc: download libatomic_ops through TERMUX_PKG_SRCURL

* libllvm: download all src archives through TERMUX_PKG_SRCURL

* linux-man-pages: download src archives through TERMUX_PKG_SRCURL

* ncurses: download all src archives through TERMUX_PKG_SRCURL

* pngquant: download lib sources through TERMUX_PKG_SRCURL

Use .zip for lib since the downloaded archives are otherwise both named
$TERMUX_PKG_VERSION.tar.gz and replace each other. This causes caching to
not work.
2018-06-13 02:15:26 +02:00
Fredrik Fornwall cce066fb41 bash: Update from 4.4.19 to 4.4.23 2018-06-04 00:56:14 +02:00
Fredrik Fornwall 5baa01d856 bash: Update from 4.4.18 to 4.4.19 2018-02-09 15:55:25 +01:00
Fredrik Fornwall 897f4b2260 bash: Update from 4.4.12 to 4.4.18 2018-02-01 11:02:05 +01:00
Fredrik Fornwall ce92cc4c5d Stand in srcdir for termux_step_pre_configure 2017-05-11 01:01:20 +02:00
Fredrik Fornwall 80f24036a0 Use more source checksums 2017-03-27 03:29:43 +02:00
Fredrik Fornwall 0e5edc8574 bash: Add source checksum 2017-02-05 14:18:24 +01:00
Fredrik Fornwall 6a15d2bb04 bash: Update from 4.4.10 to 4.4.12 2017-01-28 16:02:16 +01:00
Fredrik Fornwall 127f27e83d bash: Update from 4.4.5 to 4.4.10 2017-01-23 13:16:08 +01:00
Fredrik Fornwall 2b8761e6a3 bash: Use termux_download instead of curl directly 2017-01-11 02:07:47 -05:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall f4eefdf906 bash: Read ~/.bashrc for interactive login shells 2016-11-24 20:34:55 -05:00
Fredrik Fornwall 4643d4be2c bash: Specify bash_cv_getcwd_malloc=yes
When cross compiling bash assumes that getcwd is broken, so a
wrapper is used which does not work with non-accessible parent
directories (/data when running in Termux). We tell configure
that this is not necessary.

Fixes https://github.com/termux/termux-app/issues/200
2016-11-23 19:33:04 -05:00
Fredrik Fornwall 39d4570400 bash&readline: Update to latest patches 2016-11-16 19:44:05 -05:00
Fredrik Fornwall 722ed12d69 Switch from ftp.gnu.org to mirrors.kernel.org 2016-09-24 18:42:39 -04:00
Fredrik Fornwall 83d11d6e04 Update readline to v7 and bash to v4.4
As a consequence of updating readline to version 7 we bump the
build revision of all packaging linking to it as the soname has
changed.
2016-09-17 18:29:14 -04:00
Fredrik Fornwall b5e2fe57e0 bash: Update from 4.3.42 to 4.3.46 2016-06-27 17:39:57 -04:00
Fredrik Fornwall 24cdd7d1fc Build bash&openssh with the NDK r12 beta on i686
This allows exploring the Android N preview in the emulator a bit.
Fixes #223.
2016-04-22 20:00:34 -04:00
Fredrik Fornwall ab41f5b49c bash: Fix process substitution (the <(...) thingy) 2016-03-07 14:55:09 -05:00
Fredrik Fornwall aa55955510 bash: Update to 4.3.42 from 4.3.39 2015-08-19 06:17:34 -04:00
Fredrik Fornwall f0d4e3805a Patch a WIFCONTINUED definition to <sys/wait.h>
This fixes job control in bash and zsh
2015-08-06 19:25:41 -04:00
Fredrik Fornwall b428c1fca5 bash: Source etc/bash.bashrc also for interactive login shells 2015-07-14 07:30:09 -04:00
Fredrik Fornwall 3cc4ef712e Enable command-not-found for bash and zsh interactive shells 2015-07-13 19:41:08 -04:00
Fredrik Fornwall 49ca09e5e5 Fix wait3() function and bump build revisions 2015-07-11 17:43:48 -04:00
Fredrik Fornwall e7fcdfa2bb Remove broken WIFCONTINUED macro
Bump build revision on affected packages.
2015-07-11 17:16:59 -04:00
Fredrik Fornwall d107ca288b Make bash and zsh depend on termux-tools for chsh 2015-07-02 10:03:49 -04:00
Fredrik Fornwall 5b8bb72c57 Add etc/profile.d/* reading to bash package 2015-06-20 09:12:04 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00