portage-utils
portage-utils copied to clipboard
[MIRROR] Small and fast Portage helper tools written in C
Signed-off-by: Sam James
`equery belongs` and `qfile` do not act the same way with symlinks. For example ```bash $ equery belongs /usr/bin/ar * Searching for /usr/bin/ar ... sys-devel/binutils-2.41-r2 (/usr/x86_64-pc-linux-gnu/binutils-bin/2.41/ar) $ qfile /usr/bin/ar [no...
The Patch enable the qmerge to understand if a config protected file has the same hash of the entry in /var/db/pkg/[package_name]/CONTENTS. In this way if this is the case the...
This error happens while running some commands like 'qwhich ' or 'qlist -t '. It outputs error lines like the following: qwhich: tree_open(): could not open repository at var/db/repos/gentoo (under...
I get this warning when compiling portage-utils with `gcc (Gentoo 14.2.1_p20240817 p4) 14.2.1 20240817`. qgrep.c: In function ‘qgrep_main’: qgrep.c:558:40: warning: ‘xcalloc’ sizes specified with ‘sizeof’ in the earlier argument and...
On certain systems, e.g. merged-usr (/{,s}bin and /usr/sbin are symlinks to /usr/bin), files that are installed to symlinked directories (/sbin etc.) actually reside in /usr/bin. Previously, qfile would only resolve...
This change makes the ordering consistent between `qlist -I`, `qlist -Ik` and `qlist -It`: packages are ordered by CAT/PN alphabetically, then by PF, newer versions coming first in the list....