<?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>ewald.tienkamp.nl &#187; portage</title>
	<atom:link href="http://ewald.tienkamp.nl/tag/portage/feed/" rel="self" type="application/rss+xml" />
	<link>http://ewald.tienkamp.nl</link>
	<description>Gentoo Linux and whatever else I think needs to be shot into cyberspace.</description>
	<lastBuildDate>Sat, 04 Sep 2010 08:39:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Opening plugins dialog in Pidgin causes Pidgin to crash</title>
		<link>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 19:11:55 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[Gathering of Tweakers]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[package.use]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[smileys]]></category>
		<category><![CDATA[USE flags]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=60</guid>
		<description><![CDATA[I have used Pidgin (previously GAIM) on and off for many years now. A couple of months ago I decided to install it again, which was a pleasant experience. One thing though: whenever I wanted to open the plugins menu, the whole program would come crashing down. After a few months of living without any [...]]]></description>
			<content:encoded><![CDATA[<p>I have used <a href="http://pidgin.im">Pidgin</a> (previously GAIM) on and off for many years now. A couple of months ago I decided to install it again, which was a pleasant experience. One thing though: whenever I wanted to open the plugins menu, the whole program would come crashing down.<br />
<span id="more-60"></span><br />
After a few months of living without any of the plugins, I decided to sit down and figure out what was causing the crash.</p>
<p>Figured I&#8217;d try enabling and disabling some of the USE flags for Pidgin, but without any luck, it still crashed. Then I went for compiling it with the debug USE flag enabled, as was suggested when running from the terminal. (yeah, yeah, should&#8217;ve gone for that sooner <img src='http://ewald.tienkamp.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>This time I found out the crash occurred immediately when the perl module was probed:</p>
<blockquote><p>(22:11:20) plugins: probing /usr/lib/purple-2/perl.so<br />
Hi, user.  We need to talk.<br />
I think something&#8217;s gone wrong here.  It&#8217;s probably my fault.<br />
No, really, it&#8217;s not you&#8230; it&#8217;s me&#8230; no no no, I think we get along well it&#8217;s just that&#8230;. well, I want to see other people.  I&#8230; what?!?  NO!  I haven&#8217;t been cheating on you!!  How many times do you want me to tell you?!  And for the last time, it&#8217;s just a rash!<br />
Aborted
</p></blockquote>
<p>Somehow it crashed right there, but I have as of yet not figured out why. My (temporary) solution is to merge Pidgin with the perl USE flag disabled, as it is enabled by default.</p>
<p>Enter nano<br />
<code>nano -w /etc/portage/package.use</code><br />
and append or insert the following line:<br />
<code>net-im/pidgin gtk -perl</code><br />
(if you use Gnome by default you&#8217;ll probably not need to add the gtk USE flag)</p>
<p>When remerging Pidgin after this, I can open the plugins dialog without any problems. Thing is: I can&#8217;t reproduce this problem on my trusty little netbook, which is rather odd. Probably has something to do with my perl install or config&#8230; but I don&#8217;t feel like diving in there (yet). It works, I&#8217;m happy, but if anyone has any suggestions, feel free to drop me a line.</p>
<p>On a related note, I prefer the <a href="http://gathering.tweakers.net/forum/faq/forumsurvival#smilies">smileys used on Gathering of Tweakers</a> and found out they are included in the <a href="http://www.gentoo-portage.com/x11-themes/pidgin-smileys">smileypack available through Portage</a>.</p>
<p>If you&#8217;re using stable, you&#8217;ll find that it is masked, so add<br />
<code>x11-themes/pidgin-smileys ~x86</code><br />
(change for whatever arch you&#8217;re using) to package.keywords:<br />
<code>nano -w /etc/portage/package.keywords</code><br />
and you are free to emerge the pack:<br />
<code>emerge pidgin-smileys</code><br />
You don&#8217;t have to restart Pidgin to enable them, just head on over to preferences and enjoy!</p>
<p><b>Update 25th of June 2009:</b> You can also extract the larger <a href="http://sourceforge.net/tracker/?func=detail&#038;aid=1267415&#038;group_id=235&#038;atid=746976">DiGiTheme zipfile</a> in ~/.purple/smileys for even more GoT (and some MSN) smileys <img src='http://ewald.tienkamp.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/24/opening-plugins-dialog-in-pidgin-causes-pidgin-to-crash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>This week&#8217;s blockers: perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib</title>
		<link>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 13:11:57 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[Compress-Zlib]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[perl-core]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[world]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=55</guid>
		<description><![CDATA[Less than a week after my previous post on blockers caused by poppler, perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib pop up as blockers in my emerge -uDN world. This week&#8217;s update greeted me with the following message: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. [...]]]></description>
			<content:encoded><![CDATA[<p>Less than a week after my <a href="http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/">previous post on blockers caused by poppler</a>, perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib pop up as blockers in my emerge -uDN world.<br />
<span id="more-55"></span><br />
This week&#8217;s update greeted me with the following message:</p>
<blockquote><p>
 * Error: The above package list contains packages which cannot be<br />
 * installed at the same time on the same system.</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Compress-Zlib-2.015&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    perl-core/IO-Compress-Zlib required by world</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Compress-2.020&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/IO-Zlib-1.09&#8242;, &#8216;nomerge&#8217;)<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/perl-Compress-Zlib-2.020&#8242;, &#8216;merge&#8217;)<br />
    ~perl-core/IO-Compress-2.020 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/perl-IO-Compress-Base-2.020&#8242;, &#8216;merge&#8217;)<br />
    (and 5 more)</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;perl-core/Compress-Zlib-2.015&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    perl-core/Compress-Zlib required by world
</p></blockquote>
<p>Fortunately, after seeing this and having seen poppler doing the exact same, I knew the solution. Clearly perl-core/Compress-Zlib and perl-core/IO-Compress-Zlib were somehow present in world, while they should be mere dependencies.</p>
<p>The fix was just like last week&#8217;s fix:<br />
<code>emerge -C perl-core/Compress-Zlib perl-core/IO-Compress-Zlib</code></p>
<p>Easy does it! For more details, <a href="http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/">see the previous post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/21/this-weeks-blockers-perl-corecompress-zlib-and-perl-coreio-compress-zlib/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>emerge -u world causes poppler blocks</title>
		<link>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/</link>
		<comments>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:59:32 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[poppler]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=41</guid>
		<description><![CDATA[When updating world, as we should all do every now and then, yesterday I was confronted with a number of different blocks relating to poppler. Usually I find it easiest to unmerge a blocking package by hand and see if the dependency conflict resolves itself. This time that wasn&#8217;t quite what I needed. During my [...]]]></description>
			<content:encoded><![CDATA[<p>When updating world, as we should all do every now and then, yesterday I was confronted with a number of different blocks relating to poppler. Usually I find it easiest to unmerge a blocking package by hand and see if the dependency conflict resolves itself. This time that wasn&#8217;t quite what I needed.<br />
<span id="more-41"></span></p>
<p>During my initial emerge -uDN world I was confronted with the following list of blocks:</p>
<blockquote><p>Conflict: 7 blocks (6 unsatisfied)</p>
<p> * Error: The above package list contains packages which cannot be<br />
 * installed at the same time on the same system.</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-glib-0.10.7[cairo] required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;media-gfx/gimp-2.6.4&#8242;, &#8216;nomerge&#8217;)<br />
    ~dev-libs/poppler-glib-0.10.7[cairo] required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;)</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-qt3-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-qt3-0.10.7 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;kde-base/kpdf-3.5.10-r1&#8242;, &#8216;nomerge&#8217;)<br />
    ~dev-libs/poppler-qt3-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-qt3-0.10.7&#8242;, &#8216;merge&#8217;)</p>
<p>  (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;app-text/poppler-bindings-0.10.5-r1&#8242;, &#8216;nomerge&#8217;) pulled in by<br />
    app-text/poppler-bindings required by world</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;app-text/poppler-utils-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~app-text/poppler-utils-0.10.7[abiword] required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-utils-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~app-text/poppler-utils-0.10.7[abiword] required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;net-print/cups-1.3.10-r1&#8242;, &#8216;nomerge&#8217;)</p>
<p>  (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-0.10.7&#8242;, &#8216;merge&#8217;) pulled in by<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;dev-libs/poppler-glib-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;ebuild&#8217;, &#8216;/&#8217;, &#8216;virtual/poppler-0.10.7&#8242;, &#8216;merge&#8217;)<br />
    ~dev-libs/poppler-0.10.7 required by (&#8216;installed&#8217;, &#8216;/&#8217;, &#8216;app-office/openoffice-3.0.0&#8242;, &#8216;nomerge&#8217;)<br />
    (and 2 more)</p>
<p>For more information about Blocked Packages, please refer to [snip]</p></blockquote>
<p>Now if I read through this list carefully I might have spotted the culprit before resorting to a websearch, but unfortunately I didn&#8217;t. Both poppler*-0.10.7 and poppler*-0.10.5-r1 were required and I didn&#8217;t realize why.</p>
<p>Turns out the solution was my sloppy Gentoo-past haunting me: <a href="http://forums.gentoo.org/viewtopic-p-5728706.html" title="Gentoo Forums - Poppler blockers, must unmerge poppler to fix [SOLVED]">poppler does not belong in world</a>. In the past I may have emerged software that did not belong in world without -1, as I just didn&#8217;t see the issue with that. Well, here it was.</p>
<p>To remove poppler (and others) from world, use:<br />
<code>emerge -C app-text/poppler app-text/poppler-bindings</code><br />
Followed by<br />
<code>emerge -uDN world</code><br />
(assuming you have set &#8211;ask (and &#8211;verbose) as EMERGE_DEFAULT_OPTS)</p>
<p>For anyone who, after reading this, is still somewhat puzzled as to the how and why of world, try the <a href="http://www.gentoo.org/doc/en/index.xml?catid=gentoo">Gentoo documentation on Portage</a> or browse through man emerge.</p>
<p>In my own (probably not quite correct) words: whenever you install a major piece of software, use emerge without -1, to ensure it is recorded in the so called world file. Whenever you update your world file using emerge -u world, the packages in the world file will be updated. In case a package is a dependency, Portage will automatically upgrade it once something in the world file requests it. As poppler was recorded in the world file, while it should have been a dependency, a conflict arose when other package in world were requesting an update. So whenever you have the need to manually install a dependency, use emerge -1 [packagename].</p>
<p>TL;DR: no dependencies in world please.</p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/06/15/emerge-u-world-causes-poppler-blocks/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Scanning for Conficker using Nmap under Gentoo Linux</title>
		<link>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/</link>
		<comments>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/#comments</comments>
		<pubDate>Mon, 18 May 2009 20:53:08 +0000</pubDate>
		<dc:creator>Ewald</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Conficker]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[package.use]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[USE flags]]></category>

		<guid isPermaLink="false">http://ewald.tienkamp.nl/?p=8</guid>
		<description><![CDATA[Well, that was what I wanted. I know, Conficker was hot months ago. But hey, I&#8217;m not often around Windows machines and I thought that while I was, I might just as well scan my parents&#8217;s network. So there I was with my little netbook, most recent Nmap (nmap-4.85_beta8) loaded, ready to go. A quick [...]]]></description>
			<content:encoded><![CDATA[<p>Well, that was what I wanted. I know, Conficker was hot months ago. But hey, I&#8217;m not often around Windows machines and I thought that while I was, I might just as well scan my parents&#8217;s network.<br />
<span id="more-8"></span><br />
So there I was with my little netbook, most recent Nmap (nmap-4.85_beta8) loaded, ready to go. A quick Google search taught me the right command.</p>
<p>But it failed.</p>
<p><code>nmap: unrecognized option '--script'<br />
[snip: followed by regular nmap --help output]</code></p>
<p>Eh?</p>
<p>As my thinking was suspended, I went for Google to find me the culprit responsible for this error. No results. What? Ah, well, this is just why I wanted my own blog: to enhance Google with yet unknown knowledge (or knowledge previously only available in obscure languages). Now only to find the solution&#8230;</p>
<p>Turns out it was actually rather simple: compile <a href="http://www.gentoo-portage.com/net-analyzer/nmap/USE#ptabs" title="Gentoo-Portage.com - nmap USE flags">Nmap with the lua USE flag</a>. Yes, that&#8217;s all.</p>
<p><i>OPEN PACKAGE.USE</i><br />
<code>nano /etc/portage/package.use</code><br />
<i>AND INSERT</i><br />
<code>net-analyzer/nmap lua</code><br />
<i>OR ON A TERMINAL ENTER</i><br />
<code>echo "net-analyzer/nmap lua" >> /etc/portage/package.use</code></p>
<p>After this you&#8217;re good to go.</p>
<p>While I&#8217;m at it, let&#8217;s leave you with the recommended scan options at the moment of writing:</p>
<p><code>#Source: <a href="http://nmap.org/changelog.html" title="Nmap changelog">Nmap changelog</a><br />
  o Recommended command for a fast Conficker scan (combine into 1 line):<br />
    nmap -p139,445 --script p2p-conficker,smb-os-discovery,smb-check-vulns<br />
    --script-args checkconficker=1,safe=1 -T4 [target networks]<br />
  o Recommended command for a more comprehensive (but slower) scan:<br />
    nmap --script p2p-conficker,smb-os-discovery,smb-check-vulns -p-<br />
    --script-args checkall=1,safe=1 -T4 [target networks]<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ewald.tienkamp.nl/2009/05/18/scanning-for-conficker-using-nmap-under-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

