<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Alunduil&#039;s Hosting &#187; portage</title> <atom:link href="http://www.alunduil.com/tag/portage/feed/" rel="self" type="application/rss+xml" /><link>http://www.alunduil.com</link> <description>Gentoo Hackery and Other Fun ...</description> <lastBuildDate>Sun, 27 Jun 2010 20:50:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>Layman Overlay</title><link>http://www.alunduil.com/2010/01/11/my-overlay-and-layman-a-love-story/</link> <comments>http://www.alunduil.com/2010/01/11/my-overlay-and-layman-a-love-story/#comments</comments> <pubDate>Mon, 11 Jan 2010 17:22:37 +0000</pubDate> <dc:creator>Alex Brandt</dc:creator> <category><![CDATA[Linux Guides]]></category> <category><![CDATA[gentoo]]></category> <category><![CDATA[layman]]></category> <category><![CDATA[overlay]]></category> <category><![CDATA[portage]]></category><guid isPermaLink="false">http://www.alunduil.com/?p=13</guid> <description><![CDATA[My Overlay My overlay has been available via subversion for quite some time now, but not in any easy to use format (integration with layman).  Getting this overlay to work with yours must have been a pain if you wanted to try something I had been working on. Making My Overlay Available The first thing [...]]]></description> <content:encoded><![CDATA[<h1>My Overlay</h1><p>My overlay has been available via subversion for quite some time now, but not in any easy to use format (integration with layman).  Getting this overlay to work with yours must have been a pain if you wanted to try something I had been working on.</p><h1>Making My Overlay Available</h1><p>The first thing I had to do to make my overlay talk with layman let alone get along with layman was add an xml definition of the overlay somewhere.  I chose the easy to manipulate path of http://www.alunduil.com/svn/portage/trunk/portage/alunduil-overlay.xml.</p><h1>Adding My Overlay List to Your Layman</h1><p>To add my overlay(s) to your layman list simply add the following path to your overlays variable in /etc/layman/layman.cfg: <code>http://www.alunduil.com/svn/portage/trunk/portage/alunduil-overlay.xml</code>.</p> ]]></content:encoded> <wfw:commentRss>http://www.alunduil.com/2010/01/11/my-overlay-and-layman-a-love-story/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Cleaning /etc/portage/package.*</title><link>http://www.alunduil.com/2009/07/23/cleaning-etcportagepackage/</link> <comments>http://www.alunduil.com/2009/07/23/cleaning-etcportagepackage/#comments</comments> <pubDate>Thu, 23 Jul 2009 06:38:19 +0000</pubDate> <dc:creator>Alex Brandt</dc:creator> <category><![CDATA[Linux Guides]]></category> <category><![CDATA[cleanup]]></category> <category><![CDATA[gentoo]]></category> <category><![CDATA[packages]]></category> <category><![CDATA[portage]]></category><guid isPermaLink="false">http://www.alunduil.com/?p=61</guid> <description><![CDATA[Inroduction After a while the files in /etc/portage become cluttered with the common, &#8220;Let&#8217;s try this . . . whoops that didn&#8217;t work . . . let&#8217;s try this.&#8221; No matter how hard you try to keep this clean you have probably forgotten something along the way. Installing a testing package then removing it because [...]]]></description> <content:encoded><![CDATA[<h1>Inroduction</h1><p>After a while the files in /etc/portage become cluttered with the common, &#8220;Let&#8217;s try this . . . whoops that didn&#8217;t work . . . let&#8217;s try this.&#8221;  No matter how hard you try to keep this clean you have probably forgotten something along the way.  Installing a testing package then removing it because you found a better one later, etc.  Well what&#8217;s an easy way to clean these files up and make sure that we minimize their sizes and keep our Gentoo system crisp (or as crisp as we can by just managing these files)?  I&#8217;ve written some bash one-liners that assist with this and could easily be adapted into a script that automates a lot of the cleaning for you.</p><p>In all of these scripts change the /etc/portage/package.use to the file you are interested in cleaning.</p><h2>Checking for Multiple Occurrences of an Atom Within a File</h2><pre><code>for atom in $(gawk '{print $1}' /etc/portage/package.use); do [ "$(grep ${atom} /etc/portage/package.use | wc -l)" -gt "1" ] &amp;&amp; echo "${atom}"; done
</code></pre><h2>Checking for N Uses of a Use Flag in /etc/portage/package.use</h2><p>I use this to move frequently used use flags to /etc/make.conf if it seems appropriate.</p><pre><code>for flag in $(gawk '{print $2}' /etc/portage/package.use); do [ "$(grep "${flag}" /etc/portage/package.use | wc -l)" -gt "2" ] &amp;&amp; echo "${flag}"; done
</code></pre><h2>Checking for Removed Atoms Within a File</h2><pre><code>for atom in $(gawk '{print $1}' /etc/portage/package.use); do [ "$(portageq match / ${atom} | wc -l)" -lt "1" ] &amp;&amp; echo "${atom}"; done
</code></pre>]]></content:encoded> <wfw:commentRss>http://www.alunduil.com/2009/07/23/cleaning-etcportagepackage/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using memcached (user agent is rejected)
Database Caching 6/12 queries in 0.028 seconds using memcached

Served from: www.alunduil.com @ 2010-07-30 20:01:17 -->