36 Commits

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