Gentoo: The Bastard 1

Posted by Joshua Schmidlkofer Tue, 21 Mar 2006 10:00:00 GMT

I may not be much of a shell scripter, or a programmer. However, I wrote a utility that saved me more than 30 minutes of time tonight. The Bastard does mass unmasking and keywords overrides for portage packages. Who needs this? People who wish to run Gnome 2.14 before it's unmasked. Lots of the tools will be hardmasked due to a common practice of using shotgun-style keywords:

gnome-base/gnome   ~x86

In this case, a hard-mask is nessecary. Emerge will report this too you when you run it on a masked package. [Keywords or hard mask]. So I wrote a little utility to repeteadly run emerge, catch the output and update /etc/portage/package.keywords and /etc/portage/package.mask. Nice. =).

Typo Update 1

Posted by Joshua Schmidlkofer Fri, 17 Mar 2006 23:20:00 GMT

My Typo is aging a bit, and I have some strange problems. I have seen all my problems as closed tickets in the Typo Trac site. Everytime I try to update though, I get horrible rake errors, etc.

My good friend Nihilist gave me a hot tip that r761 was fairly stable. This seems to have been a good thing.

I also decided to update lighttpd. Gentoo Portage doesn't have 1.4.11, so I had to bump the ebuild, add it to Asylumware Portage and add it myself. No problem. I also put in a couple extras

xXxX@embassy ~/public_html/typo.r761 $ svn export -r761 svn://typosphere.org/typo/trunk
xXxX@embassy ~/public_html/typo.r761 $ rake migrate
....[excess trimmed]......
Extending content table
Converting pages
Updating all articles
Adding podcast metadata fields
Adding Redirect Table
NOTICE:  CREATE TABLE will create implicit sequence "redirects_id_seq" for serial column "redirects.id"
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "redirects_pkey" for table "redirects"
Setting published flag on each comment
xXxX@embassy ~/public_html/typo.r761 $