Fredrik Fornwall
84ea4c0b97
termux-tools: bump version
5 years ago
Fredrik Fornwall
0974aeab55
termux-tools: Add /sbin to su path ( fixes #4345 )
5 years ago
Leonid Plyushch
e8e3bac423
termux-tools: bump version
5 years ago
Leonid Plyushch
aba5abe17b
termux-tools: use @TERMUX_PREFIX@ instead of path in sources
Ensure that scripts always use correct prefix-specific path.
5 years ago
Leonid Plyushch
68101269a9
termux-tools: use default shebang in sources
This will allow build system to set shebang according to the
current TERMUX_PREFIX.
5 years ago
Leonid Plyushch
7e88992f9d
termux-tools: do not print motd on OpenSSH login when config PrintMotd=no
Now OpenSSH will not print motd on its own which may result in duplicate.
Instead it will control the login script via environment variable.
Fixes https://github.com/termux/termux-packages/issues/3941 .
5 years ago
Leonid Plyushch
303e5b2a8a
add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.
To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
5 years ago
Leonid Plyushch
d111f5bf74
packages: standardize values of several control variables for build.sh
Variables
TERMUX_PKG_PLATFORM_INDEPENDENT
TERMUX_DEBUG
TERMUX_PKG_HAS_DEBUG
TERMUX_PKG_ESSENTIAL
TERMUX_SUBPKG_ESSENTIAL
TERMUX_PKG_NO_STATICSPLIT
TERMUX_PKG_BUILD_IN_SRC
TERMUX_PKG_FORCE_CMAKE
TERMUX_PKG_HOSTBUILD
should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.
build-package.sh should make decision based on variable's value but not on
whether it is set or empty.
%ci:no-build
5 years ago
Leonid Plyushch
dbc6c26573
undo "Unsplit essential packages"
Seems it is not possible to unsplit these packages currently.
%ci:reset-backlog
5 years ago
Leonid Plyushch
d5d0cbb4bb
xz-utils: unsplit from liblzma
Same reason as for curl and bzip2.
5 years ago
Leonid Plyushch
9eae51b99d
unsplit bzip2 from libbz2
Same reason as for 'curl'.
5 years ago
Leonid Plyushch
26fae4045f
libcurl: unsplit 'curl' subpackage
Both packages are essential and expect to be in bootstrap installation so
splitting is quite useless here.
5 years ago
Leonid Plyushch
28a31530e8
termux-tools: add core packages to dependencies
Some packages are not getting installed after busybox was replaced by separate
packages. This commit should fix that by specifying core packages as dependencies
of the "termux-tools".
5 years ago
Leonid Plyushch
efe479bace
termux-exec should be a dependency of termux-tools
Because it is used by login script and termux-tools is essential anyway.
6 years ago
Leonid Plyushch
ee7fe4f054
reformat build.sh for some packages
* Packages where dependencies were sorted are bumped.
6 years ago
Leonid Plyushch
82159d4496
termux-tools: provide wrapper for /system/bin/umount
Good addition since we already have wrapper for /system/bin/mount.
6 years ago
Leonid Plyushch
d6b52867f4
termux-tools: provide wrapper for /system/bin/mount
Right now Termux doesn't have utility 'mount' available. Also
on Samsung devices executing /system/bin/mount can cause
linking errors.
Issue https://github.com/termux/termux-packages/issues/4002 .
6 years ago
Leonid Plyushch
2a688ab855
termux-tools: bump to v0.66
6 years ago
Leonid Plyushch
5b74f8e0fb
termux-tools: prevent word-splitting of arguments with space
6 years ago
Leonid Plyushch
a6ebdef259
termux-tools: handle arguments for "pkg upgrade"
Fix for https://github.com/termux/termux-packages/issues/3758 .
6 years ago
Henrik Grimler
9db667237e
termux-tools: bump revision
6 years ago
Guillermo Robles
845ccdbb9c
Correct support of remove command in pkg
Fixes #3681
6 years ago
Leonid Plyushch
d00d598a74
termux-tools: bump version
6 years ago
Leonid Plyushch
66020f2f7f
termux-tools: remove unneeded line
6 years ago
Leonid Plyushch
a0cca72fd3
termux-tools: simplify notes about reporting issues
6 years ago
Leonid Plyushch
7f8b510160
termux-tools: remove mailing list from motd
6 years ago
Henrik Grimler
c275babea6
termux-tools: indent motd message
6 years ago
Leonid Plyushch
5f82bb387b
termux-tools: improve default motd
6 years ago
Leonid Plyushch
9ba4d9fdd3
termux-tools: do not start login shell if not running on terminal
Fixes execution of commands via non-interactive shell with OpenSSH.
Issue https://github.com/termux/termux-packages/issues/3620 .
6 years ago
Henrik Grimler
abf5ed0283
termux-info: add subscribed repositories to printed info
6 years ago
Tom Yan
e3c55bdcf8
termux-tools: companion of termux/termux-app#1031
6 years ago
Wetitpig
78b944ba05
Improve formatting of parantheses for functions
6 years ago
Leonid Plyushch
dda6fae8a5
termux-tools: do not provide file path with slash at the beginning
See https://github.com/termux/termux-app/issues/995 .
6 years ago
Leonid Plyushch
7ab2997202
termux-tools: distrubute under GPL-3.0
Same license as for Termux app.
6 years ago
Leonid Plyushch
037bcf9566
add licenses for more packages
6 years ago
Jason A. Donenfeld
479b8f9828
termux-tools: use proper su search order
This mirrors the search order in the standard Android PATH, so that the
right tool is used consistently. This makes it easier for something like
Kernel Assisted Superuser to co-exist with Magisk.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6 years ago
Fredrik Fornwall
edbb4081d3
Use system top
Remove top both from busybox (which is broken on Android 8+), and
procps (which has issues on Android 8+) and use a system wrapper
in termux-tools instead.
6 years ago
Leonid Plyushch
0883785cad
termux-tools: export SHELL variable on login ( #2632 )
7 years ago
Fredrik Fornwall
9d5852dcad
termux-tools: Bump version to 0.55 after su warning in pkg
7 years ago
Jonas L
e59f7f1fd4
Add root check to pkg
This prevents users from using "su pkg ..." which breaks permissions
7 years ago
Oliver Schmidhauser
ea368bb55d
unset LD_PRELOAD in su because magist 16.4 is 32 bit only
7 years ago
its-pointless
1ec6c042a8
termux-tools: Work around for when termux-exec is broken
7 years ago
Fredrik Fornwall
b0e16f0ed0
termux-tools: Depend on termux-am ( fixes #2101 )
7 years ago
Michał Bednarski
0b470897d1
termux-am: Add package
7 years ago
Fredrik Fornwall
6b54ba3b69
termux-tools: Unset LD_PRELOAD when calling system
Some 64-bit systems seems to have 32-bit binaries in /system/bin,
so unset LD_PRELOAD before calling them. See #551 .
7 years ago
Fredrik Fornwall
52ec48e06f
termux-tools: Avoid pm list in termux-info ( #1426 )
7 years ago
Fredrik Fornwall
c4600d33bc
termux-tools: Unset LD_PRELOAD in dalvikvm
See https://github.com/termux/termux-packages/issues/1736
7 years ago
Oliver Schmidhauser
fc0718410c
packages->pkg in help text ( #1599 )
* packages->pkg in help text
* Fix pkg at a second placec
7 years ago
Fredrik Fornwall
2cac774bfb
termux-tools: Make bin/login handle arguments
As we now use bin/login even from e.g. sshd we need to handle
arguments by forwarding it to the login shell and not displaying
a motd in that case. Fixes #1529 .
7 years ago
Fredrik Fornwall
8c4313e32e
termux-exec: Add package
7 years ago