Commit Graph

93 Commits

Author SHA1 Message Date
termux-pacman-bot
b0924f4094 fix(main/bash): fix condition for PS1 override in system bashrc 2025-02-27 20:04:13 +00:00
termux-pacman-bot
4b67c0b7f2 enhance(main/bash): Allow users to overwrite $PS1 by passing it as a variable to Bash
Co-authored-by: TomIO <43716232+TomJo2000@users.noreply.github.com>
2025-02-27 17:10:03 +00:00
termux-pacman-bot
b72139fa44 bump(main/bash): 5.2.37 2024-09-28 15:09:49 +00:00
termux-pacman-bot
cc9393ea6b bump(main/bash): 5.2.32 (#21070)
and set a maintainer
2024-08-10 10:38:13 +00:00
termux-pacman-bot
2b039c13ff fix(main/bash): Replace getdtablesize() with sysconf(_SC_OPEN_MAX)
Fix the following build error found by the new symbol scanning:

> INFO: Found files with undefined symbols
> INFO: Showing result
> packages/bash/examples-loadables-fdflags.c.patch
> ERROR: ./lib/bash/fdflags contains undefined symbols:
>    16: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT   UND getdtablesize
2024-05-05 20:08:34 +00:00
termux-pacman-bot
dd1aa9a4fc bash: update to 5.2.26 2024-01-29 15:08:35 +00:00
termux-pacman-bot
cb61537d6e chore(main/bash): force disable auto updates [no ci]
This is needed to avoid auto-updater script warnings.
2023-11-13 06:01:31 +00:00
termux-pacman-bot
608d6f3cc4 bash: Fix getconf loadable
`confstr` is not available to Android.
2023-04-01 15:01:25 +00:00
termux-pacman-bot
203ba4f183 *: Disable clang16-porting for essential packages
%ci:no-build
2023-03-28 07:33:09 +00:00
termux-pacman-bot
fb92c69c76 bash: Bump to 5.2.15 2022-12-14 05:01:06 +00:00
termux-pacman-bot
cf43ff1f33 bash: Bump to 5.2.12 2022-11-26 13:33:10 +00:00
termux-pacman-bot
74735bead6 bash: Bump to 5.2.9 2022-11-08 11:06:14 +00:00
termux-pacman-bot
157bfd763d bash: fix @TERMUX_PREFIX@ 2022-10-07 17:07:13 +00:00
termux-pacman-bot
a67fbc1611 bash: bump revision after change
the bump supposedly in the previous commit was lost somehow
2022-10-07 11:40:46 +00:00
termux-pacman-bot
2b904bccbb bash: fix build of loadable builtins 2022-10-06 20:44:06 +00:00
termux-pacman-bot
6bbaf27a56 bash: update to 5.2.2 2022-10-06 16:14:10 +00:00
termux-pacman-bot
b740dc8753 bash: fix build.sh 2022-09-27 11:39:32 +00:00
termux-actions[bot]
1d97315d04 packages/bash&&packages/zsh 2022-04-02 08:23:21 +00:00
termux-actions[bot]
21044bc854 packages/bash 2022-02-01 05:16:40 +00:00
Maxython
e261d10501 packages/bash 2021-12-27 01:29:19 +03:00
Maxython
faf65fd345 packages/bash 2021-12-04 23:39:13 +03:00
Maxython
5784939792 Test 2021-12-01 10:58:12 +03:00
Leonid Pliushch
7fb96d2ea2 bash: update to 5.1.8 2021-05-05 11:52:53 +00:00
Leonid Pliushch
96a05a7dfd bash: update to 5.1.4 2021-01-07 13:57:54 +02:00
Leonid Pliushch
fd66e2fe29 get rid of verify-prefix.patch.txt
Switching to a more "soft" solution which will be focused on apt only.

Apt will now send an application package name (com.termux) and prefix
(/data/data/com.termux/files/usr) as part of user-agent string. That
will allow to distinguish real Termux users from parties which download
our packages and binary-patching them for the custom prefix.

Note that this will disable user's possibility to set custom User-Agent
for apt.
2020-12-24 16:42:32 +02:00
Leonid Pliushch
37375312b9 explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
b8f03e6ec4 bash: bump revision 2020-12-11 22:12:58 +02:00
Lucy Phipps
c4c38a69db default bashrc: less needless escapes 2020-12-11 22:12:19 +02:00
Leonid Pliushch
a50528e9af bash: bump revision 2020-12-11 18:31:54 +02:00
Leonid Pliushch
7b1c8173e7 bash: better default bashrc 2020-12-11 18:31:13 +02:00
Leonid Pliushch
51f499969e bash: update to 5.1 2020-12-07 20:14:08 +00:00
Leonid Pliushch
7e89e130ce apply prefix verification patches again - now shouldn't cause crash 2020-09-28 02:54:13 +03:00
Leonid Pliushch
a6102de687 Revert "add patches for prefix verification"
This reverts commit 2703e4f68f856bb816c695ab53118306ba8104a4.

https://github.com/termux/termux-packages/issues/5858 - seem to be buffer overflow...
2020-09-28 01:37:34 +03:00
Leonid Pliushch
9d92a7360c add patches for prefix verification - prevent use of prebuilt packages by third parties
Add a small stub which verifies whether /data/data/com.termux/files/usr is readable
into few important packages such like Bash or APT. If this check fails, e.g.
in case if binary was executed in program with different package name (non-Termux),
program will print warning and exit with error status immediately.

This should prevent use of prebuilt packages by third-party applications.

NOTE: for now it uses /data/data/com.termux/files/usr in reversed order to
prevent automatic "blind" patching with sed. Will replace with randomized
XOR-based variant in case if that measure won't be enough.
2020-09-28 00:10:00 +03:00
Henrik Grimler
46e46767fc bash: update to patch level 18 2020-07-20 21:22:34 +02:00
Leonid Pliushch
b6aa249557 bash: bump revision 2020-07-09 01:08:27 +03:00
Leonid Pliushch
30d39ac7e0 bash: remove /bin/applets from PATH 2020-07-09 01:08:21 +03:00
Leonid Pliushch
d1a3bece8e bash: bump revision 2020-07-07 19:33:13 +03:00
Leonid Pliushch
fc3fca79be bash: update to 5.0.17 2020-04-26 14:51:03 +03:00
Leonid Pliushch
ac5f0c642b bash: update to 5.0.16 2020-02-10 13:08:55 +02:00
Fredrik Fornwall
8911a515d7 bash: Update from 5.0.9 to 5.0.11 2019-09-03 05:45:05 +02:00
Fredrik Fornwall
99fd365beb bash: Update from 5.0.7 to 5.0.9 2019-08-15 17:45:58 +02:00
Leonid Pliushch
76eaf460e2 bash: make "command-not-found" optional
Though, it will be pre-installed via bootstraps as previously.
Possible after changes to bashrc introduced in b45da7b8ba.

Related issue: https://github.com/termux/termux-packages/issues/661
2019-08-05 14:10:55 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch
a997e982a2 bash: do not hardcode prefix/home paths
Use @TERMUX_PREFIX@ or @TERMUX_HOME@ where needed.
2019-07-22 02:23:55 +03:00
Leonid Pliushch
1e5d50a950 bash: use command-not-found handler only if it exists 2019-07-22 02:23:43 +03:00
Leonid Pliushch
4832078d86 reformat build.sh for some packages
* Packages where dependencies were sorted are bumped.
2019-07-22 01:51:28 +03:00
Fredrik Fornwall
2250a82901 bash: Bump revision to get info page 2019-07-02 00:01:00 +02:00
Leonid Pliushch
b98ffcf631 add libiconv to dependencies where needed 2019-05-05 21:29:36 +02:00
Fredrik Fornwall
58bd805aa7 bash: Update from 5.0.3 to 5.0.7 2019-04-23 10:20:45 +02:00