Code Monkey home page Code Monkey logo

portage-utils's Introduction

Gentoo Portage Utilities

What How
HOMEPAGE https://wiki.gentoo.org/wiki/Portage-utils
GIT git clone git://anongit.gentoo.org/proj/portage-utils.git
VIEWVCS https://gitweb.gentoo.org/proj/portage-utils.git/
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

Just run make. This should work on any recent POSIX compliant system.

Helping out

There's a large TODO list with various ideas for improvements.

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

Examples

  • find elf files linking to old openssl
    qlist -ao | scanelf -BqgN libssl.so.0.9.6 -f -

  • print a package.use
    qlist -UCq | grep ' ' > package.use

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

  • get PORTDIR
    DEBUG=: ./q -Ch 2>&1 | grep ^PORTDIR | awk '{print $3}

  • Verify all packages
    qcheck -a

Contact

Bugs

Please file bugs at: https://bugs.gentoo.org/enter_bug.cgi?product=Portage%20Development&format=guided

Use Component of "Third-Party Tools".

Developers

Notes

Speed is everything.

Having your PORTDIR and VDB on the right file system helps dramatically

IDE raid with PORTDIR on reiserfs:

$ q -r
q: Finished 20655 entries in 1.990951 seconds

IDE raid with PORTDIR on ext3:

$ q -r q: Finished 20655 entries in 203.664252 seconds

portage-utils's People

Contributors

vapier avatar solarx avatar grobian avatar radhermit avatar betelgeuse avatar robbat2 avatar cardoe avatar pva avatar

Watchers

Antony Ingram avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.