Commit Graph

43 Commits

Author SHA1 Message Date
Henrik Grimler 08695086b7
enhance(main/android-tools): use TERMUX_SELF_EXE env var if set
Intead of checking /proc/self/exe. This allows adb to be used with
termux-exec changes in https://github.com/termux/termux-exec/pull/24.
2023-12-30 23:30:53 +01:00
Kevin Williams a6c530b860 libprotobuf: Bump to 25.1
Signed-off-by: Kevin Williams <admin@utermux.dev>

Co-authored-by: Twaik Yont <twaikyont@gmail.com>
Co-Authored-By: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2023-12-24 22:25:26 +08:00
Jia Yuan Lo 32689bfc7e
revbump(main,x11): libprotobuf update (#18296) 2023-10-19 07:46:42 +08:00
Leonid Pliushch 78bb583d32
rebuild(main/android-tools): rebuild package with fresh protobuf
Confirmed to work locally, lets see on CI
2023-09-27 19:04:51 +03:00
Leonid Pliushch 558a9cbb73
rebuild(main/android-tools): try fix protobuf linking issue 2023-09-27 18:45:09 +03:00
Chongyun Lee 3acdb15feb android-tools: bump to 34.0.4 2023-09-06 00:54:12 +08:00
Kevin WIlliams 6c869703ed *: Rebuild with Go 1.21.0/1.20.7 (1)
Signed-off-by: Kevin WIlliams <admin@utermux.dev>
2023-08-12 17:59:04 +08:00
Biswapriyo Nath 2dbe02d452 android-tools: Bump to 34.0.1
reallocarry function is now checked from cmake.
2023-05-19 05:29:22 +09:00
Tee KOBAYASHI f3a7581b5e libprotobuf: Bump to 22.4 2023-05-06 13:50:16 +09:00
Tee KOBAYASHI b1e62e1cfa android-tools: Fix for `reallocarray`
%ci:no-build
2023-04-11 04:22:14 +09:00
Tee KOBAYASHI 10ada7e4d3 *: Disable clang16-porting for auto-updating packages
%ci:no-build
2023-03-28 16:27:35 +09:00
Tee KOBAYASHI 02e95796c2 libprotobuf: Bump to 22.1 2023-03-09 12:04:27 +00:00
Tee KOBAYASHI 19b98df63a android-tools: Bump to 34.0.0
%ci:no-build
2023-03-04 01:54:07 +00:00
Tee KOBAYASHI d4382a6b81 {,lib}protobuf: Revbump revdeps to rebuild 2023-02-19 10:28:34 +00:00
Tee KOBAYASHI cec1d690cf tree-wide: Cleanup lib{pthread,rt} patches
not handled in commit 986babfda7.

%ci:no-build
2023-02-13 08:52:27 +00:00
Aditya Alok 9f39439abf bump(main/android-tools): 33.0.3p2
- Remove no longer required `pthread` patches:
    * vendor_CMakeLists.adb.txt.patch
    * vendor_CMakeLists.fastboot.txt.patch
See: 8d839f8635

- Update patch `vendor_CMakeLists.mke2fs.txt.patch`.

Signed-off-by: Aditya Alok <alok@termux.dev>

* Add `dlopen()` hack for function `int __system_properties_init(void)`

Co-authored-by: Tee KOBAYASHI <xtkoba@gmail.com>
2023-01-10 01:56:50 +00:00
Tee KOBAYASHI 65d94eab24 android-tools: Backport fixes for CVEs
CVE-2022-3168 and CVE-2022-20128.
2022-11-13 05:17:21 +00:00
Henrik Grimler ff784d7a9a
deps(main/libprotobuf{,-c}): rebuild after libprotobuf upgrade
Fixes termux/termux-packages#11785, termux/termux-packages#11787,
termux/termux-packages#11791.
2022-09-02 12:06:08 +02:00
Henrik Grimler b281bc2145
rebuild(deps:libc++): bump termux-main packages that depend on libc++
All except libllvm, rust, rustc-nightly, openfoam and libdispatch,
those packages will be handled separately.
2022-08-13 12:21:20 +02:00
Ookiineko 601e538a29
android-tools: Bump TERMUX_PKG_REVISION
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:10 +05:30
Ookiineko 2c523a1a1f
android-tools: ignore invalid fd in fastboot
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:10 +05:30
Ookiineko 53d55de669
android-tools: don't wait for reboot fastboot
* an open fd will never be valid after the device is disconnected

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:09 +05:30
Ookiineko 2e2b57879f
android-tools: read interface name for fastboot
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:09 +05:30
Ookiineko 6125d8cf7d
android-tools: correct disconnect detection in fastboot
* we have neither the device node nor access to it

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:09 +05:30
Ookiineko 01e87c0c28
android-tools: move some code in fastboot patch
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-26 23:14:08 +05:30
Ookiineko e0032c005a
android-tools: fix fastboot patch
* when the usb is disconnected, the fd is still valid,
* thus causing LinuxUsbTransport::WaitForDisconnect to wait until the 3s timeout

* now we check if the fd's fstat->st_nlink is less than 1 to detect a disconnection

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>

android-tools: bump TERMUX_PKG_REVISION

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-12 19:50:40 +05:30
Ookiineko 36627471f8
android-tools: clean up fastboot patches
* switch to global struct for managing libusb_context

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-05-12 19:50:39 +05:30
Ookiineko 67ceadbb4e
android-tools: fix typos in fastboot patch
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-04-27 13:51:03 +02:00
Ookiineko 5e8c078e3d
android-tools: bump TERMUX_PKG_REVISION
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-04-27 10:15:21 +02:00
Ookiineko 49eab53c95
android-tools: add Termux-usb support for fastboot
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2022-04-27 10:15:18 +02:00
Tee KOBAYASHI 8305302732 android-tools: Update to 31.0.3p1 2022-03-05 10:54:21 +05:30
Lucy Phipps bad9fd99f8
android-tools: update to 31.0.3 2021-10-30 18:56:25 +01:00
Ian Hu 8160bf94e4 android-tools: split fix-ndk.patch to small patch per changed file. 2021-10-29 19:19:54 +08:00
Ian Hu 980fbe135d update ndk patch 2021-10-29 14:53:12 +08:00
Henrik Grimler 1a6eac1d85 android-tools: bump revision 2021-10-23 09:00:32 +02:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Ian Hu c7627c027b fix android-tools patch 2021-10-10 17:49:20 +02:00
Leonid Pliushch 27afd9e665
auto updates: migrate config from github-projects.txt to build.sh-specific
Re-enable automatic updates after deleting github-projects.txt.

%ci:no-build
2021-10-04 13:43:31 +03:00
Henrik Grimler d13bf886b8 android-tools, mosh: bump again to restart build 2021-06-15 16:13:40 +02:00
Henrik Grimler 9f963212d9 android-tools,mosh: bump after libprotobuf update
Fixes https://github.com/termux/termux-packages/issues/7014.
2021-06-15 16:03:56 +02:00
Leonid Pliushch 29d6f0e06a
android-tools: update patch 2021-05-03 18:01:40 +00:00
Leonid Pliushch 46c77e5ab6
android-tools: update to 31.0.0p1 2021-05-03 17:51:10 +00:00
韩朴宇 31ade8865b
new package: android-tools (#6542) 2021-04-07 19:51:30 +03:00