TIP Portage utilities not in portage

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Tips & Tricks series.
Terminals / Shells Network X Window System Portage System Filesystems Kernel Other

Contents

[edit] Introduction

A list of portage utilities that aren't in portage. These are utilities or applications that would fit in the app-portage category, not general Gentoo related software.


[edit] Cleaning Utilities

eclean (bug page)

  • Yet another cleaning script for Gentoo. It is based on some ideas from the Cleaning out stale distfiles thread, that in fact also apply well to binary package cleaning, and thus can do both. Nothing really new inside in fact, I've just tried to give a clean and fast answer to this now classic problem.
Note: eclean is now part of app-portage/gentoolkit.

distclean.py (homepage)

  • is a Python script that removes all source files (e.g. tarballs) that are not associated with installed packages from the DISTDIR directory.

misc dist tidiers (forums)

  • is a thread with several snippets of code that do what distclean and source_clean do. Actually dist_clean was born there.

pkdep (forums)

  • removes unused dependencies for packages. See this thread for the script and info.

source_clean.sh (forums)

  • removes source files from DISTDIR which are not in the world file anymore.

unmerge-rdep (forums)

  • is a patch to portage to do a better job of unmerging dependencies.

yacleaner (forums) (download)

  • Yet Another Cleaner tool for Gentoo: Clean old files on $DISTDIR, $PKGDIR, $WORKDIR and $PORT_LOGDIR directories. All-in-one. It has a really nice CLI. (The link appears to be broken)

Unclepine (forums) (download)

  • A tool for dependencies jobs written in python. Read the forum posting, very useful tool.

clean-binary-packages (download)

  • A tool for clearing all outdated binary packages

orphan_finder.py (forums)

  • finds all of the orphan files (i.e. not owned by any installed package)

[edit] etc-update replacements

dispatch-conf

  • Is an "etc-update"-like tool that is part of the portage package, which uses an RCS repository for configuration backups.

cfg-update (forums)

  • Is a replacement for etc-update which uses an external graphical diff program of your choice.

config-rename (homepage)

  • Yet another replacement for etc-update.

etc-proposals (homepage)

  • For gentoo-users, etc-proposals is a gentoo configuration file updater, that, unlike etc-update and dispatch-conf, provides a shell with tabcompletion, a Gtk2 and a Qt4 frontend and allows updating of selected fileparts while providing a lot of automatization

[edit] Emerge Utilities

appear (forums)

  • downloads packages while emerge is compiling. (This is deprecated. Portage >2.1 can do that itself, by adding the "parallel-fetch" option to the FEATURES list in make.conf)

bumper (download) (forum)

  • "bumps up" a version of a package in portage when there is a new download available but no ebuild. It copies the ebuild to the overlay directory with the higher version number and creates a digest.

bemerge (forums)

  • allows you to browse the portage tree either amongst all available or all installed packages, and perform some emerge command on any subset of these. This is powered by pbrowser, which is a generic script that lets you select packages from the ones in /usr/portage or in /var/db/pkg (i.e. installed packages) and output them.

eMenu (download)

  • provides common emerge commands, and, more usefully, captures messages outputed by portage so you can view them later.

efetch-wrapper (homepage)

  • Extends emerge's use of --fetch (wget) so that you can download over ssh or rsync-ssh.

ehush (download) (forum)

  • is a wrapper for emerge that supresses compiling information and only prints the "important" stuff. It logs the full output if you need to see it.

emerge-uri.sh (forums)

  • generates a list from emerge -pf on a computer with no net connection. download-uri.sh downloads the packages for you on a computer with a connection to the ineternet.

emerge-webrsync (download)

  • Improved emerge-webrsync that can keep portage snapshot and can modify verbosity level.

femerge (forums)

  • allows you to filter through what emerge wants to install to deselect packages you didn't want after all (e.g. after an emerge -up world). It still tracks dependencies, of course. This is powered by the more general script "pfilter", which can filter package listings output from emerge.

glcu - gentoo linux cron update (homepage) (forums)

  • Not your average emerge sync from cron script. Does GLSA checks, email on failed emerges and more.

gportage (homepage)

  • is a simple GTK-based portage package browser. (Discontinued in favor of Porthole which is now in portage)

portal (homepage)

  • is like pye (Pick Your Emerge) or rtkmerge. Portal lets you choose which packages you want to emerge from the output of "emerge -p world" (or system, etc.). You can also add packages to the various /etc/portage/ files and edit per package USE flags and add them to /etc/portage/package.use.

pye (Pick Your Emerge) (download) (forums)

  • gives you a numbered list based on the output of emerge -pU world. You can then choose what to emerge by typing in the corresponding numbers.

rmerge (homepage)

  • is a web browser based interface to /usr/bin/emerge.

rtkmerge (homepage)

  • is a GUI for emerge. When running "emerge world" or "emerge system", the user is presented with a list of packages. You can easily select which packages you want and don't want. A new and interesting approach.

semerge (forums)

  • downloads packages while compiling.

update-live-ebuilds (forums)

  • updates ebuilds from various SCMs (GIT, Subversion, CVS, Mercurial, darcs, TLA, Bazaar), only if they have been updated in the repository. Compatible with portage, pkgcore and paludis.

update-world (Forums) (GWN Article)

  • Hassle-free emerge -uD world. The script controls the update process and forces portage to skip past failed builds and continue compiling packages until the update list is finished. Failed builds are added to a list for review once the update is finished.

[edit] Informational Utilities

compileTime (forums)

  • shows compile time, date etc of emerge.

earch (download)

  • shows the ARCH status for each ebuild when run in that package's directory.

etcat (forums)

  • allows you to select an ebuild from a list of available versions then view the ebuild.

eix (homepage) (forums)

  • is similar to app-portage/esearch but was coded in hopes of faster update and search times. Its written in C++ and has its own Sourceforge page.

eprogress (forums)

  • Ever wondered how long an ebuild is going to take? Or perhaps you'd like to see a list of all previous failed/interrupted ebuilds?

fastsearch (download)

  • is a lightning fast search script for the portage tree.

find-deps.py (download)

  • shows all packages that have a dependency on a given package. Similar to "qpkg -q", but that only shows installed pacakges. (The link appears to be broken)

gest (homepage) (forum)

  • calculates the time for a package to be re-emerged based on previous emerges. It will work on several packages at once. See this thread:

portlog-info (download)

  • is a small bash script that can parse content of your /var/log/portage (or whatever else is defined as PORT_LOGDIR in /etc/make.conf) to retrieve different kind of messages (einfo, emerge errors, etc.) in per-package emerge logs.

portpeek (forums)

  • a utility script that will process a system's package.* files and display to the user potential package upgrades. Also, useful for cleaning up old entries in package.* files that have gone stable and are no longer required to be there.

tsportageview (forums) (sample-html-output) (ebuild) (homepage)

  • Show descriptions of packages. It may use <longdescription> from metadata.xml files. The output can be coloured text (requires color package) or html with links towards package homepages.

ViewPortageX (kde-look)

  • is a theme for superkaramba that allows you to watch the changes in the portage tree

pkg-ages (pkg-ages)

  • small utility for finding out how old your currently-installed packages are

[edit] Miscellaneous Utilities

distdir_overlay (forums)

  • allows multiple distfile directories, similar to PORTDIR_OVERLAY. It appears to be in the testing phase. The authors say there will be a webpage for the project soon, with English.

dynamic deltup server (homepage) (forums)

  • is a revival of the old and known deltup but with a download-wrapper script transparent to portage and a server that creates the delta-files on demand (if not available in its cache).

einjected (download)

  • searches your system for packages you emerged with --inject. This is useful with the switch to using /etc/portage/package.provided in the latest portage version.

ecatmur's stuff (homepage)

  • This is a directory of portage utilities mixed in with some non-portage things.

GLIS (homepage)

  • is the Gentoo Linux Install script.

imlate (download)

  • seeks to make arch maintainance easier by comparing the current stable version of an ebuild for one arch with another. x86 is the default comparison.

kdedelta.sh (download) (forums)

  • This shell script will download an xdelta from the KDE mirrors, greatly reducing download size.

licenses2kill.sh (download) (forums)

  • Remove packages by LICENSE.

license-checker (download (homepage)

  • Remove packages by LICENSE.

[edit] USE & CFLAGS Related Utilities

bininfo (forums)

  • will give you USE, CFLAGS, etc from packages you created with quickpkg.

Gufo (homepage)

  • searches for packages compiled with selected cflags and recompiles them.

used (forums)

  • is a ufed replacement.

profuse (download)

  • is a full-featured USE flags and cascading profile editor, with separate and scriptable backend with gtk2 and newt/ncurses frontends.

usechange (download)

  • uses the information in /var/db/pkg/ to determine the USE flags with which each installed package was compiled and checks those against the ones currently in effect.

usetool (download) (forum)

  • will give you a detailed analysis of package USE flags. Update: New version available, re-written from scratch in Python.

[edit] Uncategorized Utilities

md5check (md5check)

  • is a portage md5 checksum verification tool. It can show you which files have changed or been removed since you emerged a package. NOTE: equery from the gentoolkit does this.

portage toys (thread) (forum)

  • is perhaps the name of a script for per-package CFLAGS.

regenpkgdb (download)

  • will attempt to re-generate a "Oops! I needed that?" /var/db/pkg
Personal tools