Commit Graph

27 Commits

Author SHA1 Message Date
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