Commit Graph

29 Commits

Author SHA1 Message Date
tqfx b8956e59d0 bump(main/htop): 3.3.0 2024-04-24 10:38:05 +03:00
Tee KOBAYASHI cbaaf3abf6 htop: Bump to 3.2.2 2023-02-05 03:03:59 +00:00
Lucy Phipps e68b9fd77e
htop: update to 3.2.1 2022-07-22 21:16:55 +01:00
marcusz 287cf1e176
fix(main/htop): use `access()` function instead of `getuid()` (#11013)
The getuid() root checks produces undesired behavior if this function is used
instead of proper checks for file permissions whether the `/proc/stat` can be
accessed or not.

- If `htop` runs in fake root environments (proot/fakeroot), the getuid()
function would obviously return the root user id. as a result, it will use the
actual /proc/stat file and would fail in case the user does not have `/proc/stat` access.

- The getuid() checks is the unreliable way of checking the
permissions of `/proc/stat` file as suppose that it would always require root for
checking the readability of the process status file and use it.
using access() function should allow proper checks regardless of a logged user account.

This change would likely replace the postinst checks of /proc/stat file and include
the fake process status file in the deb package instead
2022-06-18 16:31:58 +08:00
wmcbtech30 333a2583be
htop: update to 3.2.0 2022-05-10 13:47:23 +08:00
marcusz 67e641ab34
htop: add checks if a user is rooted (#10357)
There are some users have root access but they don't have read access
to /proc/stat if not into root context which in this case for SELinux
enforced devices and during the postinst step it will still check the
file unprivileged
2022-04-27 20:19:20 +08:00
wmcbtech30 05357b5612
htop: update to 3.1.2 2022-04-18 10:57:27 +08:00
marcusz ce99a04eab
move and update htop to 3.0.5 from root-repo (#9998)
package `htop` will be merged into one and should be usable for all users while keeping it up-to-date
2022-04-15 15:36:10 +08:00
Leonid Pliushch 66d543d2be move 'htop' to root-repo and add htop-legacy corresponding to htop v2.x 2020-09-02 15:32:37 +03:00
Leonid Pliushch d9bf81ed12 htop: update message for /proc/stat access denial
Only engineering builds of Lineage OS allow free access to /proc/stat.

Remove the mention of "install Lineage OS" to avoid confusion since official
releases restrict /proc/stat access just like stock Android.
2020-09-02 13:57:28 +03:00
Leonid Pliushch 819f92fefd htop: since v3.0.0 it can't work without /proc/stat, add a proper error description why and what to do 2020-08-29 12:00:48 +03:00
Leonid Pliushch ab326d4cea htop: update to 3.0.0 2020-08-28 21:43:12 +03:00
Leonid Pliushch 5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Leonid Pliushch c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Fredrik Fornwall 9213ead4c6 Bump some nl_langinfo-using packages 2019-01-30 00:14:35 +01:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall b997717564 htop: Bump revision after patch 2018-05-13 01:09:24 +02:00
Michał Bednarski 15911384b6 htop: Don't exit if /proc/stat cannot be opened 2018-05-13 01:05:19 +02:00
Fredrik Fornwall 2a7d5f0a12 htop: Update from 2.1.0 to 2.2.0 2018-04-12 07:59:18 +02:00
Leonid Pliushch 51fe412ccd htop: update to 2.1.0 2018-03-06 16:45:09 +01:00
Leonid Pliushch 366bed955f htop: fix segfault which may occur in some cases
This already fixed in htop's repo at commit cceab15b9dbdc2f0914c8d479cefa429d1c0daaf
2017-09-26 15:12:37 +02:00
Fredrik Fornwall 544181cd4f Use more source checksums 2017-03-27 01:56:11 +02:00
Fredrik Fornwall eaf3340315 Prepare more packages for clang 2016-09-03 18:15:47 -04:00
Fredrik Fornwall 265909ff5e htop: Update from 2.0.1 to 2.0.2 2016-08-10 17:59:53 -04:00
Fredrik Fornwall e706a183b3 htop Rebuild after ncurses bump (fixes #259) 2016-05-10 09:19:28 -04:00
Fredrik Fornwall f612790cba htop&nano: Rebuild for updated aarch64 toolchain 2016-03-22 17:36:55 -04:00
Fredrik Fornwall 39b1d4805b htop: Update from 2.0.0 to 2.0.1 2016-03-07 18:17:27 -05:00
Fredrik Fornwall d7b6967a9f htop: Update to 2.0.0 (fixes #142) 2016-02-19 06:19:00 -05:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00