<?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>Giselher&#039;s Blog</title>
	<atom:link href="http://blogs.archhurd.org/giselher/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.archhurd.org/giselher</link>
	<description>Just another Arch Hurd Developer Blogs site</description>
	<lastBuildDate>Tue, 31 Aug 2010 11:22:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>What&#8217;s next?</title>
		<link>http://blogs.archhurd.org/giselher/2010/08/31/whats-next/</link>
		<comments>http://blogs.archhurd.org/giselher/2010/08/31/whats-next/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 11:22:48 +0000</pubDate>
		<dc:creator>giselher</dc:creator>
				<category><![CDATA[ArchHurd]]></category>
		<category><![CDATA[GNU/Hurd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[procfs]]></category>

		<guid isPermaLink="false">http://blogs.archhurd.org/giselher/?p=55</guid>
		<description><![CDATA[I finished PHP yesterday, so what&#8217;s next? Well, to be honest I like to convince more people to maintain packages for Archhurd, because It gets harder every day to maintain the packages we have and starting packaging new things are &#8230; <a href="http://blogs.archhurd.org/giselher/2010/08/31/whats-next/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finished PHP yesterday, so what&#8217;s next? Well, to be honest I like to convince more people to maintain packages for Archhurd, because It gets harder every day to maintain the packages we have and starting packaging new things are more time consuming than update packages you know already.</p>
<p>If you are interested in helping us you can start with dropping by in our IRC channel #archhurd on chat.freenode.net. There  is always someone activ in this channel and fear not we are always friendly and do not eat your cat.</p>
<h3>procfs</h3>
<p>I wrote about procfs earlier and that it lacks some important feartures. You may be pleased to hear that Jeremie König a GSOC student that is working for Hurd, completly rewrote procfs. I only have to wait for melpo to return from his vacation and that he will rebuild hurd with the new procfs code. If it offers all features that we know from linux than we can iron out a lot of bugs and I can start building top, htop and other tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.archhurd.org/giselher/2010/08/31/whats-next/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Status &amp; storeio &#8211; My new favorite translator</title>
		<link>http://blogs.archhurd.org/giselher/2010/08/26/status-storeio-my-new-favorite-translator/</link>
		<comments>http://blogs.archhurd.org/giselher/2010/08/26/status-storeio-my-new-favorite-translator/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 23:54:32 +0000</pubDate>
		<dc:creator>giselher</dc:creator>
				<category><![CDATA[ArchHurd]]></category>
		<category><![CDATA[GNU/Hurd]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[procfs]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[storeio]]></category>
		<category><![CDATA[translator]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://blogs.archhurd.org/giselher/?p=37</guid>
		<description><![CDATA[Hy guise, I didn&#8217;t worked much on PHP and other server technologies, because the live cd is on its way and I did update some more or less essential packages, which are used for the live cd or are popular &#8230; <a href="http://blogs.archhurd.org/giselher/2010/08/26/status-storeio-my-new-favorite-translator/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hy guise,</p>
<p>I didn&#8217;t worked much on PHP and other server technologies, because the live cd is on its way and I did update some more or less essential packages, which are used for the live cd or are popular by the users. By the way! I am so happy that I finally fixed the python package. Python worked for me, because I accidently install it to root and not to the pkgdir and I thought that I uploaded the fixed package long ago. But then a friend of barrucadu, who wanted to build namcap to test his packages, told me that python still doesn&#8217;t work. After dowloading some patches from debian we now have both, a working python build and namcap in the AUR for now.</p>
<h3>Package Status</h3>
<p>There is also a new syslog-ng package in testing, which does not depend on pidof. Due to the lack of a working /proc implementation pidof does not work. But fear not, work is going on the source code of procfs.  We sooner or later got a working /proc and all the nice things that are depending on it, like top.</p>
<p>To be more developer friendly for future hurders,  I added cvs and mercurial. We now cover almost every VCS, except for Subversion, which will surely come someday (if I have enough time).</p>
<h3>Wiki Status</h3>
<p>I also change some wiki pages, especialy the translator page, which I will quote below. This pages gives an overview about the most important ones for end user, if there are end users at the moment. Please have a look if you like. <a href="http://wiki.archhurd.org/wiki/Translators" target="_blank">http://wiki.archhurd.org/wiki/Translators</a></p>
<p>I will make this post a bit longer than, because I didn&#8217;t post yesterday</p>
<h3>storeio &#8211; A flexible block device translator</h3>
<p>I&#8217;d like to present my new favorite translator, by the name storeio.</p>
<p>storeio is a translator which creates a block device from the given file. It also supports compressed files with gunzip and bunzip2 but I recommend not to use any compression, didn&#8217;t work as expected and takes forever to mount. You sure are asking yourself what you can do with a block device? Well, once created you can created a filesystem on it and mount it on a directory and put data into it. Because of the fact that the file is now a block device, you&#8217;re able to work with filesystem tools, like mkfs and fsck, on it. You can also create a ramdisk witk it.</p>
<p>Enough wtih the talk, lets show some examples. From here on I will quote the <a title="Wiki page - Translator" href="http://wiki.archhurd.org/wiki/Translators" target="_blank">wiki page about translators</a>. Sorry for the format. Look at our wike page if you like to see it in a better format.</p>
<blockquote>
<h4>storeio</h4>
<p>storeio is like losetup on linux, but with more advantages. It also supports compression with gzip and bzib2 or normal files.</p>
<p>It creates a block device with the given file or arguments.</p>
<pre style="padding-left: 30px"> settrans -ca loop0 /hurd/storeio -T file FILE
</pre>
<pre style="padding-left: 30px"> settrans -ca loop1 /hurd/storeio -T gunzip FILE.gz
</pre>
<p><strong>ATTENTION</strong>: storeio can not size the given file. A possibility to create a file with a given size is to use dd.</p>
<pre style="padding-left: 30px"> dd if=/dev/null of=FILE bs=42MB
</pre>
<p>This will create an empty file with the size of 42MB. You can now  work with the new block device. You can use it as temporary filesystem  (ramdisk) or as portable filesystem.</p>
<h5>ramdisk</h5>
<pre style="padding-left: 30px"> settrans -ca ramdisk0 /hurd/storeio -T copy zero:32M
 mkfs.ext2 -F -b 4096 ramdisk0
 settrans -ao ramdisk0 /hurd/ext2fs.static ramdisk0
</pre>
<p>First we create a buffer with copy and getting the size with zero.  (Just like dd, but without invoking a file) Then we create the  filesystem on our blockdevice and mounting it with ext2fs. The argument <strong>-o (orphan)</strong> replaces the previous translator with a new one without forcing it away.</p>
<h5>portable vfs</h5>
<p>The following example shows how to create virtual filesystems in a file.</p>
<pre style="padding-left: 30px"> dd if=/dev/zero of=your.img bs=SIZE
 settrans -ca loop0 /hurd/storio -T file your.img
 mkfs.ext2 -F -b 4096 loop0
 settrans -ca mount /hurd/ext2fs.static loop0
</pre>
<p>Fist create a file with any size and create the block device with storeio then create the filesystem and mount it.</p>
<p>You can also lay the translators on top of each other.</p>
<pre style="padding-left: 30px"> settrans -a your.img /hurd/storeio -T file your.img
 settrans -ao your.img /hurd/ext2fs your.img
</pre>
<p>The file your.img is now a directory and you can use it as such.</p>
<pre style="padding-left: 30px"> cp your things your.img/
 ls your.img/things/
</pre>
<p>To unmount the filesystem.</p>
<pre style="padding-left: 30px"> settrans -g your.img
</pre>
<p><strong>ATTENTION</strong>: I noticed that if you lay one translator onto  another you can only remove the one on top. I don&#8217;t know if this is a  feature or bug, but after that procedure you only need to use ext2fs to  mount the image, which is pretty handy after all.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blogs.archhurd.org/giselher/2010/08/26/status-storeio-my-new-favorite-translator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HAMP (Hurd Apache MySQL PHP)!</title>
		<link>http://blogs.archhurd.org/giselher/2010/08/23/hamp-hurd-apache-mysql-php/</link>
		<comments>http://blogs.archhurd.org/giselher/2010/08/23/hamp-hurd-apache-mysql-php/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 07:14:33 +0000</pubDate>
		<dc:creator>giselher</dc:creator>
				<category><![CDATA[ArchHurd]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blogs.archhurd.org/giselher/?p=27</guid>
		<description><![CDATA[After hours and 100 hacks later I finally got apache and its dependencies built, except for libsasl and libldap, which I thought are impossible to build for Hurd. But then diegonc, a archhurd user that works on the xkb keyboard &#8230; <a href="http://blogs.archhurd.org/giselher/2010/08/23/hamp-hurd-apache-mysql-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After hours and 100 hacks later I finally got apache and its dependencies built, except for libsasl and libldap, which I thought are impossible to build for Hurd. But then diegonc, a archhurd user that works on the xkb keyboard drivers, told me that he used a patch to build libldap. Now I can rebuild apr-util and apache again and thats not easy, because apache compiles itself three times in the archlinux PKGBUILD. I don&#8217;t know why, but I do it too.</p>
<p>Apache PKGBUILD</p>
<pre><code>     <strong><span style="color: #a020f0">for</span></strong> mpm <strong><span style="color: #a020f0">in</span></strong> prefork worker itk; <strong><span style="color: #a020f0">do</span></strong>
</code><code>                <strong><span style="color: #a020f0">if</span></strong> [ <strong><span style="color: #bc8f8f">"${mpm}"</span></strong> = <strong><span style="color: #bc8f8f">"itk"</span></strong> ]; <strong><span style="color: #a020f0">then</span></strong>
</code><code>                        &lt;---snip---&gt;
</code><code>                        autoconf
</code><code>                <strong><span style="color: #a020f0">fi</span></strong>
</code><code>                mkdir build-${mpm}
</code><code>                <strong><span style="color: #da70d6">pushd</span></strong> build-${mpm}
</code><code>                ../configure --<strong><span style="color: #da70d6">enable</span></strong>-layout=Arch \
</code><code>                        &lt;---snip---&gt;</code><code>
</code><code>                make
</code><code>                <strong><span style="color: #a020f0">if</span></strong> [ <strong><span style="color: #bc8f8f">"${mpm}"</span></strong> = <strong><span style="color: #bc8f8f">"prefork"</span></strong> ]; <strong><span style="color: #a020f0">then</span></strong>
</code><code>                        make DESTDIR=<strong><span style="color: #bc8f8f">"${pkgdir}"</span></strong> <strong><span style="color: #da70d6">install</span></strong>
</code><code>                <strong><span style="color: #a020f0">else</span></strong>
</code><code>                        <strong><span style="color: #da70d6">install</span></strong> -m755 httpd <strong><span style="color: #bc8f8f">"${pkgdir}/usr/sbin/httpd.${mpm}"</span></strong>
</code><code>                <strong><span style="color: #a020f0">fi</span></strong>
</code><code>                <strong><span style="color: #da70d6">popd</span></strong>
</code><code>        <strong><span style="color: #a020f0">done</span></strong>

</code></pre>
<p>The good news is, that packages like IMAP and MySQL are building without any major problems. I hope that we soon can setup a HAMP system to host a website or something similar</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.archhurd.org/giselher/2010/08/23/hamp-hurd-apache-mysql-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>First Commit</title>
		<link>http://blogs.archhurd.org/giselher/2010/08/22/first-commit/</link>
		<comments>http://blogs.archhurd.org/giselher/2010/08/22/first-commit/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 18:36:06 +0000</pubDate>
		<dc:creator>giselher</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blogs.archhurd.org/giselher/?p=15</guid>
		<description><![CDATA[I finally got a blog. Well, I did have one for a python game I wrote, but I did not a single post on it. I will write about the status of my Arch Hurd packages, the progress on my &#8230; <a href="http://blogs.archhurd.org/giselher/2010/08/22/first-commit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally got a blog. Well, I did have one for a python game I wrote, but I did not a single post on it.</p>
<p>I will write about the status of my Arch Hurd packages, the progress on my <a href="http://github.com/giselher/archhurd-devtools">devtools</a> for Arch and general Linux and GNU/Hurd stuff. I might also write about other kernels like Minix and other stuff I feel like writing.</p>
<p>To also add usefull information to this post, I shall announce that I am currently working on packaging apache and PHP. This is rather big task because they have a lot of dependencies I have to build first in order the build apache and PHP.</p>
<p>For the current status of this packages look at my wiki page (<a href="http://wiki.archhurd.org/wiki/User:Giselher#Apache.2FPHP">http://wiki.archhurd.org/wiki/User:Giselher#Apache.2FPHP</a>).</p>
<p>I also have some ideas for my devtools, like combine my addpkg and addgit script into one script, which does also a git commit.</p>
<p>See <a href="http://blogs.archhurd.org/giselher/about">About</a> for further information about me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.archhurd.org/giselher/2010/08/22/first-commit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

