<?xml version="1.0" encoding="UTF-8"?>

<rss version='2.0' 
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
     xmlns:doap="http://usefulinc.com/ns/doap#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <channel>
        <!-- This XML Feed shows details for the page Gentoo 
             and everything recently tagged Gentoo -->
        <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/
          </creativeCommons:license>
        <title>Gentoo on SWiK</title>
        <doap:name>Gentoo</doap:name>
        <doap:description>&lt;p&gt;Gentoo is a &lt;a class="wikilink" href="http://swik.net/Linux-Distribution"&gt;Linux Distribution&lt;/a&gt; that can be automatically optimized and customized for just about any application or need. It&amp;#8217;s a metadistribution in that it includes by default no packages, permitting the user to install only what he needs. Its single most important feature is the package management tool, &lt;a class="wikilink" href="http://swik.net/Portage"&gt;Portage&lt;/a&gt;.&lt;/p&gt;
</doap:description>
        <description>Gentoo is a Linux Distribution that can be automatically optimized and customized for just about any application or need. It&amp;#8217;s a metadistribution in that it includes by default no packages, permitting the user to install only what he needs. Its single most important feature is the package management tool, Portage.
</description> 
	  <!-- see doap:description for full description -->
        <link>http://swik.net/Gentoo</link>
        <doap:homepage>http://www.gentoo.org/</doap:homepage>
                <category>linux</category>
        <category>Linux-distribution</category>
        <category>gentoo</category>
        <category>License:GPL</category>

        <pubDate>Mon, 20 Jun 2005 04:33:31 -0700</pubDate>
        <lastBuildDate>Fri, 29 Sep 2006 16:25:52 -0700</lastBuildDate>
            
        <item>
            <title>Davide Italiano: Feeling bad</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Davide+Italiano%3A+Feeling+bad/ccyaa</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/dav_it.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;div class=&quot;snap_preview&quot;&gt;&lt;br/&gt;&lt;p&gt;We suck. Gentoo sucks. Really.&lt;br/&gt;
We (300 devs) aren&amp;#8217;t able to implement features that 10 developers implemented in a year.&lt;br/&gt;
Gentoo Council can&amp;#8217;t make decisions.&lt;br/&gt;
Gentoo/Freebsd and Gentoo/Irix (Gentoo/Alt in general) aren&amp;#8217;t projects from what users will benefit.&lt;br/&gt;
Portage is a mess of spaghetti procedural code with no underlying design (and be careful, &amp;#8211;jobs will surely break your system).&lt;br/&gt;
Gento developers are trying to hide other devs work.&lt;br/&gt;
And every gentoo dev is a lier. Because gentoo itself and its features don&amp;#8217;t exist. They&amp;#8217;re only in your mind. Or in an island in the pacific sea. With Jim Morrison and the Area 51 aliens. And me probably.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m depressed. I&amp;#8217;m depressed of seeing things like &lt;a href=&quot;http://kloeri.livejournal.com/6771.html&quot;&gt;this&lt;/a&gt;.&lt;br/&gt;
This isn&amp;#8217;t the way to stop the &amp;#8220;war&amp;#8221; and the fud. IMHO.&lt;/p&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/categories/davzero.wordpress.com/21/&quot;/&gt; &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/tags/davzero.wordpress.com/21/&quot;/&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/gocomments/davzero.wordpress.com/21/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/comments/davzero.wordpress.com/21/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/godelicious/davzero.wordpress.com/21/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/delicious/davzero.wordpress.com/21/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/gostumble/davzero.wordpress.com/21/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/stumble/davzero.wordpress.com/21/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/godigg/davzero.wordpress.com/21/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/digg/davzero.wordpress.com/21/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/goreddit/davzero.wordpress.com/21/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/reddit/davzero.wordpress.com/21/&quot;/&gt;&lt;/a&gt; &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=davzero.wordpress.com&amp;amp;blog=4292783&amp;amp;post=21&amp;amp;subd=davzero&amp;amp;ref=&amp;amp;feed=1&quot;/&gt;&lt;/div&gt;</description>
            
            <pubDate>Tue, 19 Aug 2008 18:59:14 -0700</pubDate>
        </item>
            
        <item>
            <title>Daniel Drake: Followup notes on XO alternate desktops</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Daniel+Drake%3A+Followup+notes+on+XO+alternate+desktops/ccwbg</link>
            <description>&lt;p&gt;Some followup notes from our &lt;a href=&quot;http://www.reactivated.net/weblog/archives/2008/08/regular-linux-desktops-on-the-xo/&quot;&gt;alternate Linux desktop on XO&lt;/a&gt; work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;a href=&quot;http://dev.laptop.org/git?p=users/dsd/XO-alt-distro;a=blob;f=README;hb=HEAD&quot;&gt;README&lt;/a&gt; included with the script provides some more specific instructions.&lt;/li&gt;
&lt;li&gt;Your SD card needs to be a minimum of 4GB capacity, because these distributions install more than 2GB by default. We could probably find some smaller distributions, although we require some relatively recent components for some part of the system (e.g. X), so finding a distribution that is both modern and small might be a challenge.&lt;/li&gt;
&lt;li&gt;There are ongoing efforts to create a significantly smaller distro to run on the internal flash, but that is an early project at the moment.&lt;/li&gt;
&lt;li&gt;We heavily recommend using a SD card that is advertised as fast, extreme, ultimate, or whatever! I was previously sceptical of cards advertised in this way - are they actually significantly faster? The answer is YES - we have a &amp;#8216;non-extreme&amp;#8217; Kingston card and it is so much slower than the others. Installation took 4 times as long. I&amp;#8217;m not sure a good way of benchmarking these, the standard &amp;#8220;hdparm -t&amp;#8221; test showed similar figures on both slow and fast cards.&lt;/li&gt;
&lt;li&gt;I&amp;#8217;ve spent most of my time with Fedora. On the whole, it works very well for a machine that is understandably lower spec than most. I do recommend slimming down the services though - turn off all the NFS daemons, cups, bluetooth daemon, pcscd, kerneloops, &amp;#8230; In fedora this is done with the &amp;#8217;service&amp;#8217; command for a one-time stop, and &amp;#8216;chkconfig&amp;#8217; to prevent things starting at boot.&lt;/li&gt;
&lt;li&gt;When you run a lot of big applications, the machine does really slow down. Sometimes the mouse cursor freezes for a while. Perhaps we should experiment with swap space, currently I have none.&lt;/li&gt;
&lt;li&gt;Sound does not work. In Fedora, it doesn&amp;#8217;t work at all, probably a PulseAudio bug. I&amp;#8217;m hoping that applying the system updates will fix this, but the Fedora infrastructure is down at the moment. In Ubuntu, sound works at the login screen (you hear the welcome sound) but not after you login.&lt;/li&gt;
&lt;li&gt;On the postive side: wireless works, suspend works (most of the time), mouse and keyboard are good, gnome-power-manager dims the screen when idle, etc. It really acts as a normal fully usable distro with a few quirks identified above.&lt;/li&gt;
&lt;/ul&gt;</description>
            
            <pubDate>Tue, 19 Aug 2008 06:57:59 -0700</pubDate>
        </item>
            
        <item>
            <title>Gentoo Linux Documentation -- The Xfce Configuration Guide</title>
            <link>http://swik.net/Xfce/del.icio.us%2Ftag%2Fxfce/Gentoo+Linux+Documentation+--+The+Xfce+Configuration+Guide/ccv3a</link>
            <description></description>
            
            <pubDate>Tue, 19 Aug 2008 05:51:26 -0700</pubDate>
        </item>
            
        <item>
            <title>Daniel Drake: Regular Linux desktops on the XO</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Daniel+Drake%3A+Regular+Linux+desktops+on+the+XO/ccu89</link>
            <description>&lt;p&gt;Me and &lt;a href=&quot;http://wiki.laptop.org/go/User:Bobbyp&quot;&gt;Bobby Powers&lt;/a&gt; have spent a few hours smoothing out the process of getting fully-featured Linux desktops to boot on the XO laptop. On the whole, OLPC developers have been pretty good at getting code upstream, so only a few fixups are needed to get things operational on the XO.&lt;/p&gt;
&lt;p&gt;The only caveat is that you need a 4GB (or larger) SD card. The XO itself only has 1GB of storage, which is not big enough for the standard installs of the distributions that we&amp;#8217;ve been playing with.&lt;/p&gt;
&lt;p&gt;We&amp;#8217;ve got Fedora 9 and Ubuntu Intrepid Alpha 3 working. Here is the process, using Fedora 9 as an example:&lt;/p&gt;
&lt;p&gt;First, download the regular CD/DVD installation media for your distribution. For Fedora 9, you go to &lt;a href=&quot;http://fedoraproject.org/en/get-fedora&quot;&gt;http://fedoraproject.org/en/get-fedora&lt;/a&gt;. Burn that to CD/DVD.&lt;/p&gt;
&lt;p&gt;Next, find a regular PC that is capable of reading SD cards. We&amp;#8217;re using a standard desktop plus a USB card reader. Boot that PC from the CD/DVD installation media that you burned earlier. Proceed through the installation as usual, but when asked where you would like to install the operating system, select the SD card.&lt;/p&gt;
&lt;p&gt;Choose to setup the disk partitions manually. Do not do any fancy partitioning, just choose one partition that fills up the card. You don&amp;#8217;t need to add any swap space.&lt;/p&gt;
&lt;div&gt;&lt;img src=&quot;http://www.reactivated.net/weblog-content/20080818-partitioning.jpg&quot;/&gt;&lt;/div&gt;
&lt;p&gt;Select the ext3 filesystem and choose to not install a bootloader.&lt;/p&gt;
&lt;div&gt;&lt;img src=&quot;http://www.reactivated.net/weblog-content/20080818-no-bootloader.jpg&quot;/&gt;&lt;/div&gt;
&lt;p&gt;Wait for installation to complete, and shut down the system.&lt;/p&gt;
&lt;p&gt;Next, you need a PC running Linux. This can be the same PC as the one you used to install onto SD, assuming that one has Linux installed on it&amp;#8217;s hard disk too. It doesn&amp;#8217;t really matter which distribution, as long as you have git and regular development tools installed, and the SD card mounted at a known location.&lt;/p&gt;
&lt;p&gt;On this PC, run the following:&lt;/p&gt;
&lt;blockquote&gt;&lt;pre&gt;# git clone git://dev.laptop.org/users/dsd/XO-alt-distro&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Next, become root and run the script.&lt;/p&gt;
&lt;blockquote&gt;&lt;pre&gt;# sudo su -
# cd ~dsd/XO-alt-distro
# ./sd_fixup fedora-9 /media/disk&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;It will now download and compile the OLPC kernel, and perform a few other necessary tweaks to your SD card.&lt;/p&gt;
&lt;p&gt;When the script has completed, unmount the SD card and plug it into an XO. Boot the XO, and say hello to your fully-functional Linux desktop.&lt;/p&gt;
&lt;div&gt;&lt;img src=&quot;http://www.reactivated.net/weblog-content/20080818-fedora-boot.jpg&quot;/&gt; &lt;img src=&quot;http://www.reactivated.net/weblog-content/20080818-fedora-welcome.jpg&quot;/&gt;&lt;/div&gt;
&lt;p&gt;In future, we plan to publish filesystem images of SD-installed distributions, so that you can avoid much of the above. To simplify further, we could also write a tool which runs on the XO which downloads said filesystem image and flashes onto SD.&lt;/p&gt;
&lt;p&gt;Update 19/08/2008: &lt;a href=&quot;http://www.reactivated.net/weblog/archives/2008/08/followup-notes-on-xo-alternate-desktops/&quot;&gt;Posted some additional notes&lt;/a&gt;&lt;/p&gt;</description>
            
            <pubDate>Mon, 18 Aug 2008 22:09:35 -0700</pubDate>
        </item>
            
        <item>
            <title>Remi Cardona: Intel driver update</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Remi+Cardona%3A+Intel+driver+update/ccupl</link>
            <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;Just a quick update to let you know that I&#039;ve just put x11-drivers/xf86-video-i810-2.4.1 to Portage.&lt;/p&gt;

&lt;p&gt;Overall, I&#039;m not very happy with this release. It&#039;s definitely not as smooth as 2.3.2 which turned out to be &lt;strong&gt;very&lt;/strong&gt; solid. So please test it out with a recent xorg-server (read, 1.4.2) and let me know in bugzilla if anything breaks.&lt;/p&gt;

&lt;p&gt;Again, be prepared to continue the bug hunt in &lt;a href=&quot;https://bugs.freedesktop.org/&quot;&gt;FreeDesktop&#039;s bugzilla&lt;/a&gt; as my Intel Powers (tm) are very limited. It just so happens that half a dozen Intel developers also roam there, so all in all, it&#039;s a good place to file bugs. Just add &quot;remi at gentoo dot org&quot; as a CC on those bugs so I can keep track of the issues.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
            
            <pubDate>Mon, 18 Aug 2008 16:09:23 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Same-ABI and any-ABI dependencies</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Same-ABI+and+any-ABI+dependencies/cct59</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;Two really-desired features of Portage, that are important for, respectively, desktop and embedded use cases, are &lt;strong&gt;multilib&lt;/strong&gt; and &lt;strong&gt;cross-compilation&lt;/strong&gt;. Both of these, to be properly implemented, require Portage to discern between same-ABI and any-ABI dependencies.&lt;/p&gt;


	&lt;p&gt;This concept has been called in the past Linked-in and Executed dependencies, but I don&amp;#8217;t like that name at all as it makes sense only for those who actually know what the two concept expects. Actually, I don&amp;#8217;t like this name either because it confuses the term &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt; as the calling convention of an architecture, and the term &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt; as the compiled interface of a software library. If anybody can make sure we find a simple term for the calling convention type of &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;, it would be quite nice in my opionion.&lt;/p&gt;


	&lt;p&gt;Another good reason to get rid of the terms Linked-in and Executed dependencies is that abstracting well enough the concept, one can easily see the same code and mechanisms to be used to describe the dependencies of extension modules like Python&amp;#8217;s and Ruby&amp;#8217;s, that depend on the version of the interpreter they are built and ran against.&lt;/p&gt;


	&lt;p&gt;With good enough support, this would allow to handle dependencies for multiple Python and Ruby versions at once without needing strange and silly hacks like the ones present in the ruby eclasses. And would have solved the problem of &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; extension versions that caused to split them in &lt;code&gt;dev-php4&lt;/code&gt; and &lt;code&gt;dev-php5&lt;/code&gt;.&lt;/p&gt;


	&lt;p&gt;Why is this distinction needed for both multilib and crosscompile? Well, let&amp;#8217;s start with the multilib case, and see how it works.&lt;/p&gt;


	&lt;p&gt;Let&amp;#8217;s say you want to install &lt;code&gt;mozilla-firefox-bin&lt;/code&gt;, which is 32-bit. It will require a series of libraries built &lt;code&gt;32-bit&lt;/code&gt; like &lt;span class=&quot;caps&quot;&gt;GTK&lt;/span&gt;+ and similar, but it will also require the launcher script. That launcher script does not need to be built with 32-bit &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;, as it does not interface directly with Firefox. The libraries will be a same-ABI dependencies, while the script will be an any-ABI dependency.&lt;/p&gt;


	&lt;p&gt;Even better, the script, being a script, could be declared to not have an absolute &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;, something alike &lt;span class=&quot;caps&quot;&gt;RPM&lt;/span&gt;&amp;#8217;s &amp;#8220;noarch&amp;#8221;. This would make it much easier to handle dependencies on data packages (icons, documentation, scripts).&lt;/p&gt;


	&lt;p&gt;But any-ABI dependencies can easily apply to non-scripts, that is binary packages. Let&amp;#8217;s take for instance &lt;span class=&quot;caps&quot;&gt;CUPS&lt;/span&gt; and the software that Canon makes available for Pixma printers. The software is only available for 32-bit systems, as it relies on some binary files that Canon does not give the sources of. On the other hand, it does not interface with &lt;span class=&quot;caps&quot;&gt;CUPS&lt;/span&gt; through library calls, it&amp;#8217;s instead a filter that gets executed to convert the PostScript data coming from &lt;span class=&quot;caps&quot;&gt;CUPS&lt;/span&gt; to a format that the printer will understand. The Pixma software would then have an any-ABI dependency on &lt;span class=&quot;caps&quot;&gt;CUPS&lt;/span&gt;, and a same-ABI dependency on the libraries it links to, like &lt;span class=&quot;caps&quot;&gt;GTK&lt;/span&gt;+.&lt;/p&gt;


	&lt;p&gt;On cross-compiled environments, this merged with the &lt;code&gt;ROOT&lt;/code&gt; variable support would make it much easier to build a system&amp;#8217;s root with the minimal amount of software needed, and would solve the problem related to Perl&amp;#8217;s cross-compiling.&lt;/p&gt;


	&lt;p&gt;A few packages need autoconf to be present in the system, but none of them need anything more than being able to execut them. When cross-compiling, there is no need to have a copy of autoconf built for the &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt; of the system you&amp;#8217;re building, you just need a copy of it that you can execute. This makes it an any-ABI dependency. Not asking a &lt;span class=&quot;caps&quot;&gt;CHOST&lt;/span&gt;-built autoconf, Portage won&amp;#8217;t be asking for a &lt;span class=&quot;caps&quot;&gt;CHOST&lt;/span&gt;-built Perl either, and that would save you the headache, because Perl cannot be cross-compiled.&lt;/p&gt;


	&lt;p&gt;This of course will require a lot of changes, especially &lt;span class=&quot;caps&quot;&gt;EAPI&lt;/span&gt; related, and finding a new, decently good syntax, for &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;-specific dependencies. In particular, there are a few issues that needs to be addressed before one can even think of implementing this:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;there has to be a way for profiles to tell Portage the ABIs a system can handle; an amd64 multilib profile will advertise support for x86_64 and x86 ABIs for instance, an x86 Gentoo/FreeBSD profile would advertise support for x86/FreeBSD and x86/Linux ABIs (through the Linux compatibility layer);&lt;/li&gt;
		&lt;li&gt;there has to be a way to let packages inject further &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt; specifications, like I said above, Ruby and Python are two perfect examples; a system that has Ruby 1.8 and Ruby 1.9 installed, will advertise support for both ABIs, while a system with just Python 2.5 will advertise that single &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;;&lt;/li&gt;
		&lt;li&gt;cross-compiling still would require some work, maybe a replacement for crossdev could use a prefix like &lt;code&gt;cross-&lt;/code&gt; or something like that, it would need someway to express cross-compiling tools and libraries versus cross-compiled tools and libraries;&lt;/li&gt;
		&lt;li&gt;by default, the packages should be available on any native &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt;, maybe a meta-ABI &amp;#8220;native&amp;#8221; would allow to say &amp;#8220;whichever &lt;span class=&quot;caps&quot;&gt;ABI&lt;/span&gt; the profile accept&amp;#8221;; it could somehow cross-over with the meaning of &lt;span class=&quot;caps&quot;&gt;KEYWORDS&lt;/span&gt;, especially for cross-compiled environments;&lt;/li&gt;
		&lt;li&gt;different ABIs will have different paths for installation: on amd64 multilib systems, the 32-bit libraries are currently installed by the 64-bit sides on &lt;code&gt;/lib32&lt;/code&gt; directories, while the binaries are mixed in &lt;code&gt;/bin&lt;/code&gt;; on a Gentoo/FreeBSD system, you most likely want to install everything prefixed in a &lt;code&gt;/linux&lt;/code&gt; directory, while for cross-compiling support, you&amp;#8217;d install in the &lt;span class=&quot;caps&quot;&gt;SYSROOT&lt;/span&gt; (&lt;code&gt;/usr/$CHOST&lt;/code&gt; prefix); as you can guess, here it would be very nice to import at least part of the extensions the Prefix project have to allow handling rbitrary prefixes; it might not need further enhancements to support Solaris and the rest (but I could write something about that), but at least it would work to have support for the arbitrary prefix in tree.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;There are probably a tons other problems, and I have no clear idea on how this should be implemented as it is, but at least this could be a starting point for some discussion in this sense, and maybe Zack or Marius might catch on this and start prototyping some interaction.&lt;/p&gt;</description>
            
            <pubDate>Mon, 18 Aug 2008 13:09:29 -0700</pubDate>
        </item>
            
        <item>
            <title>TIP Postfix Setup for Local Mail Only - Gentoo Linux Wiki</title>
            <link>http://swik.net/Postfix/del.icio.us%2Ftag%2Fpostfix/TIP+Postfix+Setup+for+Local+Mail+Only+-+Gentoo+Linux+Wiki/ccsly</link>
            <description></description>
            
            <pubDate>Mon, 18 Aug 2008 05:06:10 -0700</pubDate>
        </item>
            
        <item>
            <title>Образ диска QEMU c Gentoo Linux - Форум разработчиков электроники - Electronics developers forum</title>
            <link>http://swik.net/QEMU/del.icio.us+tag%2Fqemu/%D0%9E%D0%B1%D1%80%D0%B0%D0%B7+%D0%B4%D0%B8%D1%81%D0%BA%D0%B0+QEMU+c+Gentoo+Linux+-+%D0%A4%D0%BE%D1%80%D1%83%D0%BC+%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D1%87%D0%B8%D0%BA%D0%BE%D0%B2+%D1%8D%D0%BB%D0%B5%D0%BA%D1%82%D1%80%D0%BE%D0%BD%D0%B8%D0%BA%D0%B8+-+Electronics+developers+forum/ccp2t</link>
            <description></description>
            
            <pubDate>Sun, 17 Aug 2008 07:05:33 -0700</pubDate>
        </item>
            
        <item>
            <title>Gentoo Lisp Project</title>
            <link>http://swik.net/Emacs/del.icio.us+tag%2Femacs/Gentoo+Lisp+Project/ccpm5</link>
            <description></description>
            
            <pubDate>Sun, 17 Aug 2008 02:05:15 -0700</pubDate>
        </item>
            
        <item>
            <title>Himerge</title>
            <link>http://swik.net/Haskell/del.icio.us+tag%2Fhaskell/Himerge/ccpif</link>
            <description>Haskell Graphical Interface for Emerge (Gentoo Portage system).</description>
            
            <pubDate>Sun, 17 Aug 2008 00:08:34 -0700</pubDate>
        </item>
            
        <item>
            <title>Steve Dibb: mplayer + dvdnav + dvdread svn ebuilds</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Steve+Dibb%3A+mplayer+%2B+dvdnav+%2B+dvdread+svn+ebuilds/ccmqp</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/beandog.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;I updated the mplayer and dvdnav ebuilds in my &lt;a href=&quot;http://overlays.gentoo.org/dev/beandog/browser&quot;&gt;small overlay&lt;/a&gt;, and added one for dvdread now, which has been split into a separate package.  I haven&amp;#8217;t had time in the past while to keep an eye on what&amp;#8217;s been going on, but I do know that the heavy flurry of development has stopped, and that the installer works better.  Plus, the software works fine for me. &lt;img src=&quot;http://wonkabar.org/wp-includes/images/smilies/icon_smile.gif&quot; alt=&quot;)&quot; class=&quot;wp-smiley&quot;/&gt; &lt;/p&gt;
&lt;p&gt;My overlay isn&amp;#8217;t in layman right now, so if you want to check it out, here&amp;#8217;s the skinny:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;svn co http://overlays.gentoo.org/svn/dev/beandog/&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Have fun and &lt;a href=&quot;http://wonkabar.org/contact-me&quot;&gt;lemme know&lt;/a&gt; if there&amp;#8217;s any problems.&lt;/p&gt;</description>
            
            <pubDate>Fri, 15 Aug 2008 21:07:33 -0700</pubDate>
        </item>
            
        <item>
            <title>Tobias Klausmann: Other pursuits</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Tobias+Klausmann%3A+Other+pursuits/cclt6</link>
            <description>&lt;p&gt;Some have wondered what I&#039;ve been up to lately. What with no blog posts and
all. Well, I&#039;ve acquired some hardware that is on the expensive side and
tends to consume larger amounts of time. Here&#039;s a picture:&lt;/p&gt;

&lt;a href=&quot;http://www.schwarzvogel.de/sv/DSC_2146.JPG&quot;&gt;&lt;img alt=&quot;Suzuki SV 650 S ABS (K7)&quot; title=&quot;Suzuki SV 650 S ABS (K7)&quot; src=&quot;http://www.schwarzvogel.de/sv/.llgal/thumb_DSC_2146.JPG&quot;/&gt;&lt;/a&gt;

&lt;p&gt;Aside of that I&#039;ve been busy doing some benchmarking and comparison
of version control systems with an eye on replacing CVS for the Gentoo
portage tree. It&#039;s not an easy matter to bench and time consuming even
for the mere benchmarks themselves. I want to get this a s right as
possible, so I&#039;m taking my time.&lt;/p&gt;

&lt;p&gt;Oh, and I ride that motorbike a lot :)&lt;/p&gt;</description>
            
            <pubDate>Fri, 15 Aug 2008 13:08:52 -0700</pubDate>
        </item>
            
        <item>
            <title>Sune Kloppenborg Jeppesen: Iwlwifi problems with 3945</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Sune+Kloppenborg+Jeppesen%3A+Iwlwifi+problems+with+3945/cclih</link>
            <description>&lt;p&gt;I&#039;m now back from a long period abroad on vacation and work. &lt;/p&gt;

&lt;p&gt;Since my &lt;a href=&quot;http://home.coming.dk/index.php/2008/05/24/p804&quot;&gt;ARP issue&lt;/a&gt; I&#039;ve experienced further problems with iwlwifi. Fresh after a reboot I have no problems but shortly after starting any large download, download speed will drop to around 100kb/s. It was both an issue with iwlwifi-1.2.3, hardened-sources-2.6.24-r3 and 2.6.25-r3. It seems like several other people are experiencing this in one form or another. Similar issues with ipw3945 have been reported &lt;a href=&quot;http://intellinuxwireless.org/bugzilla/show_bug.cgi?id=1669&quot;&gt;here&lt;/a&gt;, &lt;a href=&quot;http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1592&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;https://bugs.launchpad.net/ipw3945/+bug/103210&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For now I&#039;ve simply plugged in my good old Atheros AR5212 802.11abg NIC and configured Madwifi.&lt;/p&gt;

&lt;p&gt;WPA performance is still way below maximum speed but it&#039;ll do until the new OpenWRT Kamikaze release later this month.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;*SIGH*&lt;/b&gt; Now I&#039;m again able to trigger some Kamikaze bug that cause the WRT54G box to reboot under high trafic. I really do look forward to the new Kamikaze release :)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Update:&lt;/b&gt; My card is a 3945 and I&#039;m using latest iwl3945ucode-2.14.1.5 in portage.&lt;/p&gt;</description>
            
            <pubDate>Fri, 15 Aug 2008 11:07:26 -0700</pubDate>
        </item>
            
        <item>
            <title>HOWTO Lightweight package selection (using Xfce and suitable for office usage) - Gentoo Linux Wiki</title>
            <link>http://swik.net/Xfce/del.icio.us%2Ftag%2Fxfce/HOWTO+Lightweight+package+selection+%28using+Xfce+and+suitable+for+office+usage%29+-+Gentoo+Linux+Wiki/cb6u2</link>
            <description></description>
            
            <pubDate>Mon, 11 Aug 2008 07:05:28 -0700</pubDate>
        </item>
            
        <item>
            <title>102/365 - August 14, 2008</title>
            <link>http://swik.net/Gentoo/Images+Tagged+Gentoo/102%2F365+-+August+14%2C+2008/cci40</link>
            <description>&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/meddygarnet/&quot;&gt;meddygarnet&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/meddygarnet/2763356459/&quot; title=&quot;102/365 - August 14, 2008&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3231/2763356459_f74ff2c42e_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;102/365 - August 14, 2008&quot;/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For FGR - NERD&lt;br/&gt;
&lt;br/&gt;
To explain this a little bit, I&#039;m compiling an update of QT for our Gentoo installation.&lt;/p&gt;</description>
            
            <pubDate>Thu, 14 Aug 2008 18:07:52 -0700</pubDate>
        </item>
            
        <item>
            <title>Documentation Gentoo -- Mise en place d&#039;un système de messagerie multidomaine avec postfix</title>
            <link>http://swik.net/Postfix/del.icio.us%2Ftag%2Fpostfix/Documentation+Gentoo+--+Mise+en+place+d%27un+syst%C3%A8me+de+messagerie+multidomaine+avec+postfix/ccfij</link>
            <description>mysql imap libwww maildir sasl ssl</description>
            
            <pubDate>Wed, 13 Aug 2008 18:05:01 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Yamato on its way</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Yamato+on+its+way/ccex8</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;Today I ordered the new box, that, as I said, is called Yamato. I&amp;#8217;ll get on the reason for this particular name in a little :)&lt;/p&gt;


	&lt;p&gt;I got the money available with a short term loan; thanks to everybody who has (and might) chip in, in order (up to now) Raimund, Anton, Federico, William, Jürgen, Jim and Marcel, if I didn&amp;#8217;t have at least some availability it wouldn&amp;#8217;t have been possible for me to place the order.&lt;/p&gt;


	&lt;p&gt;So, what are the specs of the famous &amp;#8220;expensive&amp;#8221; computer? (at least for US standards) Two Opteron 2350 (Barcelona), Tyan Thunder n3600B motherboard, 16 GB of registered &lt;span class=&quot;caps&quot;&gt;RAM&lt;/span&gt;, cheap-o-graphics &lt;span class=&quot;caps&quot;&gt;X1550&lt;/span&gt; video card (there is an embedded &lt;span class=&quot;caps&quot;&gt;XGI&lt;/span&gt; but afaict it does not support dual &lt;span class=&quot;caps&quot;&gt;DVI&lt;/span&gt; which is a requirement for me&amp;#8212;the only one basically), a chassis, the cheapest black &lt;span class=&quot;caps&quot;&gt;DVD&lt;/span&gt; burner, and a decent Active &lt;span class=&quot;caps&quot;&gt;PFC PSU&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;My original plan included a 3Ware hardware &lt;span class=&quot;caps&quot;&gt;RAID&lt;/span&gt; card and 3&amp;#215;500GB Seagate HDs, which costed around €700 by themselves. But then, I can consider that in the future. As for why not using software &lt;span class=&quot;caps&quot;&gt;RAID&lt;/span&gt;, well, I&amp;#8217;ve been told to not rely on that at all. Actually, the motherboard I have should support &amp;#8220;firwmare-based&amp;#8221; &lt;span class=&quot;caps&quot;&gt;RAID5&lt;/span&gt;, but even that. Who knows, at any rate I can consider the rest in the future, when I got a job to pay for that, rather than having to ask.&lt;/p&gt;


	&lt;p&gt;New disks or not, the idea for Yamato was for me to use the system installed in Enterprise as a basis, and going on with that, that&amp;#8217;s why the name. The &lt;span class=&quot;caps&quot;&gt;USS&lt;/span&gt; Yamato was, in Star Trek &lt;span class=&quot;caps&quot;&gt;TNG&lt;/span&gt;, the twin sister starship of the flagship &lt;span class=&quot;caps&quot;&gt;USS&lt;/span&gt; Enterprise, Galaxy class. The new box would have had a system cloned from Enterprise; in this case it will have &lt;em&gt;the same system&lt;/em&gt; as I&amp;#8217;ll be using the same disks.&lt;/p&gt;


	&lt;p&gt;The only thing will have to reconfigure the kernel from scratch as the only thing to remain the same will be the architecture (but the one I have now is just an UP kernel), the network card that is still Marvell, and the two cards that I&amp;#8217;ll be importing from Enterprise (WiFi and Sound), and of course changing all the references to &amp;#8220;enterprise&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;I hope my wire transfer will be received by Friday (SEPA transfer), so that the order can be shipped on Monday. I didn&amp;#8217;t get the express shipment, as it would have costed €100 more alone, and I&amp;#8217;m relying on standard &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt; taking from three to four days usually. If I&amp;#8217;m lucky, by the 22nd I&amp;#8217;ll have the package here, and in the night Yamato should be up. It would be perfect because I&amp;#8217;ll probably be in the hospital starting the 25th, and if Yamato is already up and running, I can coordinate its work from there too.&lt;/p&gt;


	&lt;p&gt;But my development work is not entirely stopped, so more posts will follow about topics I hinted at in the past weeks.&lt;/p&gt;</description>
            
            <pubDate>Wed, 13 Aug 2008 14:08:46 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: What did Enterprise do?</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+What+did+Enterprise+do%3F/ccdiv</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;Now that &lt;a href=&quot;http://blog.flameeyes.eu/articles/2008/08/12/enterprise-down&quot; title=&quot;or at least is pretty much sick&quot;&gt;enterprise died&lt;/a&gt;, I am pointing toward a high-end system. I can understand it is difficult to accept that I don&amp;#8217;t just get the cheapest box I can find at the local store, and be done with it.&lt;/p&gt;


	&lt;p&gt;Why is this? Well the first problem is that in Italy, prices are something very strange. It&amp;#8217;s not unexpected for me to find components at half the price, or less, when looking them up in other European shops. In particular, in the local shops a good enough &lt;span class=&quot;caps&quot;&gt;PSU&lt;/span&gt; rated 450W like the one I had before would cost me €140. Consider I paid mine €100 two years ago. I could get it from Germany paying less for it, included shipping, that I would get it from Italy, but, I&amp;#8217;m not sure it&amp;#8217;s the &lt;span class=&quot;caps&quot;&gt;PSU&lt;/span&gt; itself, I don&amp;#8217;t count on it. Why? Because there is a burning plastic smell when Enterprise is on, and it does not come from the &lt;span class=&quot;caps&quot;&gt;PSU&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;So rather than getting a new &lt;span class=&quot;caps&quot;&gt;PSU&lt;/span&gt;, waiting to see if it&amp;#8217;s the motherboard, or the &lt;span class=&quot;caps&quot;&gt;CPU&lt;/span&gt;, or the memory, and then get one of those at a time, paying multiple time the shipment, I&amp;#8217;m keen on replacing the box entirely. I was actually already planning on the update, the problem here is the timing: if it wasn&amp;#8217;t happening while my health is in this status, I would have had enough availability to just replace Enterprise straight away.&lt;/p&gt;


	&lt;p&gt;But why am I spending €1300 on a system rather than spending, say, $600 to get the cheapest Intel quadcore available? First is, I don&amp;#8217;t think I can get much for such a price, US prices are &lt;em&gt;quite&lt;/em&gt; lower, even considering taxes, than the prices in Italy. I checked out newegg before, and the prices were almost half the prices on European shops, so it means a quarter of the prices of Italian suppliers. Unfortunately they don&amp;#8217;t ship overseas. Of course I could just get it sent to me through some loophole, but again: getting it through customs would cost me between 40-50% of the nominal price &lt;em&gt;shipment costs included&lt;/em&gt;, and it&amp;#8217;d be impossible to get warranty out of it. And it&amp;#8217;s not very good for most consumer-grade hardware, not having warranty.&lt;/p&gt;


	&lt;p&gt;On the other hand, a cheap Intel quadcore with a decent amount of memory could work well as a workstaiton, the problem is that Enterprise has never been your usual workstation.&lt;/p&gt;


	&lt;p&gt;Enterprise not only worked as my workstation, and used to be my media center, but most of all, it&amp;#8217;s a development box. I&amp;#8217;m not just rebuilding projects I work on, but I&amp;#8217;m rebuilding many times the whole of portage. When I updated first to &lt;span class=&quot;caps&quot;&gt;GCC 4&lt;/span&gt;.3, the first thing I did was rebuilding world; when glibc 2.8 was released, I rebuilt world; when a new autoconf or automake version is released, I rebuild world. Why? Because I can usually fix or at least give a good indication how to fix those problems.&lt;/p&gt;


	&lt;p&gt;The faster these rebuild are, the faster I can fix the problem, the faster they enter portage, usually. But it&amp;#8217;s not just that.&lt;/p&gt;


	&lt;p&gt;For instance, Enterprise had a massively more aggressive &lt;code&gt;--as-needed&lt;/code&gt; support: I force it through &lt;span class=&quot;caps&quot;&gt;GCC&lt;/span&gt; specs. The result is that it stressed out linking, working around &lt;code&gt;libtool&lt;/code&gt; brokenness and similar issues.&lt;/p&gt;


	&lt;p&gt;But this could warrant a multicore system, why going high end? Well, together with the standard system in &lt;code&gt;/&lt;/code&gt;, Enterprise had a series of chroots, one handles the updates for the vserver where my blog is (but also &lt;a href=&quot;http://bugs.xine-project.org/&quot;&gt;xine&amp;#8217;s Bugzilla&lt;/a&gt;, which is something useful for F/OSS, not just me), others handle corner-cases tests. Those are the ones building for instance a system with OpenPAM instead of Linux-PAM to see which parts of portage can work with it. Or testing cowstats with &lt;span class=&quot;caps&quot;&gt;PIE&lt;/span&gt; enabled, to find programs that relay on the fact that they don&amp;#8217;t need data relocations outside shared libraries.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s kinda like a tinderbox but it isn&amp;#8217;t a tinderbox. It was a system that was almost never idling.&lt;/p&gt;


	&lt;p&gt;And, one thing I haven&amp;#8217;t done, or improved in a few months, to be honest, is working on the linking collisions detection. The reason why I stopped doing that is that even using postgresql it takes a long time. And it wasn&amp;#8217;t specifically testing for possibly embedded libraries yet.&lt;/p&gt;


	&lt;p&gt;While I do like devoting my time to Free Software development, a faster box means I can make better use of my time, which, considering my health problems, is probably a good thing (doing the same stuff in less time means I have more time to spend on other things, like going in and out of hospitals, or relaxing if I don&amp;#8217;t feel good enough). Maybe I&amp;#8217;m selfish but I&amp;#8217;d rather spend money on a fast system with users&amp;#8217; help, than spending little money on a cheap system, and being forced to work less on Free Software so that I can handle hospitals and relax time.&lt;/p&gt;


	&lt;p&gt;So, thanks to all the users helping me with this, I&amp;#8217;m doing my best to try securing the money for ordering the box &lt;span class=&quot;caps&quot;&gt;ASAP&lt;/span&gt; so I can let it resume its tasks while I&amp;#8217;m in the hospital too. And as soon as my health stops the downslide, I&amp;#8217;ll be working on Free Software again.&lt;/p&gt;</description>
            
            <pubDate>Wed, 13 Aug 2008 05:07:33 -0700</pubDate>
        </item>
            
        <item>
            <title>TracNginxRecipe – The Trac Project – Trac</title>
            <link>http://swik.net/Trac/del.icio.us%2Ftag%2Ftrac/TracNginxRecipe+%E2%80%93+The+Trac+Project+%E2%80%93+Trac/ccbwq</link>
            <description></description>
            
            <pubDate>Tue, 12 Aug 2008 15:05:02 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Enterprise down...</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Enterprise+down.../cb9r2</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;So today I woke up to find a nasty surprise. At almost an exact year since my first hospitalisation (the year will be this night), Enterprise died.&lt;/p&gt;


	&lt;p&gt;I think it might just be the &lt;span class=&quot;caps&quot;&gt;PSU&lt;/span&gt; giving up, as it does not turn on even the led light on the mainboard, but at this point, I&amp;#8217;d say &amp;#8220;who knows?&amp;#8221;. My mother seen a &amp;#8220;flash of light&amp;#8221;, heard a &lt;span class=&quot;caps&quot;&gt;BIIP&lt;/span&gt; from the &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt;, and the computer turned off. I cannot turn it back on.&lt;/p&gt;


	&lt;p&gt;The &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt; did likely cut the whole power as the external HD also was turned off when I woke up, but the HD itself is fine. the &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt; is also charged, so that&amp;#8217;s not it.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s the worst timing ever for my computer to break down. Not only I have my &lt;span class=&quot;caps&quot;&gt;SSH&lt;/span&gt; key for the vserver on it (I can get it out probably, but that&amp;#8217;s beside the point), but I also cannot do my job without that. Okay, it was planned already that I wouldn&amp;#8217;t be working until after surgery, but it&amp;#8217;s a bit of a problem if I cannot replace Enterprise in the mean time.&lt;/p&gt;


	&lt;p&gt;I was already planning on a replacement (which will obviously be called Yamato), and I have a components list I can look at right now, from &lt;a href=&quot;http://www.alternate.eu/&quot;&gt;Alternate&lt;/a&gt; (&lt;a href=&quot;http://www.kmshop.de/&quot;&gt;K&amp;#38;M&lt;/a&gt; does not carry Opterons, nor I can find those in Italy). The problem is that it&amp;#8217;s around €2K.&lt;/p&gt;


	&lt;p&gt;So if anybody is willing to help me gathering the money, I&amp;#8217;d be certainly happy, as I won&amp;#8217;t be able to do work until middle of september, if not even later, and without Enterprise, I cannot do any kind of F/LOSS work, that means no Gentoo, no xine, no optimisation of smaller projects. If I can get the money, I&amp;#8217;d be doing even more work on that as it will take very little time to run the build on Yamato.&lt;/p&gt;


	&lt;p&gt;Sorry for the request, but this really looks to me like an emergency, as it happened at the very worst time :/&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;Update: cutting out the hardware &lt;span class=&quot;caps&quot;&gt;RAID 5&lt;/span&gt; support I can get the price down to €1300 which is much more feasible.&lt;/em&gt;&lt;/p&gt;</description>
            
            <pubDate>Tue, 12 Aug 2008 02:07:18 -0700</pubDate>
        </item>
            
        <item>
            <title>Gentoo Linux Documentation -- Virtual Mailhosting System with Postfix Guide</title>
            <link>http://swik.net/Postfix/del.icio.us%2Ftag%2Fpostfix/Gentoo+Linux+Documentation+--+Virtual+Mailhosting+System+with+Postfix+Guide/cb7hj</link>
            <description></description>
            
            <pubDate>Mon, 11 Aug 2008 11:04:45 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Improving autotools-based buildsystems</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Improving+autotools-based+buildsystems/cb393</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;When I&amp;#8217;m composing this blog post (a few days in advance of its publication), I just took a little forced break (because I&amp;#8217;m missing some tool I can&amp;#8217;t find) from hacking at autotools buildsystems.&lt;/p&gt;


	&lt;p&gt;In particular, I&amp;#8217;m hacking at &lt;a href=&quot;http://0pointer.de/lennart/&quot;&gt;Lennart&amp;#8217;s&lt;/a&gt; projects, mostly because I bumped &lt;a href=&quot;http://0pointer.de/lennart/projects/libasyncns/&quot;&gt;libasyncns&lt;/a&gt; and noticed I could make the ebuild simpler if I changed a few things in there.&lt;/p&gt;


	&lt;p&gt;My target with this hacking session is to update the build systems to the latest version of autoconf (2.62), making use of some new features that can make it easier to handle the packages during ebuilds. I&amp;#8217;ll be discussing here some of the changes because, first, I know Lennart won&amp;#8217;t mind if I dissect his autotools-fu ;) and second because it makes a nice &amp;#8220;documentation&amp;#8221; to show how to properly use autotools. If you want to check the changes I actually made, you can find all the repositories &lt;a href=&quot;http://git.flameeyes.eu/&quot;&gt;on my git server&lt;/a&gt; ; Lennart&amp;#8217;s projects are the ones under &lt;strong&gt;0pointer&lt;/strong&gt; directory.&lt;/p&gt;


	&lt;p&gt;The first feature I wanted to make use of was the presence of &lt;code&gt;htmldir&lt;/code&gt; and &lt;code&gt;docdir&lt;/code&gt; variables in the newer versions of autoconf (2.60 and later, if I recall correctly, certainly not 2.59). These two variables allow to declare in &lt;code&gt;Makefile.am&lt;/code&gt; some files as text or &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; documentation, letting the user (or the ebuild) choose where to install those through &lt;code&gt;--docdir&lt;/code&gt; and &lt;code&gt;--htmldir&lt;/code&gt; options at &lt;code&gt;./configure&lt;/code&gt;. This is what allows me to skip &lt;code&gt;dodoc&lt;/code&gt; and &lt;code&gt;dohtml&lt;/code&gt; commands in the ebuild, as the build system will take care of installing everything.&lt;/p&gt;


	&lt;p&gt;Another useful feature of the newest versions is that the &lt;code&gt;AC_HEADER_ASSERT&lt;/code&gt; macro now provides a &lt;code&gt;--disable-assert&lt;/code&gt; option that can be used to disable the &lt;code&gt;assert()&lt;/code&gt; function calls in software without having to add manually &lt;code&gt;-DNDEBUG&lt;/code&gt; to your flags. Unfortunately this does not work perfectly as it expects that every source file includes &lt;code&gt;config.h&lt;/code&gt; before any other include (the same requirement exists for &lt;code&gt;AC_SYS_LARGEFILE&lt;/code&gt; for what it&amp;#8217;s worth), but luckily Lennart&amp;#8217;s projects are well written. Not all projects support disabling &lt;code&gt;assert()&lt;/code&gt;, even though it&amp;#8217;s supposed to be just a debug facility, a few projects don&amp;#8217;t take extra measures ot make sure the code continue working fine and safe without them.&lt;/p&gt;


	&lt;p&gt;But there are more things I changed, to improve the readability, and not only of autotools. For instance I replaced the custom &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; testing code with code that uses &lt;code&gt;CC_CHECK_CFLAGS&lt;/code&gt; macro, which is available in the &lt;code&gt;attributes.m4&lt;/code&gt; macro file available on xine-lib&amp;#8217;s repository (that macro file was originally developed by me for &lt;a href=&quot;http://www.flameeyes.eu/projects#unieject&quot;&gt;unieject&lt;/a&gt; and has been now copied over multiple projects.. I always try to keep it in sync). This makes it possible to cache the result of the tests on availability of &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt;, and allows for new compilers, supporting a &lt;span class=&quot;caps&quot;&gt;GCC&lt;/span&gt;-like commandline, to work out of the box. Similarly, &lt;span class=&quot;caps&quot;&gt;C99&lt;/span&gt; language checks are replaced with &lt;code&gt;AC_PROG_CC_C99&lt;/code&gt; that takes care of discovering how the compiler supports &lt;span class=&quot;caps&quot;&gt;C99&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;More tied to Lennart&amp;#8217;s code is the creation of a &lt;code&gt;ZP_LYNX_DOC&lt;/code&gt; macro, in its own macro file, instead of adding on all the &lt;code&gt;configure.ac&lt;/code&gt; files the code to handle &lt;code&gt;--disable-lynx&lt;/code&gt; and the conditional. It is very useful to factor out these common pieces of code in their own macros, as it allows to just copy a file over when you need to fix them, or improve them, rather than having to cut copy and paste code, with the risk of making bigger mistakes.&lt;/p&gt;


	&lt;p&gt;And a suggestion for those of you who want to test an autotooled package out of git or another development repository: if it&amp;#8217;s possible, use &lt;code&gt;autoreconf -is&lt;/code&gt; instead of the standard &lt;code&gt;autoreconf&lt;/code&gt;. This avoids copying over the macro and support files from &lt;code&gt;/usr/share&lt;/code&gt; to your work directory, symlinking them instead. This reduces disk occupation and should also be faster to re-generate.&lt;/p&gt;


	&lt;p&gt;Unfortunately for now &lt;code&gt;autoreconf&lt;/code&gt; does not seem to support extra extensions to autotools, like &lt;code&gt;intltool&lt;/code&gt; or &lt;code&gt;gtkdoc&lt;/code&gt; and you have thus to choose between executing them by hand, or using the bootstrap scripts that the developers provided (which &lt;a href=&quot;http://blog.flameeyes.eu/articles/2008/06/04/about-bootstrapping&quot;&gt;is bad in ebuilds&lt;/a&gt;).&lt;/p&gt;


	&lt;p&gt;What &lt;code&gt;autoreconf&lt;/code&gt; should be is a standardised bootstrapping script that takes care of using the right tools with the right options for one&amp;#8217;s project. Unfortunately with the existance of tools like &lt;code&gt;intltool&lt;/code&gt; and similar, that extend the basic autotools syntax, and don&amp;#8217;t seem to be &amp;#8220;accepted&amp;#8221; by upstream, it starts to become overly useless. I suppose an option would be to create a generic, installable, &lt;code&gt;autoreconf&lt;/code&gt;-syntax semi-compatible script that could be used instead of the various custom bootstrap and autogen scripts for the projects.&lt;/p&gt;


	&lt;p&gt;Anybody with some free time to start hacking at that? :)&lt;/p&gt;</description>
            
            <pubDate>Sun, 10 Aug 2008 11:04:46 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Autotools, targets and hosts</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Autotools%2C+targets+and+hosts/cb392</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;Following &lt;a href=&quot;http://blog.flameeyes.eu/articles/2008/08/10/improving-autotools-based-buildsystems&quot;&gt;my posts about autotools improvements&lt;/a&gt;, I&amp;#8217;d like to write a short post about another quite often misused macro provided by &lt;code&gt;autoconf&lt;/code&gt;, that I had to fix in &lt;a href=&quot;http://live.polito.it/&quot;&gt;lscube&lt;/a&gt; too.&lt;/p&gt;


	&lt;p&gt;The macro in question is &lt;code&gt;AC_CANONICAL_TARGET&lt;/code&gt;, which is used to provide the &lt;code&gt;--host&lt;/code&gt;/&lt;code&gt;--build&lt;/code&gt; and &lt;code&gt;--target&lt;/code&gt; options to &lt;code&gt;./configure&lt;/code&gt;. What is the problem with that macro? Well in most cases you don&amp;#8217;t want it at all, and you want to use, if anything, &lt;code&gt;AC_CANONICAL_HOST&lt;/code&gt; (which is not even needed, for most cases) that only provides &lt;code&gt;--host&lt;/code&gt; and &lt;code&gt;--build&lt;/code&gt; options.&lt;/p&gt;


	&lt;p&gt;Why is this? Well, the problem is that the &lt;code&gt;--target&lt;/code&gt; option is used only for compilers and other tools generating machine-dependent code. The meaning of the three names are as follows:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;the &lt;strong&gt;build&lt;/strong&gt; machine is where you&amp;#8217;re compiling the code (that is, building the source); it&amp;#8217;s almost impossible that &lt;strong&gt;build&lt;/strong&gt; doesn&amp;#8217;t refer to the machine running &lt;code&gt;./configure&lt;/code&gt;;&lt;/li&gt;
		&lt;li&gt;the &lt;strong&gt;host&lt;/strong&gt; machine is where the project will run once built, when this differs from &lt;strong&gt;build&lt;/strong&gt;, we&amp;#8217;re crosscompiling;&lt;/li&gt;
		&lt;li&gt;the &lt;strong&gt;target&lt;/strong&gt; machine is the machine the software is going to generate code for, if this differs from &lt;strong&gt;host&lt;/strong&gt; you&amp;#8217;re building a cross-compiler.&lt;/li&gt;
	&lt;/ul&gt;</description>
            
            <pubDate>Sun, 10 Aug 2008 11:04:46 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Locales, NLS, kernels and filesystems</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Locales%2C+NLS%2C+kernels+and+filesystems/cb1si</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;One issue that is yet to be solved easily by most distribution (at least those not featuring extensive graphical configuration utilities, like Fedora and Ubuntu do), is most likely localisation.&lt;/p&gt;


	&lt;p&gt;There is an interesting &lt;a href=&quot;http://www.grep.be/blog/en/computer/cluebat/locales&quot;&gt;blog post&lt;/a&gt; by Wouter Verhelst on Planet Debian that talks about setting locales variables. It&amp;#8217;s a very interesting reading, as it clarifies pretty well the different variables.&lt;/p&gt;


	&lt;p&gt;One related issue seems to be understanding the meaning of the &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; settings that are available in the kernel configuration for Linux. Some users seem to think that you have to enable the codepages in there to be able to use a certain locale as system locale.&lt;/p&gt;


	&lt;p&gt;This is not the case, the &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; settings in there are basically only used for filesystems, and in particular only &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;NTFS&lt;/span&gt; filesystems. The reason of this lies in the fact that both filesystems are case-insensitive.&lt;/p&gt;


	&lt;p&gt;In usual Unix filesystems, like &lt;span class=&quot;caps&quot;&gt;UFS&lt;/span&gt;, EXT2/3/4, &lt;span class=&quot;caps&quot;&gt;XFS&lt;/span&gt;, JFS, ReiserFS and so on, file names are case sensitive, and they end up being just a string of arbitrary characters. On &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;NTFS&lt;/span&gt;, instead, the filenames are case &lt;strong&gt;in&lt;/strong&gt;sensitive.&lt;/p&gt;


	&lt;p&gt;For case sensitivity, you need equivalence tables, and those are defined by different &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; values. For instance, for Western locale, the character &amp;#8216;i&amp;#8217; and &amp;#8216;I&amp;#8217; are equivalent, but in Turkish, they are not, as &amp;#8216;i&amp;#8217; pairs with &amp;#8216;İ&amp;#8217; and &amp;#8216;I&amp;#8217; with &amp;#8216;ı&amp;#8217; (if you wish to get more information about this, I&amp;#8217;d refer you to &lt;a href=&quot;http://blogs.msdn.com/michkap/archive/2008/06/13/8594979.aspx&quot;&gt;Michael S. Kaplan&amp;#8217;s blog&lt;/a&gt; on the subject).&lt;/p&gt;


	&lt;p&gt;So when you need to support &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;NTFS&lt;/span&gt;, you need to support the right &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; table, or your filesystem will end up corrupted (on Turkish charset, you can have two files called &amp;#8220;FAIL&amp;#8221; and &amp;#8220;fail&amp;#8221; as the two letters are not just the same). This is the reason why you find the &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; settings in the filesystems section.&lt;/p&gt;


	&lt;p&gt;Of course, one could say that &lt;span class=&quot;caps&quot;&gt;HFS&lt;/span&gt;+ used by MacOS is also case-insensitive, so &lt;span class=&quot;caps&quot;&gt;NLS&lt;/span&gt; settings should apply to that too, no? Well, no. I admit I don&amp;#8217;t know much about historical &lt;span class=&quot;caps&quot;&gt;HFS&lt;/span&gt;+ filesystems, as I only started using MacOS from version 10.3, but at least since then, the filenames are saved encoded in &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8, which has very well defined equivalence tables. So there is no need for option selections, the equivalence table is defined as part of the filesystem itself.&lt;/p&gt;


	&lt;p&gt;Knowing this, why &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt; does not work properly with &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8, as stated by the kernel when you mount it as &lt;code&gt;iocharset=utf-8&lt;/code&gt;? The problem is that &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt; works on a per-character equivalence basis, and &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8 is a variable-size encoding, which does not suit well &lt;span class=&quot;caps&quot;&gt;VFAT&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Unfortunately, &lt;code&gt;make oldconfig&lt;/code&gt; and &lt;code&gt;make xconfig&lt;/code&gt; seem to replace, at least on my system, the default charset with &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8 every time, maybe because &lt;span class=&quot;caps&quot;&gt;UTF&lt;/span&gt;-8 is the system encoding I&amp;#8217;m using. I guess I should look up to see if it&amp;#8217;s worth to report a bug about this, or if I can fix it myself.&lt;/p&gt;</description>
            
            <pubDate>Sat, 09 Aug 2008 12:04:51 -0700</pubDate>
        </item>
            
        <item>
            <title>Davide Italiano: Summer gifts</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Davide+Italiano%3A+Summer+gifts/cby39</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/dav_it.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;div class=&quot;snap_preview&quot;&gt;&lt;br/&gt;&lt;p&gt;Today is 08/08/08. And this is funny. Seriously. Here there are two gifts for you and some random updates. Before, I want to thank everyone gave me feedback during these days about g/fbsd, mainly on irc. This means that someone read the ugly blagpost I wrote.&lt;br/&gt;
However, recently I wrote a short draft about how to install g/fbsd 7.0 on your box. The &amp;#8220;guide&amp;#8221; is quite similar to 6.2&amp;#8217;s one, but some steps were radically changed, so I suggest to use the new one if you want to perform a new install. I want to tell you that this documentation is completely experimental, so there {c,sh}ould be some errors. As for all my work, for this guide feddbacks arre welcome and very appreciated (and also bugreporting).&lt;/p&gt;
&lt;p&gt;The guide can be found on my devspace, &lt;a href=&quot;http://dev.gentoo.org/~dav_it/bsd/gfbsd_install_guide.txt&quot;&gt;here&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;In addiction, Firefox and mozilla-related stuffs _actually_ doesn&amp;#8217;t compile on g/fbsd 7.0. However there&amp;#8217;s a quick fix to &amp;#8220;solve&amp;#8221; this problem. Create a script called &lt;em&gt;/usr/bin/objformat&lt;/em&gt; and put in these lines:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#!/bin/bash&lt;br/&gt;
if echo __ELF__ | cc -E - | grep -q __ELF__ ; then echo aout ; else echo elf ; fi&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s enough, however there ins&amp;#8217;t a proper way to fixx mozilla, and this because the team have to update their Makefiles to guess the object format in a more &amp;#8216;modern&amp;#8217; way, not using that &amp;#8220;freebsd-4&amp;#8243; old thing anymore.&lt;/p&gt;
&lt;p&gt;That&amp;#8217;s all.&lt;br/&gt;
Cheers&lt;/p&gt;
&lt;p&gt;dav&lt;/p&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/categories/davzero.wordpress.com/17/&quot;/&gt; &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/tags/davzero.wordpress.com/17/&quot;/&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/gocomments/davzero.wordpress.com/17/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/comments/davzero.wordpress.com/17/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/godelicious/davzero.wordpress.com/17/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/delicious/davzero.wordpress.com/17/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/gostumble/davzero.wordpress.com/17/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/stumble/davzero.wordpress.com/17/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/godigg/davzero.wordpress.com/17/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/digg/davzero.wordpress.com/17/&quot;/&gt;&lt;/a&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://feeds.wordpress.com/1.0/goreddit/davzero.wordpress.com/17/&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://feeds.wordpress.com/1.0/reddit/davzero.wordpress.com/17/&quot;/&gt;&lt;/a&gt; &lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://stats.wordpress.com/b.gif?host=davzero.wordpress.com&amp;amp;blog=4292783&amp;amp;post=17&amp;amp;subd=davzero&amp;amp;ref=&amp;amp;feed=1&quot;/&gt;&lt;/div&gt;</description>
            
            <pubDate>Fri, 08 Aug 2008 13:04:29 -0700</pubDate>
        </item>
            
        <item>
            <title>Gentoo Linux Documentation -- The Xfce Configuration Guide</title>
            <link>http://swik.net/Xfce/del.icio.us%2Ftag%2Fxfce/Gentoo+Linux+Documentation+--+The+Xfce+Configuration+Guide/cbuhn</link>
            <description></description>
            
            <pubDate>Thu, 07 Aug 2008 13:14:42 -0700</pubDate>
        </item>
            
        <item>
            <title>Links to Other Free Software Sites - GNU Project - Free Software Foundation (FSF)</title>
            <link>http://swik.net/JNode/del.icio.us+tag%2Fjnode/Links+to+Other+Free+Software+Sites+-+GNU+Project+-+Free+Software+Foundation+%28FSF%29/bufza</link>
            <description>stunning list of fsf recommended operating systems (not only *nix!) and 100% floss software/information</description>
            
            <pubDate>Sun, 18 Nov 2007 05:26:01 -0800</pubDate>
        </item>
            
        <item>
            <title>Gentoo Linux Documentation -- QuickStart Guide to Mutt E-Mail</title>
            <link>http://swik.net/fetchmail/del.icio.us%2Ftag%2Ffetchmail/Gentoo+Linux+Documentation+--+QuickStart+Guide+to+Mutt+E-Mail/cbtuh</link>
            <description></description>
            
            <pubDate>Thu, 07 Aug 2008 13:04:23 -0700</pubDate>
        </item>
            
        <item>
            <title>Steve Dibb: quick and dirty opendns howto for gentoo (using openrc)</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Steve+Dibb%3A+quick+and+dirty+opendns+howto+for+gentoo+%28using+openrc%29/cbtja</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/beandog.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;If, like me, you don&amp;#8217;t trust your ISP&amp;#8217;s nameservers to be patched and working correctly (or for them to sell you out to advertisers by redirecting broken links or whatever), then here&amp;#8217;s a quick solution to setting up your box to use &lt;a href=&quot;http://www.opendns.com/&quot;&gt;OpenDNS&lt;/a&gt; servers instead.&lt;/p&gt;
&lt;p&gt;Using this assumes three things though:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You don&amp;#8217;t have anything in /etc/conf.d/net&lt;/li&gt;
&lt;li&gt;You are a DHCP client&lt;/li&gt;
&lt;li&gt;You are using sys-apps/openrc&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Anything besides that, you&amp;#8217;ll just have to figure it out yourself, though the commands should be close.  BTW, someone correct me if I&amp;#8217;m wrong.&lt;/p&gt;
&lt;p&gt;Add this to /etc/conf.d/net:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;dhcp_eth0=&amp;#8221;nodns&amp;#8221;&lt;br/&gt;
dns_servers_eth0=&amp;#8221;208.67.222.222 208.67.220.220&amp;#8243;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If eth0 is not your primary NIC, then you&amp;#8217;d have to change that.&lt;/p&gt;
&lt;p&gt;Then just restart net.eth0 (/etc/init.d/net.eth0 restart) and  you should see this in /etc/resolv.conf:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;nameserver 208.67.222.222&lt;br/&gt;
nameserver 208.67.220.220&lt;/p&gt;&lt;/blockquote&gt;</description>
            
            <pubDate>Thu, 07 Aug 2008 09:04:44 -0700</pubDate>
        </item>
            
        <item>
            <title>Diego Pettenò: Flags and flags</title>
            <link>http://swik.net/Gentoo/Planet+Gentoo/Diego+Petten%C3%B2%3A+Flags+and+flags/cbth4</link>
            <description>&lt;img src=&quot;http://planet.gentoo.org/images/flameeyes.png&quot; width=&quot;&quot; height=&quot;&quot; alt=&quot;&quot; style=&quot;float: right;&quot;&gt;&lt;p&gt;&lt;em&gt;This post, and probably a few more posts that will come to be, is being written about a day before it&amp;#8217;s actually being posted. The reason for this is that, as I&amp;#8217;ll be probably be hospitalised at the end of August, I want to have something going on so I don&amp;#8217;t need to write during the hospitalisation.&lt;/em&gt;&lt;/p&gt;


	&lt;p&gt;I was reflecting tonight with Mark (Halcy0n) that for having hardened features on &lt;span class=&quot;caps&quot;&gt;GCC 4&lt;/span&gt;.x you shouldn&amp;#8217;t, in general, need any particular support in the compiler. What hardened would be doing for the modern compilers is creating new &amp;#8220;spec files&amp;#8221; that tell the compiler which flags to use by default. This would force the compiler to &lt;em&gt;always&lt;/em&gt; generate &lt;span class=&quot;caps&quot;&gt;PIE&lt;/span&gt; (Position Independent Executable) code and &lt;span class=&quot;caps&quot;&gt;SSP&lt;/span&gt; (Stack Smashing Protection).&lt;/p&gt;


	&lt;p&gt;In general, to have the same features it would be enough to properly set &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt;. The idea is that once you put &lt;code&gt;-fPIE&lt;/code&gt; in your flags, all the code that Portage built would be &lt;span class=&quot;caps&quot;&gt;PIE&lt;/span&gt;, and if you set &lt;code&gt;-fstack-protector&lt;/code&gt; in your &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; (and not &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt; because &lt;span class=&quot;caps&quot;&gt;SSP&lt;/span&gt; is known not to cope properly with C++ code), you expect your system to be built with stack protector turned on.&lt;/p&gt;


	&lt;p&gt;The problem is, reality and theory don&amp;#8217;t seem to coincide. The problem is that a huge lot of ebuilds ignore your flags entirely, others strip them, and might strip &lt;code&gt;-fPIE&lt;/code&gt; and &lt;code&gt;-fstack-protector&lt;/code&gt;, and quite a few mix &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt;, using the former to build C++ code and the latter to build C code. The result is that you end up with something different than what you asked for.&lt;/p&gt;


	&lt;p&gt;Even worse, there are packages that save your &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; in their &lt;code&gt;-config&lt;/code&gt; files, letting your custom flags creep into other projects that might not want them.&lt;/p&gt;


	&lt;p&gt;So the result is that if we want to make it much easier for everybody to enable hardened, we should be making sure that the behaviour of ebuilds is standardised on the policy of respecting the flags set by the user, not filtering them unless &lt;em&gt;really&lt;/em&gt; needed, and even then letting most of the non-optimisation flags through. And to actually use the correct variable depending on the language used.&lt;/p&gt;


	&lt;p&gt;What are the problems? The first is obviously upstreams that don&amp;#8217;t want users to use their own flags for building their code (MPlayer, anyone?), then there is at least the problem of broken build systems that either don&amp;#8217;t understand the difference between &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt; or don&amp;#8217;t support custom flags at all.&lt;/p&gt;


	&lt;p&gt;If you wish to help, there is an easy way to actually find where the flags are mixed up. As the most obvious problem is &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; used for building C++ code (rather than the other way around), you can add &lt;code&gt;-Wno-pointer-sign&lt;/code&gt; to your &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt;. When the variable is misused, it turns out this error:&lt;/p&gt;


&lt;div class=&quot;typocode&quot;&gt;&lt;pre&gt;&lt;code class=&quot;typocode_default  prettyprint&quot;&gt;cc1plus: warning: command line option &amp;quot;-Wno-pointer-sign&amp;quot; is valid for C/ObjC but not for C++&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;When you see that, it&amp;#8217;s time to report it against &lt;a href=&quot;http://bugs.gentoo.org/show_bug.cgi?id=234011&quot;&gt;bug #234011&lt;/a&gt; so that the maintainers know they need to fix something in the build system to keep the two variables separated.&lt;/p&gt;


	&lt;p&gt;As to how to fix this, on custom build systems it&amp;#8217;s difficult to say, on autotools-based systems, the problem might be in the configure.ac, if code similar to this is present:&lt;/p&gt;


&lt;div class=&quot;typocode&quot;&gt;&lt;pre&gt;&lt;code class=&quot;typocode_default  prettyprint&quot;&gt;CFLAGS=&amp;quot;${CFLAGS} -DSOMETHING&amp;quot;
CXXFLAGS=&amp;quot;${CFLAGS} -DSOMETHING&amp;quot;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;An alternative is that the build system is adding to _CXXFLAGS the value of a variable reported by one of the &lt;code&gt;foo-config&lt;/code&gt; scripts that are bugged and report the flags used to build the source package rather than just the flags needed to get their include directories right. In that case the bug lies in a different package, and is there that it has to be fixed.&lt;/p&gt;


	&lt;p&gt;Hopefully, this kind of fixes will become routine and new packages won&amp;#8217;t be added to the tree if they mix &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt;&amp;#8230; I can always dream, can&amp;#8217;t I?&lt;/p&gt;


	&lt;p&gt;But yes this is another point of my checklist when creating an ebuild, if the new ebuild is not needed &lt;em&gt;immediately&lt;/em&gt; and upstream fails to understand &lt;span class=&quot;caps&quot;&gt;CFLAGS&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;CXXFLAGS&lt;/span&gt; differences, then I avoid adding it at all. I hope other developers will start considering this, too :)&lt;/p&gt;


	&lt;p&gt;Oh yeah I&amp;#8217;m sorry I&amp;#8217;m actually filing bugs now without providing a fix immediately. The reason why I stopped providing fixes right away is that first of all I&amp;#8217;m opening a huge amount of bugs when I find them, rather than waiting to have time to debug and fix them, and I have not enough time for myself to take care of that stuff too, and I&amp;#8217;d rather explain how to fix them and then see them fixed by the actual maintainers. And also, I think I have bugs with patches still waiting on maintainers, so&amp;#8230;&lt;/p&gt;</description>
            
            <pubDate>Thu, 07 Aug 2008 08:05:08 -0700</pubDate>
        </item>
                </channel>
</rss>
