Gentoo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Image:Gentoo-logo.png]] | [[Image:Gentoo-logo.png]] | ||
== Essential Packages == | |||
* logrotate - rotate log files on a routine basis (force with logrotate -f /etc/logrotate.conf) | |||
== Checking for Vulnerabilities == | == Checking for Vulnerabilities == | ||
Revision as of 16:07, 10 February 2009
Essential Packages
- logrotate - rotate log files on a routine basis (force with logrotate -f /etc/logrotate.conf)
Checking for Vulnerabilities
To check installed ebuilds against known vulnerabilities, first make sure app-portage/gentoolkit is installed, then use the following command:
glsa-check -l affected
Fixing Broken Dependencies
revdep-rebuild --ignore --pretend revdep-rebuild -i -p -v
Building Packages
quickpkg
Finding what ebuild a File Belongs To
equery belongs file
Backup an Ebuild
Use quickpkg
Generate a New Manifest for a Crudely Hacked Ebuild
ebuild /usr/local/portage/net-irc/xchat/xchat-2.0.9.ebuild digest
Changing Portage Profile
eselect profile list eselect profile set <number>
Unmask Package
Add a line to /etc/portage/package.keywords like so:
net-mail/qmrtg ~amd64
Package Specific USE Flags
- Defined in /etc/portage/package.use
Example:
net-ftp/proftpd -mysql -ssl net-libs/courier-authlib -mysql -berkdb -gdbm sys-apps/ucspi-tcp limits app-admin/sudo offensive
