Commit Graph

16 Commits

Author SHA1 Message Date
Termux Github Actions fe095aad98 bump(main/libcap-ng): 0.8.5
This commit has been automatically submitted by Github Actions.
2024-04-10 00:21:10 +00:00
Termux Github Actions 0760858c47 bump(main/libcap-ng): 0.8.4
This commit has been automatically submitted by Github Actions.
2023-12-20 18:10:43 +00:00
Tee KOBAYASHI f5ef27affd some packages: Re-enable clang16-porting
%ci:no-build
2023-04-03 09:25:50 +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 47919e2540 libcap-ng: Bump epoch 2022-03-31 06:21:40 +09:00
Tee KOBAYASHI bb5cf6a7f9 libcap-ng: Properly update to 0.8.3 2022-03-30 10:11:13 +09:00
Termux Github Actions 4f3e4318b3 libcap-ng: update to 0.8.3
This commit has been automatically submitted by Github Actions.
2022-03-30 00:55:36 +00:00
Leonid Pliushch 516ab61feb
libcap-ng: fix version 2021-12-26 17:48:41 +02:00
agnostic-apollo 8c2bd90b19 Changed: Bump libcap-ng to 0.8.3~pre1
Added `setpriv` in `util-linux` which requires `libcap-ng` to be updated as well for it work.

Android 7 and some Android devices 8 do not support ambient capabilities and will return `activate capabilities: Invalid argument` when running `setpriv`.

strace shows `"prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) = -1 EINVAL (Invalid argument)"`

This was an issue with `libcap-ng` where support for `PR_CAP_AMBIENT` was checked at compile time, so `setpriv` only worked on Android > `7`/`8` when `capng_apply()` was called.

`4.3    kernel   PR_CAP_AMBIENT`

https://github.com/util-linux/util-linux/blob/v2.37.1/sys-utils/setpriv.c#L1010
https://github.com/stevegrubb/libcap-ng/blob/v0.8.2/src/cap-ng.c#L59
https://github.com/stevegrubb/libcap-ng/blob/v0.8.2/src/cap-ng.c#L716
https://source.android.com/devices/architecture/kernel/android-common

This has been fixed in `libcap-ng` by checking `PR_CAP_AMBIENT` at runtime with `187ed535`. `libcap-ng` `0.8.3` has not been released yet and so we use a pre release version `0.8.3~pre1`.

https://github.com/stevegrubb/libcap-ng/issues/28
https://github.com/stevegrubb/libcap-ng/commit/187ed535
2021-12-11 21:32:49 +05:00
Henrik Grimler 7c820a8dc4 libcap-ng: bump revision 2021-10-23 17:33:06 +02:00
Henrik Grimler e2bcb42046 libcap-ng: disable python2 as well 2021-10-22 23:05:45 +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
Momin Juned 0faa3e2bcf
qemu: add spice protocol support (#7119)
Also fix libcap-ng build.
2021-07-07 21:54:22 +03:00
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch 3943770666
libcap-ng: bump revision 2020-12-11 16:12:04 +02:00
Leonid Pliushch 04f3129aea
new package: libcap-ng 2020-12-11 13:45:08 +02:00