Commit Graph

63 Commits

Author SHA1 Message Date
Fredrik Fornwall 207314894d termux-tools: Add 'pkg add' as alias install 2017-06-13 16:32:24 +02:00
Fredrik Fornwall 700ecf0fbc Use 'pkg' as shorter form of 'packages'
Fixes https://github.com/termux/termux-app/issues/321.
2017-06-12 03:01:09 +02:00
Fredrik Fornwall b2ad42ed60 termux-tools: xdg-open should be a symlink 2017-04-16 14:37:07 +02:00
Oliver Schmidhauser 833973d1be Add termux-info tool (#422)
* Add termux-info tool

* Add more information to termux-info

* Resolve conflicts. Add comment and fix Typo.

* remove empty lines in output
2017-04-09 00:07:06 +02:00
Fredrik Fornwall b81361aaa4 termux-tools: Bump version to 0.41 2017-04-02 14:47:41 +02:00
Leonid Pliushch 0512693840 termux-tools: fix termux-fix-shebang script (#888) 2017-04-02 14:45:35 +02:00
Fredrik Fornwall 96b1a1bbe0 termux-tools: Add 'files' command to packages 2017-03-10 15:34:17 +01:00
Fredrik Fornwall 9d99cc6543 termux-tools: Allow shorter forms in packages 2017-03-10 15:22:44 +01:00
Fredrik Fornwall bd78c57fd7 termux-tools: Handle --help in termux-open
Fixes #801.
2017-03-01 17:20:37 +01:00
Fredrik Fornwall 30a5b5a7ad termux-tools: Bump version to 0.38 2017-02-28 00:30:51 +01:00
Fredrik Fornwall e54c330868 termux-tools: Setup xdg-open->termux-open symlink 2017-02-28 00:30:19 +01:00
Fredrik Fornwall 2d36166493 termux-tools: Handle invalid login in chsh 2017-02-28 00:30:06 +01:00
Fredrik Fornwall 83686ac5af termux-open: Handle relative paths 2017-02-28 00:29:49 +01:00
Fredrik Fornwall 12d3fff047 termux-tools: Add termux-open 2017-02-28 00:15:22 +01:00
Fredrik Fornwall ad966ce1e6 No .hushlogin instructions in motd for brevity 2017-02-27 21:21:43 +01:00
Fredrik Fornwall 83e3b942b5 termux-tools: Bump version to bring 'packages' 2017-02-21 23:54:24 +01:00
Fredrik Fornwall d6df138bb1 termux-tools: Add a 'packages' utility 2017-02-17 23:13:49 +01:00
Fredrik Fornwall 94d42ba267 termux-tools: Add a login program 2017-02-12 21:01:01 +01:00
Fredrik Fornwall a60532d853 termux-tools: Shorten width in motd 2017-02-09 10:41:26 +01:00
Fredrik Fornwall 4d7154eff8 termux-tools: Add etc/motd to be shown on login 2017-02-09 10:28:37 +01:00
Fredrik Fornwall 89956f70a1 termux-tools: Search in /system/bin for su
Fixes #723.
2017-02-03 00:04:26 +01:00
Fredrik Fornwall 4c29f84f59 termux-tools: Fix quoting in su (fixes #244) 2017-01-25 11:50:20 +01:00
Fredrik Fornwall c9379a3ed8 termux-tools: Unset LD_LIBRARY_PATH in wrappers
Previously the wrappers assumed that if
	/system/bin/linker64
that LD_LIBRARY_PATH should be set to /system/lib64. This seems
to not always be the case (see #192) and hopefully the system
binaries should work without LD_LIBRARY_PATH being set, so we
just unset it before calling the system binary.
2017-01-08 04:53:36 -05:00
Fredrik Fornwall 5ef5713d2d termux-tools: Fix typo in termux-setup-storage 2017-01-03 17:21:43 -05:00
Fredrik Fornwall 7acdc6acea termux-tools: Bump version 2016-12-29 22:27:57 -05:00
Fredrik Fornwall bac2fa5de0 termux-reload-settings: Update help text 2016-12-28 17:14:09 -05:00
Fredrik Fornwall eafc139a78 termux-tools: Add termux-wake-{lock,unlock} 2016-12-25 22:29:30 -05:00
Fredrik Fornwall b956895de8 termux-tools: Add termux-wake-{lock,unlock} 2016-12-04 04:22:32 +01:00
Fredrik Fornwall 57efacaf26 termux-tools: Add /magisk/.core/bin/su path to su
Fixes #168.
2016-11-25 20:12:52 -05:00
Fredrik Fornwall 4cb7ec814f termux-tools: Update su
Search for /sbin/su, and remove termux-specific environment
so that system tools can be used for the root session.
2016-09-12 06:11:18 -04:00
Fredrik Fornwall 0ee447355b termux-tools: Try a more functional su wrapper 2016-08-31 17:39:18 -04:00
Fredrik Fornwall 6501186f2b Fix dalvikvm wrapper
- Just unset LD_LIBRARY_PATH in the dalvikvm wrapper.
- Let the dalvikvm wrapper setup $ANDROID_DATA.
- Avoid using a custom dalvikvm wrapper in dx.
2016-05-05 19:55:13 -04:00
Fredrik Fornwall 36f4c5d719 Move over elf.h to termux-elf-cleaner
This allows building termux-elf-cleaner on OS X
2016-04-24 21:42:57 +02:00
Fredrik Fornwall 0ae97c5e98 termux-tools: Quote $@ when sending from wrappers
Fixes https://github.com/termux/termux-api/issues/18
2016-04-19 10:28:08 -04:00
Fredrik Fornwall 31dd323c81 termux-tools: More robust check for 64-bit runtime
Previously the wrapper scripts for binaries in /system/bin used
/system/bin/getprop to determine if /system/lib or /system/lib64
should be used for the LD_LIBRARY_PATH.

We now switch to checking for /system/bin/linker64 which should be
more robust and faster. Fixes #214.
2016-04-18 00:55:28 -04:00
Fredrik Fornwall 8353c56c0b Modify setup in wrappers for /system/bin/ commands
On several devices several tools in /system/bin/ requires
LD_LIBRARY_PATH to contain /system/lib(64). Check for the bit-ness
with `getprop ro.product.cpu.abilist64`  and setup the environment
accordingly.

Closes #193.
Closes #206.
2016-04-10 20:20:17 -04:00
Oliver Schmidhauser f21a7e1f74 Add ip command to termux-tools 2016-04-02 11:47:01 +02:00
Fredrik Fornwall f88c28f160 Move ping6 from inetutils to instead use system
The ping6 binary needs setuid, so use the working system version
instead of installing a broken version for non-root users.

Closes https://github.com/termux/termux-app/issues/74
2016-04-01 06:55:30 -04:00
Fredrik Fornwall a5421dbdf6 termux-tools: Search in more places for su 2016-03-28 13:07:00 -04:00
Fredrik Fornwall 391aa3d473 termux-tools: Update su script, add getprop 2016-03-23 13:11:21 -04:00
Fredrik Fornwall 43ca47ce46 termux-tools: New 0.20 version with a su script 2016-03-23 13:08:04 -04:00
Fredrik Fornwall 5c7e02d7de termux-tools: Add su wrapper 2016-03-23 12:45:54 -04:00
Fredrik Fornwall 145d0fe3d6 termux-tools: Fix the am and pm wrapper 2016-03-21 22:42:11 -04:00
Fredrik Fornwall dcad05c5aa termux-tools: Add dalvikvm wrapper 2016-03-21 21:34:26 -04:00
Fredrik Fornwall 8b352090bf termux-tools: Add ping and logcat wrappers 2016-03-21 20:08:39 -04:00
Fredrik Fornwall 346477db98 termux-fix-shebang: Only modify first line 2016-03-17 11:38:03 -04:00
Fredrik Fornwall 159214fa63 termux-tools: df wrapper resetting LD_LIBRARY_PATH 2015-12-29 18:55:19 -05:00
Fredrik Fornwall 561edf1bac termux-tools: Add termux-setup-storage 2015-12-27 19:53:30 -05:00
Fredrik Fornwall d6d4e8feb0 termux-tools: reload-style -> reload-settings 2015-12-27 09:36:54 -05:00
Fredrik Fornwall 131bb40101 Fix termux-elf-cleaner tool build on OS X 2015-12-06 20:35:25 +01:00