Commit Graph

32 Commits

Author SHA1 Message Date
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
Fredrik Fornwall
637f22d133 Remove DT_VERDEF and DT_VERDEFNUM elf entries
This fixes Android 6 problems (so closes #26).

It also rebuilds termux-elf-cleaner when needed
and bumps some build revisions for packages
needed updates to remove DT_VERDEF and DT_VERDEFNUM.
2015-10-13 15:48:40 -04:00
Fredrik Fornwall
c491280161 termux-tools: Avoid breaking symlinks with termux-fix-shebang 2015-09-08 18:36:35 -04:00
Fredrik Fornwall
360e5c42af termux-elf-cleaner improvements 2015-08-19 21:21:38 -04:00
Fredrik Fornwall
009c8d9453 termux-elf-cleaner: Better error messages 2015-08-19 15:21:41 -04:00
Fredrik Fornwall
da9d85783c termux-tools: Improve the chsh command 2015-08-11 20:38:18 -04:00
Fredrik Fornwall
1ceaf1eee7 Fix termux-elf-cleaner.cpp to not break after first removed section 2015-07-30 08:22:41 -04:00
Fredrik Fornwall
12978f7880 termux-tools: Make wrapper scripts exec 2015-07-26 13:47:58 -04:00
Fredrik Fornwall
8ab83e251b termux-tools: Add pm wrapper script to unset LD_LIBRARY_PATH 2015-07-26 13:44:05 -04:00
Fredrik Fornwall
91c3e293f7 termux-tools: Remove termux-user script 2015-07-23 18:07:56 -04:00
Fredrik Fornwall
3ca4ba784b termux-tools: Enable compiler warnings and fix them 2015-07-23 17:36:10 -04:00
Fredrik Fornwall
aaa49e3405 termux-elf-cleaner.cpp: Use zu format specifier for size_t 2015-07-23 17:30:40 -04:00
Fredrik Fornwall
a0010caca3 Move termux-user from termux-api to termux-tools
Also add a am wrapper script which clears
LD_LIBRARY_PATH before calling /system/bin/am.
2015-07-18 05:42:44 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00