Skip to content

[MIRROR] Small and fast Portage helper tools written in C

License

Notifications You must be signed in to change notification settings

gentoo/portage-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gentoo Portage Utilities

What How
HOMEPAGE https://wiki.gentoo.org/wiki/Q_applets
GIT https://anongit.gentoo.org/git/proj/portage-utils.git
VIEWVCS https://gitweb.gentoo.org/proj/portage-utils.git/
GITHUB https://github.com/gentoo/portage-utils
STATUS Build Status Coverity Status

portage-utils is a small set of utilities for working with Portage, Gentoo ebuilds, Gentoo ebuild overlays, installed packages (vdb), and similar sources of information. The focus is on size and speed, so everything is in C.

Building

Run configure followed by make. If you're using git-sources, run configure with --disable-maintainer-mode or run autoreconf to get various timestamps correct.

Helping out

There's a large TODO list with various ideas for improvements. File a bug on Gentoo's Bugzilla, or use Github's issues and pull requests.

There's also a HACKING doc to help you get started.

Examples

  • find elf files linking to old openssl (using app-misc/pax-utils)
    qlist -Cao | scanelf -BqgN libssl.so.0.9.6 -f -

  • produce a package.use file for currently installed packages
    qlist -UCq | grep ' ' > package.use

  • find orphan files not owned by any package in /lib and /usr/lib
    qfile -o {,/usr}/lib/*

  • get PORTDIR and see where it is defined
    q -ev PORTDIR

  • verify all packages
    qcheck

  • check validity of the Manifest files for the main tree
    qmanifest

  • get an overview of what the last emerge call did
    qlop -E

Contact

Bugs

Please file bugs at: https://bugs.gentoo.org/enter_bug.cgi?product=Portage%20Development&component=Unclassified&[email protected]&format=guided

Developers