[Deutsche Version]

Gentoo Scripts

Here, I offer some scripts that make my life with Gentoo Linux easier. Perhaps, somebody may want to use it :-)

Index

check_keywords

Finds redundant entries in /etc/portage/package.keywords. The script marks entries as redundant if they aren't installed or not masked anymore. It won't change anything, it just displays the packages.
From version 0.2, /etc/portage/package.keywords being a directory is also supported. In this case, all files therein are checked. Thanks to firefly for the patch :-)

Download: check_keywords-0.2.2.gz (2.1 KB, Last change: 2008-09-19)
Older versions: [0.2.1] (2.1 KB) [0.2] (2.1 KB) [0.1.1] (1.9 KB) [0.1] (1.9 KB)

clean_resume

This script should (based on a script from the Gentoo Forums) delete emerge's --resume liste. It does it here at least. But without any warranty!
Running this script before nightmerge should solve the problem that it resumes an old --resume liste if the dependency calculation of the first package fails.

Download: clean_resume-0.1.1.gz (0.3 KB, Last change: 2008-09-19)
Older versions: [0.1] (0.3 KB)

eix-sync-all

Modified eix-sync, that synchronizes and indexes portage overlays as well automatically. In /etc/eix-sync-overlays one can define the used overlays, one per line. For informations about eix, see the eix homepage.

Download: eix-sync-all-0.1.gz (0.5 KB, Last change: 2008-09-19)

nightmerge

Simple wrapper script for emerge. Passes all arguments to emerge. If a package fails, this is logged and then a emerge --resume --skipfirst is executed; at the end, a list of failed packages is displayed. Handy for compile orgys like a emerge -eav world after a gcc update.
In principle, it does the same like mymerge, with the difference that it doesn't flood the worldfile with redundant entries of dependencies ;-)

See also clean_resume!

Download: nightmerge-0.2.1.gz (1.8 KB, Last change: 2008-09-19)
Older versions: [0.2] (1.8 KB) [0.1] (0.9 KB)

nasauber.de © 2010 by Tobias Leupold