Portage: Patch existing Perl module ebuild by using a overlay

You may have had the same issue as i some time ago. You install a perl module from Portage but you have to modify the module’s code. Of course you don’t want to patch and install manually. Assuming the module is named “foobar” here’s how i solved it:

… » Read more

Gentoo: Unmerging software including configs and data

If you’re unmerging software in Gentoo some files stay on your server. This is a result of the setting CONFIG_PROTECT. To unmerge a package completely use this command:

~> CONFIG_PROTECT="" emerge -C [SOFTWARE]