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

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Andrew's blog (Entries tagged as software)</title>
    <link>https://blog.etc.gen.nz/</link>
    <description>This is a blog, it is it is.</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@etc.gen.nz" />
    <generator>Serendipity 2.4.0 - http://www.s9y.org/</generator>
    <pubDate>Sat, 15 Dec 2007 07:33:31 GMT</pubDate>

    <image>
    <url>https://blog.etc.gen.nz/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: Andrew's blog - This is a blog, it is it is.</title>
    <link>https://blog.etc.gen.nz/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>MythTV Status in your MOTD (and email) - Version 0.6.1</title>
    <link>https://blog.etc.gen.nz/archives/77-MythTV-Status-in-your-MOTD-and-email-Version-0.6.1.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/77-MythTV-Status-in-your-MOTD-and-email-Version-0.6.1.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=77</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=77</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    I&#039;m pleased to announce a new version of my little script - 0.6.1.
&lt;p&gt;
&lt;br /&gt;
Notable new features:
&lt;br /&gt;
&lt;ul&gt;
 &lt;li&gt; Details on disk space are reported, and individual storage groups[0];
 &lt;li&gt; If there isn&#039;t enough program guide data, a warning is shown;
 &lt;li&gt; The &lt;tt&gt;--email-only-on-conflict&lt;/tt&gt; option has been extended to mean
   &quot;Only on alert&quot; which now includes both the previous points
   (this means, you&#039;ll only be emailled if there is something which
   needs your attention);
 &lt;li&gt; For each recording (scheduled, current and conflict) show the channel
   name it is related to;
 &lt;li&gt; We do a little bit of rinsing on the XML data now to remove some
   invalid unicode characters that occasionally appear;
 &lt;li&gt; Suppress some warnings if the user doesn&#039;t have access to MySQL and
   handle some other error conditions in a nicer manner.
&lt;/ul&gt;

If you install the .deb, then the MOTD is updated automatically and the
email will be sent daily if there are conflicts (and you&#039;ve set some
email addresses).
&lt;p&gt;
&lt;br /&gt;
As usual, you can check the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.etc.gen.nz/projects/mythtv/mythtv-status.html&#039;]);&quot;  href=&quot;http://www.etc.gen.nz/projects/mythtv/mythtv-status.html&quot;&gt;project page&lt;/a&gt;.
&lt;p&gt;&lt;br /&gt;
[0] To get the details on the individual storage groups you need to
apply a couple of patches to MythTV.  Please see the FAQ in the tarball
or for Debian type boxes, /usr/share/doc/mythtv-status/FAQ .
&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; I&#039;ve disabled comments for now as I&#039;m tired of all the spam. 
    </content:encoded>

    <pubDate>Thu, 13 Dec 2007 19:19:53 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/77-guid.html</guid>
    <category>catalyst</category>
<category>geek</category>
<category>linux</category>
<category>mythtv</category>
<category>mythtv-status</category>
<category>perl</category>
<category>software</category>

</item>
<item>
    <title>Domain Name Registry System - version 1.47</title>
    <link>https://blog.etc.gen.nz/archives/76-Domain-Name-Registry-System-version-1.47.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/76-Domain-Name-Registry-System-version-1.47.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=76</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=76</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    It is time for another open source release of the Domain Name Registry System (DNRS) - the software which runs the .nz domain name space.&lt;br /&gt;
&lt;br /&gt;
Head over to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/sf.net/projects/dnrs&#039;]);&quot;  href=&quot;http://sf.net/projects/dnrs&quot;&gt;DNRS&lt;/a&gt; on &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/sf.net&#039;]);&quot;  href=&quot;http://sf.net&quot;&gt;SourceForge&lt;/a&gt; to check it out.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 04 Dec 2007 01:15:17 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/76-guid.html</guid>
    <category>catalyst</category>
<category>dns</category>
<category>perl</category>
<category>software</category>

</item>
<item>
    <title>MythTV Status in your MOTD (and email) - Version 0.5.1</title>
    <link>https://blog.etc.gen.nz/archives/75-MythTV-Status-in-your-MOTD-and-email-Version-0.5.1.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/75-MythTV-Status-in-your-MOTD-and-email-Version-0.5.1.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    I&#039;m pleased to announce a new version of my little script - &lt;strike&gt;0.5&lt;/strike&gt; 0.5.1.
&lt;p&gt;
&lt;br /&gt;
Notable new features (from the shiny new ChangeLog):
&lt;br /&gt;
&lt;ul&gt;
 &lt;li&gt; Add support for printing colour in the encoder status display.
  &lt;li&gt; Show any schedule conflicts, or if the MythTV Perl API isn&#039;t
   usable, a warning is displayed.
  &lt;li&gt; Display the amount of time until the next recording.
  &lt;li&gt; Add --version &amp;amp; --help options.
  &lt;li&gt; Allow suppressing blocks of output.
  &lt;li&gt; The report can be sent via email with the subject set correctly.
   With an option to only send out email if schedule conflicts are
   detected.
&lt;/ul&gt;
If you install the .deb, then the MOTD is updated automatically and the
email will be sent daily if there are conflicts (and you&#039;ve set some
email addresses).
&lt;p&gt;
&lt;br /&gt;
As usual, you can check the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.etc.gen.nz/projects/mythtv/mythtv-status.html&#039;]);&quot;  href=&quot;http://www.etc.gen.nz/projects/mythtv/mythtv-status.html&quot;&gt;project page&lt;/a&gt;.
&lt;p&gt;&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; I&#039;ve released 0.5.1 which should make the colour look good on non-black backgrounds as well. 
    </content:encoded>

    <pubDate>Thu, 22 Nov 2007 19:28:12 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/75-guid.html</guid>
    <category>catalyst</category>
<category>geek</category>
<category>linux</category>
<category>mythtv</category>
<category>mythtv-status</category>
<category>perl</category>
<category>software</category>

</item>
<item>
    <title>MythTV Status in your MOTD</title>
    <link>https://blog.etc.gen.nz/archives/74-MythTV-Status-in-your-MOTD.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/74-MythTV-Status-in-your-MOTD.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=74</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=74</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    The other day I was recompiling some kernels during the day on our
&lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.mythtv.org&#039;]);&quot;  href=&quot;http://www.mythtv.org&quot;&gt;MythTV&lt;/a&gt; backend, which at the time happened to be recording my wifes
favourite program (Grey&#039;s Anatomy, we discovered it part way through the
season, so the repeats are good).  It turns out the compilation caused
some issues with the recording (which reduced the WAF). 
&lt;p&gt;
&lt;br /&gt;
So to increase the WAF, I&#039;m making sure this doesn&#039;t happen again.  I&#039;ve
written a script that spits out the MythTV status which is then
displayed in the MOTD.  It is available &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.etc.gen.nz/projects/mythtv/mythtv-status.html&#039;]);&quot;  href=&quot;http://www.etc.gen.nz/projects/mythtv/mythtv-status.html&quot;&gt;over here&lt;/a&gt;.
&lt;p&gt;
&lt;br /&gt;
I&#039;ve found this is a pretty effective way of letting me know of any
upcoming recordings and what is going to be happening on the system in
the next little while.  It is a whole lot easier than using the status
page on MythWeb.
&lt;p&gt;
&lt;br /&gt;
Sample output:

&lt;pre&gt;
MythTV status for localhost
===========================
Status: Mon Oct 15 2007, 8:41 AM

Encoders:
cerberus (9) - Idle
cerberus (12) - Idle

Scheduled Recordings:
2007-10-15 13:30:00 - Grey&#039;s Anatomy
2007-10-15 18:00:00 - 3 News
2007-10-15 20:30:00 - Mythbusters
2007-10-15 22:00:00 - Flight Of The Conchords
2007-10-16 13:30:00 - Grey&#039;s Anatomy
2007-10-16 18:00:00 - 3 News
&lt;/pre&gt;

I run Debian, so there is a .deb.  For those not running Debian there is
a tarball (but the MOTD updating glue is Debian specific at the moment).
For those interested in hacking there is a git repository.
&lt;p&gt;
&lt;br /&gt;
Hopefully I&#039;m not the only one that finds this useful. 
    </content:encoded>

    <pubDate>Thu, 15 Nov 2007 20:24:31 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/74-guid.html</guid>
    <category>catalyst</category>
<category>geek</category>
<category>linux</category>
<category>mythtv</category>
<category>mythtv-status</category>
<category>perl</category>
<category>software</category>

</item>
<item>
    <title>IPv6 Firewalling</title>
    <link>https://blog.etc.gen.nz/archives/43-IPv6-Firewalling.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/43-IPv6-Firewalling.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=43</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    Firewalling IPv6 on Linux seems to be a vaguely documented topic, and most of that documentation seems to be out of date as it is a fast moving target.  I&#039;ve spent a bit of time over the last couple of days working on improving my firewalling situation and thought I should write up what I&#039;ve found.&lt;br /&gt;
&lt;br /&gt;
After a bit of digging I found that while IPv6 connection tracking was merged in 2.6.16, the configuration options are somewhat hidden.  Up until yesterday I was running 2.6.19.x on my firewall and I discovered that while ip6tables allowed me to configure a stateful firewall, it wasn&#039;t actually doing anything!&lt;br /&gt;
&lt;br /&gt;
I looked around for the required nf_conntrack_ipv6 module and couldn&#039;t find it.  I looked in my running kernels config and couldn&#039;t find it.   In fact I couldn&#039;t find any option for enabling IPv6 connection tracking at all.  After some digging (grep&#039;ing the Kconfig files helps) I found that I needed to change over to the new (experimental) Layer 3 Independent Connection tracking support.&lt;br /&gt;
&lt;br /&gt;
The catch here is that if you have the old school Connection tracking (CONFIG_IP_NF_CONNTRACK) enabled you&#039;ll never see the new independent method (CONFIG_NF_CONNTRACK) in menuconfig.  Which is why I&#039;d never seen it before.  So I disabled CONFIG_IP_NF_CONNTRACK (in IP: Netfilter Configuration), enabled (the now visible) CONFIG_NF_CONNTRACK (in Core Netfilter Configuration) went into both the IP and IPv6 Netfilter Configuration menus and selected support for the connection tracking option.&lt;br /&gt;
&lt;br /&gt;
Compiled, installed and rebooted.  Suddenly I had IPv6 connection tracking working.  w00t!  But no IPv4 NAT.  Damn.  It turns out that IPv4 NAT support was only ported to the new Layer 3 Independent Connection stuff in 2.6.20.&lt;br /&gt;
&lt;br /&gt;
So I downloaded 2.6.20.3, jumped into the IP: Netfilter  Configuration menu and found &quot;Full NAT&quot;.  That&#039;s what I want.  Compiled, installed and rebooted.&lt;br /&gt;
&lt;br /&gt;
Now I have my old IPv4 NAT working, &lt;b&gt;and&lt;/b&gt; a full stateful IPv6 firewall (with no NAT!).&lt;br /&gt;
&lt;br /&gt;
Oh, if you are using IPv6 stateful firewalling with Linux then you want to upgrade to 2.6.20.3, it fixes an issue with incorrectly classifying IPv6 fragments as ESTABLISHED and letting them through.  Oops.  Also, 2.6.20 moves the config options around again... 
    </content:encoded>

    <pubDate>Wed, 14 Mar 2007 22:02:10 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/43-guid.html</guid>
    <category>ipv6</category>
<category>kernel</category>
<category>linux</category>
<category>software</category>

</item>
<item>
    <title>Pet Projects</title>
    <link>https://blog.etc.gen.nz/archives/39-Pet-Projects.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/39-Pet-Projects.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=39</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=39</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    It&#039;s kinda funny, I keep on finding little itches that I want to scratch, but never have the time to scratch them all.  Before Susanne became pregnant I didn&#039;t have much time to scratch them.  Now I have less time, and once the baby is born, well, practically none I expect.&lt;br /&gt;
&lt;br /&gt;
I thought I would write down what some of them are on the hope it might focus me so I&#039;ll work on them in what spare time I have.  Just some of the coding related itches I have are (not in any particular order):&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;br /&gt;
  &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.nat.org/dashboard/&#039;]);&quot;  href=&quot;http://www.nat.org/dashboard/&quot;&gt;Dashboard&lt;/a&gt; - I really want to get back into this&lt;br /&gt;
  &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/rscds.sf.net&#039;]);&quot;  href=&quot;http://rscds.sf.net&quot;&gt;Really Simple CalDAV Store&lt;/a&gt; - Just generally get more involved with it.&lt;br /&gt;
  &lt;li&gt;  Finish an Outlook 2000 calendar to CalDAV importer so Susanne&#039;s calendar can be available on the network (using RSCDS).&lt;br /&gt;
  &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.opensync.org&#039;]);&quot;  href=&quot;http://www.opensync.org&quot;&gt;OpenSync&lt;/a&gt; - I&#039;d like to have my Treo 650 sync nicely with Evolution and various LDAP phone directories.  Also, once this is working perhaps Susanne can stop using Outlook (she only uses Outlook because it syncs with her Treo 650).&lt;br /&gt;
  &lt;li&gt; Revision control plugin for &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.gnome.org/projects/tomboy/&#039;]);&quot;  href=&quot;http://www.gnome.org/projects/tomboy/&quot;&gt;Tomboy&lt;/a&gt; - I use tomboy for note taking on my desktop at work, my desktop at home and a notebook.  I use git for my .tomboy directory to keep the Tomboy directory in sync across my work desktop and the notebook.  It&#039;d be nice if tomboy automatically added new pages, and committed changed pages for me.&lt;br /&gt;
  &lt;li&gt; Improve tagging on the desktop - &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.chipx86.com/wiki/Leaftag&#039;]);&quot;  href=&quot;http://www.chipx86.com/wiki/Leaftag&quot;&gt;Leaftag&lt;/a&gt; is neat, but I&#039;d like to have integrated support in the Save/Open Gnome dialog window, and have those tags shared amongst other users on my system &amp;amp; network.&lt;br /&gt;
  &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.musicpd.org&#039;]);&quot;  href=&quot;http://www.musicpd.org&quot;&gt;mpd&lt;/a&gt; - I would like to integrate &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/avahi.org&#039;]);&quot;  href=&quot;http://avahi.org&quot;&gt;Avahi&lt;/a&gt; so I don&#039;t have to setup environment variables on new machines anymore.  The other feature I&#039;d like to add is a basic plugin handler.&lt;br /&gt;
  &lt;li&gt; Improve the integration between &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.asterisk.org&#039;]);&quot;  href=&quot;http://www.asterisk.org&quot;&gt;Asterisk&lt;/a&gt; and the &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.gnome.org&#039;]);&quot;  href=&quot;http://www.gnome.org&quot;&gt;Gnome&lt;/a&gt; desktop.  There are some desktop apps for interacting with Asterisk out there, but they don&#039;t have the Gnome feel to them.  I&#039;ve had some ideas of different use cases and how they might be implemented.  I&#039;m going to generate some mock UIs soonish.&lt;br /&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;br /&gt;
And then there is the ongoing tweaking of my &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.mythtv.org&#039;]);&quot;  href=&quot;http://www.mythtv.org&quot;&gt;MythTV&lt;/a&gt; setup, and all the other neat and nifty things I stumble upon and want to play with. 
    </content:encoded>

    <pubDate>Sun, 04 Mar 2007 23:05:42 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/39-guid.html</guid>
    <category>geek</category>
<category>oss</category>
<category>software</category>

</item>
<item>
    <title>Leaving ICQ</title>
    <link>https://blog.etc.gen.nz/archives/36-Leaving-ICQ.html</link>
    
    <comments>https://blog.etc.gen.nz/archives/36-Leaving-ICQ.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    Having just taken a closer look at the Acceptable Use Policy on ICQ as linked to from &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.inittab.de/blog/tech/20070220_icq-policy.html&#039;]);&quot;  href=&quot;http://www.inittab.de/blog/tech/20070220_icq-policy.html&quot;&gt;here&lt;/a&gt; I&#039;ve decided to no longer use ICQ.  When I first signed up with ICQ there weren&#039;t really many other options for IM.  Actually, there probably weren&#039;t.  Now other, better, options abound.&lt;br /&gt;
&lt;br /&gt;
This decision probably won&#039;t affect too many people, I don&#039;t tend to use ICQ that much, but it affects a couple of folks I chat with.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; Add note about why I signed up with ICQ to start with. 
    </content:encoded>

    <pubDate>Wed, 21 Feb 2007 00:10:38 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/36-guid.html</guid>
    <category>software</category>

</item>
<item>
    <title>Open source release of the Domain Name Registry System</title>
    <link>https://blog.etc.gen.nz/archives/27-Open-source-release-of-the-Domain-Name-Registry-System.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/27-Open-source-release-of-the-Domain-Name-Registry-System.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=27</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=27</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    After almost 3 years we (along with &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.nzrs.net.nz&#039;]);&quot;  href=&quot;http://www.nzrs.net.nz&quot;&gt;NZRS&lt;/a&gt;) have made another open source release of the software which runs the .nz domain name system.  Head over to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/sourceforge.net/projects/dnrs/&#039;]);&quot;  href=&quot;http://sourceforge.net/projects/dnrs/&quot;&gt;DNRS on SourceForge&lt;/a&gt; to check it out.&lt;br /&gt;
&lt;br /&gt;
There is a slew of improvements from the previous release (as to be expected), so we hope that people will pick it up and get involved with it.  Interestingly enough there were 800 downloads of the previous version (only 500 odd downloads of all the required components though). 
    </content:encoded>

    <pubDate>Thu, 07 Dec 2006 21:07:48 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/27-guid.html</guid>
    <category>oss</category>
<category>perl</category>
<category>software</category>

</item>
<item>
    <title>Apple CalendarServer on Linux</title>
    <link>https://blog.etc.gen.nz/archives/14-Apple-CalendarServer-on-Linux.html</link>
            <category>catalyst</category>
    
    <comments>https://blog.etc.gen.nz/archives/14-Apple-CalendarServer-on-Linux.html#comments</comments>
    <wfw:comment>https://blog.etc.gen.nz/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>https://blog.etc.gen.nz/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>andrew@etc.gen.nz (Andrew Ruthven)</author>
    <content:encoded>
    Well, a bunch of people were quite interested in the news that Apple have released a CalDAV server under an open source license, myself included.  It is available from the CalendarServer project &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/calendarserver.macosforge.org/&#039;]);&quot;  href=&quot;http://calendarserver.macosforge.org/&quot;&gt;webpage&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
They state that they&#039;ve only tested it under MacOS X.  Which as I &#039;ve tried to compile it under Linux certainly shows!&lt;br /&gt;
&lt;br /&gt;
I&#039;ve managed to fight through the various bits and pieces and managed to get it to run!  &amp;lt;phew&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are a few notes regarding my experience, some steps and packages might be missing.  These are directly related to Debian Unstable.&lt;br /&gt;
&lt;br /&gt;
Required Debian packages:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
 &lt;li&gt; python2.4-dev&lt;br /&gt;
 &lt;li&gt; libkrb5-dev&lt;br /&gt;
 &lt;li&gt; attr (and make sure that partition is mounted with the option user_xattr, as mentioned in to the comments you can also run `mount -oremount,user_xattr &amp;lt;mount point&amp;gt;`)&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
You need to build the Python xattr package, by running (somewhere handy) the following.  You may not need to actually checkout the code first.  I had to do this as it wasn&#039;t automatically checked out for me.  Of course, YMMV.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
  svn checkout http://svn.red-bean.com/bob/xattr/trunk/ xattr&lt;br /&gt;
  &amp;lt;become root&amp;gt;&lt;br /&gt;
  cd xattr&lt;br /&gt;
  export C_INCLUDE_PATH=/usr/include/python2.4&lt;br /&gt;
  python setup.py install&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
The Python module plistlib.py to read MacOS X PList files is required, it is available from &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/svn.python.org/view/python/trunk/Lib/plat-mac/plistlib.py&#039;]);&quot;  href=&quot;http://svn.python.org/view/python/trunk/Lib/plat-mac/plistlib.py&quot;&gt;SVN&lt;/a&gt;.  I copied it into /usr/local/lib/python2.4/site-packages on my machine and it was picked up.&lt;br /&gt;
&lt;br /&gt;
Some of the packages which are checked out from SVN require some patches applied to them.  The patches are:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
 &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.etc.gen.nz/projects/CalenderServer/Twisted.patch&#039;]);&quot;  href=&quot;http://www.etc.gen.nz/projects/CalenderServer/Twisted.patch&quot;&gt;Twisted&lt;/a&gt;&lt;br /&gt;
 &lt;li&gt; &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.etc.gen.nz/projects/CalenderServer/PyKerberos.patch&#039;]);&quot;  href=&quot;http://www.etc.gen.nz/projects/CalenderServer/PyKerberos.patch&quot;&gt;PyKerberos&lt;/a&gt; - Also the patches from &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/svn.macosforge.org/projects/calendarserver/ticket/37&#039;]);&quot;  href=&quot;https://svn.macosforge.org/projects/calendarserver/ticket/37&quot;&gt;trac&lt;/a&gt; might be useful.  Don&#039;t worry about the includes one that is on trac, my supplied patch over rides that.&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
PyKerberos will need to be patched before it will compile, Twisted will compile but will do the wrong things with the extended attributes until is is patched.  Then just re-running &quot;run&quot; from inside the CalendarServer directory should pick up the change.&lt;br /&gt;
&lt;br /&gt;
I found the method that worked reasonably well was run &quot;run -s&quot; as provided by CalendarServer and whenever it broke (after checking out the required packages) apply the patch that I&#039;ve provided, then run &quot;run -s&quot; again.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; Added details about plistlib.py and alternative to mounting the filesystem.  Thanks Andrew M.&lt;br /&gt;
&lt;b&gt;Update 2:&lt;/b&gt; Add fact that xattr wasn&#039;t automatically downloaded for me.&lt;br /&gt;
&lt;b&gt;Update 3:&lt;/b&gt; The PyKerberos patch should now continue to work for MacOS X folks, and added details about the patches from Trac. 
    </content:encoded>

    <pubDate>Sun, 03 Sep 2006 03:54:49 +0000</pubDate>
    <guid isPermaLink="false">https://blog.etc.gen.nz/archives/14-guid.html</guid>
    <category>oss</category>
<category>software</category>

</item>

</channel>
</rss>
