<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" 
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" 
   xmlns:html="http://www.w3.org/1999/html" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
   <title>James Westby</title>
   <link>http://jameswestby.net/weblog</link>
   <description></description>
   <language>en</language>
   <copyright>Copyright 2006-2008 James Westby</copyright>
   <ttl>60</ttl>
   <pubDate>Tue, 03 Mar 2009 01:10 GMT</pubDate>
   <managingEditor>jw+blog@jameswestby.net</managingEditor>
   <generator>PyBlosxom http://pyblosxom.sourceforge.net/ 1.4.3 01/10/2008</generator>
<item>
   <title>For The Record</title>
   <guid isPermaLink="false">debian/09-for-the-record</guid>
   <link>http://jameswestby.net/weblog/debian/09-for-the-record.html</link>
   <description><![CDATA[
<div class="document">
<p>I'm a crap maintainer, as well as being bloody lazy.</p>
<p>I'm relieved I've finally been found out, I can desist with this
charade. I mean, it must be true, someone said it on the Internet.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Tue, 03 Mar 2009 01:10 GMT</pubDate>
</item>
<item>
   <title>bzr-builddeb and extra options</title>
   <guid isPermaLink="false">debian/08-bzr-builddeb-and-extra-options</guid>
   <link>http://jameswestby.net/weblog/debian/08-bzr-builddeb-and-extra-options.html</link>
   <description><![CDATA[
<div class="document">
<p>I spent today hacking on bzr-builddeb for the first time in a while. The
first order of business was to review and merge all of the <a class="reference external" href="https://code.launchpad.net/bzr-builddeb/+activereviews">proposed merges</a>
in launchpad. Thanks especially to <a class="reference external" href="http://jelmer.vernstok.nl/blog/">Jelmer Vernooij</a> for all his work.</p>
<p>After that I tackled a long-standing <a class="reference external" href="https://bugs.edge.launchpad.net/bzr-builddeb/+bug/248640">annoyance</a> in bzr-builddeb. This
limitation made it difficult to pass extra options to the underlying
build command. For instance, when building a merge you must use the <tt class="docutils literal"><span class="pre">-v</span></tt>
option to <tt class="docutils literal">debuild</tt>. Previously this meant that you would have to run
something like:</p>
<pre class="literal-block">
$ bzr builddeb -S --builder &quot;debuild -S -v0.1-1&quot;
</pre>
<p>Using the tradition of <tt class="docutils literal"><span class="pre">--</span></tt> to end option parsing this now becomes:</p>
<pre class="literal-block">
$ bzr builddeb -- -S -v0.1-1
</pre>
<p>which is much better.</p>
<p>The <tt class="docutils literal"><span class="pre">--</span></tt> isn't exactly obvious, but it does mean that I don't have to
implement support for every option of dpkg-buildpackage.</p>
<p>It may be possible to add support in bzr to make this work without the
<tt class="docutils literal"><span class="pre">--</span></tt>, I haven't looked yet, and the current implementation doesn't
prevent us from doing that.</p>
<p>One other thing I did was to make the build command default to <tt class="docutils literal">debuild</tt>,
rather than <tt class="docutils literal"><span class="pre">dpkg-buildpackage</span> <span class="pre">-rfakeroot</span> <span class="pre">-uc</span> <span class="pre">-us</span></tt>, so that we get all
the <tt class="docutils literal">debuild</tt> goodness. The obvious change here will be that it tries to
sign the package when you build. You can define your builder to be
<tt class="docutils literal">debuild <span class="pre">-uc</span> <span class="pre">-us</span></tt> to avoid this.</p>
<p>One last break was to remove support for <tt class="docutils literal"><span class="pre">source-builder</span></tt> from the
configuration. It now assumes that adding <tt class="docutils literal"><span class="pre">-S</span></tt> to the build command
will make it build a source package.</p>
<p>Comments on any of this are welcome.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Mon, 16 Feb 2009 20:57 GMT</pubDate>
</item>
<item>
   <title>Setting up Icecast2 on Debian</title>
   <guid isPermaLink="false">debian/07-icecast2-debian</guid>
   <link>http://jameswestby.net/weblog/debian/07-icecast2-debian.html</link>
   <description><![CDATA[
<div class="document">
<p>Hannah is very interested in radio, and is planning to set up her own Internet
radio site. I wanted to try out icecast to see whether it would be suitable. I
have jotted down a few notes about how to set it up here as I couldn't see any
others.</p>
<p>Firstly get the server and the streaming client:</p>
<blockquote>
aptitude install icecast2 ices2</blockquote>
<p>Then edit <tt class="docutils literal">/etc/default/icecast2</tt> to enable the daemon, and
<tt class="docutils literal">/etc/icecast2/icecast.xml</tt> to set the passwords.</p>
<p>Then</p>
<blockquote>
/etc/init.d/icecast2 start</blockquote>
<p>Then</p>
<blockquote>
cp /usr/share/doc/ices2/examples/ices-playlist.xml .</blockquote>
<p>and set the password in <tt class="docutils literal"><span class="pre">ices2-playlist.xml</span></tt> to be the stream password you
set above.</p>
<p>Then create <tt class="docutils literal">playlist.txt</tt> with the names of some .ogg files, one per line.</p>
<p>Then run as root</p>
<blockquote>
ices2 ices-playlist.xml</blockquote>
<p>and test using</p>
<blockquote>
mplayer <a class="reference external" href="http://localhost:8000/example1.ogg">http://localhost:8000/example1.ogg</a></blockquote>
<p>Hopefully this should be enough to get a stream going, and then you can
configure it how you want.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Thu, 24 Aug 2006 00:43 GMT</pubDate>
</item>
<item>
   <title>Subject: seccure_0.2-1_i386.changes ACCEPTED</title>
   <guid isPermaLink="false">debian/06-seccure-accepted</guid>
   <link>http://jameswestby.net/weblog/debian/06-seccure-accepted.html</link>
   <description><![CDATA[
<div class="document">
<p>I returned today and I had received the email I had been waiting for.</p>
<pre class="literal-block">
To: James Westby &lt;jw+debian&#64;jameswestby.net&gt;
From: Debian Installer &lt;installer&#64;ftp-master.debian.org&gt;
Date: Fri, 18 Aug 2006 07:00:09 -0700
Subject: seccure_0.2-1_i386.changes ACCEPTED


Accepted:
seccure_0.2-1.diff.gz
  to pool/main/s/seccure/seccure_0.2-1.diff.gz
seccure_0.2-1.dsc
  to pool/main/s/seccure/seccure_0.2-1.dsc
seccure_0.2-1_i386.deb
  to pool/main/s/seccure/seccure_0.2-1_i386.deb
seccure_0.2.orig.tar.gz
  to pool/main/s/seccure/seccure_0.2.orig.tar.gz


Override entries for your package:
seccure_0.2-1.dsc - optional utils
seccure_0.2-1_i386.deb - optional utils

Announcing to debian-devel-changes&#64;lists.debian.org
Closing bugs: 378987


Thank you for your contribution to Debian.
</pre>
<p>Thanks to those that helped me to get this in, and especially the author for a
cool bit of software. He has just released a new version, so I will package
that and upload it soon.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Tue, 22 Aug 2006 23:18 GMT</pubDate>
</item>
<item>
   <title>GnuTLS freeze for etch</title>
   <guid isPermaLink="false">debian/05-gnutls-freeze</guid>
   <link>http://jameswestby.net/weblog/debian/05-gnutls-freeze.html</link>
   <description><![CDATA[
<div class="document">
<p>We hadn't really realised but some gnutls related packages are <tt class="docutils literal">Priority:
Important</tt>, and as such are due to be frozen soon for etch. There has been
some upstream activity in the area recently, with several releases. Luckily
the timing was really good, and the uploads made it in such that they should
progress to etch quickly, without causing any trouble for the release team.</p>
<p>Also there has been some action from a couple of the maintainers holding up
the gnutls11 and libtasn1-2 removal. This just leaves two packages, one of
which the maintainer has tagged pending, and <a class="reference external" href="http://downhill.g.la/blog/">nutmeg</a> has just upgraded the
bugs to serious to try and prod the maintainers. It is possible then that
removal can be requested before the release team calls the freeze that is
supposed to include these packages.</p>
<p>gnutls13 builds a gnutls-dev package, which will make this easier in the
future... until there is an API change and we have to switch back to
gnutlsXX-dev and get all packages to migrate again. It is hard to know which
is the better approach, but at least this way it only requires rebuilds while
things stay calm.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Sun, 13 Aug 2006 23:02 GMT</pubDate>
</item>
<item>
   <title>bzr-builddeb started</title>
   <guid isPermaLink="false">debian/04-bzrbuilddeb-started</guid>
   <link>http://jameswestby.net/weblog/debian/04-bzrbuilddeb-started.html</link>
   <description><![CDATA[
<div class="document">
<p>The other day I decided I wanted to try out one of the more modern revision
control systems. I decided on <a class="reference external" href="http://bazaar-vcs.org/">bzr</a> as it seemed to have some features that I
liked the look of. I still intend to try out <a class="reference external" href="http://abridgegame.org/darcs/">darcs</a> one day though, as it
looks very interesting.</p>
<p>Just as I started looking at it and thinking about using it for some of my
packaging work, I discovered that there was no -buildpackage for bzr. But lo,
<a class="reference external" href="http://blog.madduck.net/">madduck</a> filed an <a class="reference external" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380198">ITP</a> for it. However he said that it didn't actually
exist yet.</p>
<p>I decided I would try and help to write something, even though I have hardly
ever touched Python before. It was quite easy to hack something together by
looking in examples. I ended up with a plugin that worked for me to build
simple packages from a bzr repository, including supporting the layout where
just the debian/ dir is versioned (the mergeWithUpstream of svn-buildpackage).
You can find my work <a class="reference external" href="http://jameswestby.net/bzr/builddeb/builddeb.dev">here</a>, (in a bzr branch of course). The plugin is
actually called builddeb, as it seems Fedora are keen on something similar,
and so we didn't want to hog the namespace. The Debian package will probably
include a wrapper script named bzr-buildpackage though.</p>
<p>There is plenty that can be added on, for instance config files are needed,
and madduck would like to include hook script capability within the branches,
but this is going to take some careful thought.</p>
<p>I have quite enjoyed working in Python, it allows you to do things &quot;properly&quot;
if you want, but also can be very terse. I've not grasped all of the features
yet though.</p>
</div>

]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Sat, 12 Aug 2006 16:08 GMT</pubDate>
</item>
<item>
   <title>seccure in Debian?</title>
   <guid isPermaLink="false">debian/02-seccure-rfs</guid>
   <link>http://jameswestby.net/weblog/debian/02-seccure-rfs.html</link>
   <description><![CDATA[

<p>
An <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378987">RFP</a> 
was filed for <a href="http://point-at-infinity.org/seccure/">seccure</a>, a
small program allowing ECC based public-key crypto. I snapped it up and
produced a <a href="http://jameswestby.net/debian/">package</a>. The packaging
was simple, but I enjoyed playing with the software while I was doing it.
</p>

<p>
The upstream author, B. Poettering, has been fantastic, very responsive and
helpful. He even asked what features I would be interested in for the
software.
</p>

<p>
He wrote it for backups, and so it is quite simple, without the keyrings etc. 
of gpg. It might be quite useful, and the length of the keys makes it easy to
pass them around. I have put my key in my .signature for a bit of advertising.
ECC is planned to be included in a future version of gpg, so seccure will stay
small.
</p>

<p>
I also asked the <a href="http://shellcode.org/mailman/listinfo/debian-audit">
debian-audit</a> team if they would take a look at the package. Ulf Harnhammar
and Brian M. Carlson had a <a
href="http://shellcode.org/pipermail/debian-audit/2006-August/000319.html">
look</a>, and said that it was very well done.
</p>

<p>
I think there is a dictionary attack on the password, and so the secret key,
so you better pick a good one. My public key is 
<blockquote><p>
(3+)k7|M*edCX/.A:n*N!&gt;|&amp;7U.L#9E)Tu)T0&gt;AM
</p></blockquote>
using the secp256r1/nistp256 curve.
</p>

<p>
I currently have an open <a
href="http://lists.debian.org/debian-mentors/2006/07/msg00390.html">RFS</a> for the package, but I need to update it, as
there is a new upstream release, including an implementation of DH key
exchange.
</p>


]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Tue, 08 Aug 2006 01:15 GMT</pubDate>
</item>
<item>
   <title>ssl-cert2 Proposal</title>
   <guid isPermaLink="false">debian/01-ssl-cert2-proposal</guid>
   <link>http://jameswestby.net/weblog/debian/01-ssl-cert2-proposal.html</link>
   <description><![CDATA[

<p>
After a <a href="http://lists.debian.org/debian-devel/2006/06/msg01288.html">
discussion</a> <a
href="http://lists.debian.org/debian-devel/2006/07/msg00034.html">on</a> 
the debian-devel mailing list about having a system for unifying the way 
packages create SSL certificates, a couple of things became apparent. Firstly 
that the idea was a good one, and secondly that the existing tool that tries 
to do this (<a
href="http://packages.qa.debian.org/s/ssl-cert.html">ssl-cert</a>) is not <a
href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=ssl-cert">good
enough</a>.
</p>

<p>
So I decided that I could do better and started writing the next generation of
the tool. This version aims to have different modes of operation, and allow
the system admin the choice of how certificates should be handled. As an added
bonus it makes it easier for package maintainers to create and use SSL
certificates.
</p>

<p>
You can see an overview of the design, and the current status of the work <a
href="http://wiki.debian.org/SslCertificateHandling">here</a>. There is also 
the source code of the project in a <a 
href="http://jameswestby.net/bzr/ssl-cert2/">bzr branch</a>. I would welcome
any comments that anyone has on the design of the project, as I am sure I
haven't thought of every situation yet.
</p>



]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Sun, 06 Aug 2006 11:29 GMT</pubDate>
</item>
<item>
   <title>apt-listbugs RC bug problems</title>
   <guid isPermaLink="false">debian/00-apt-listbugs-rc-buggy</guid>
   <link>http://jameswestby.net/weblog/debian/00-apt-listbugs-rc-buggy.html</link>
   <description><![CDATA[

<p>
Recently apt-listbugs was 
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374104">orphaned</a>, 
and it was in a 
<a href="http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=apt-listbugs">
bad shape</a>, including an 
<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323626">RC bug</a> 
that makes it virtually useless at the moment, not showing some bugs, and
showing ones that were closed long ago.
</p>

<p>
I then started work on the package, fixing all of the easy bugs while I got
used to coding in Ruby. I put my patches in to the BTS, mainly so that I could
tag the bug +patch, and it would be displayed differently, so that I could see
which bugs still need working on. I kept the package locally in svn, and by
the end had a <a href="http://jameswestby.net/debian/">package that fixed 
around 25 open bugs in the BTS.</a>. My plan was to seek a QA upload of the 
package, as I didn't want to become the maintainer.
</p>

<p>
Unfortuantely the package that I had didn't tackle the RC bug. This is because
the index files that apt-listbugs uses to get the status of bugs appeared to
be wrong or out of date. These files live on a non-Debian server, so the DDs
who had looked at the bug could not instantly see what was going on. There
were proposals to move the files to a Debian machine, but this had not
happened. Without access to the generation of these index files it was 
impossible to debug where the problem was coming from. 
</p>

<p>
Then another person stepped up to adopt apt-listbugs. This was good as it
seemed that he was in contact with a DD that could work out where the problem
was, and was apparently rewriting the scripts to be more reliable. I was
hopeful that the problem would be fixed soon.
</p>

<p>
However one problem was that the prospective maintainer said that he did not
want to use my packages as a base for his work, he would pull my patches out
of the BTS. In a way this is fine, and it is his choice, but at the same time
it is annoying as some of my work might go to waste. Not only did I make the
patches that ended up in the BTS, I did several more things that didn't have
an associated bug report. 
</p>

<p>
The other problem appears to be that there has been no further activity in the
BTS for apt-listbugs since the O became ITA. I'm not sure how the prospective
maintainer works, but I would have thought he would triage the new bugs, and
send some thoughts or questions to old bugs as he is working on them. There
has also been no activity on the RC bug, giving the process for interested
parties, or those that are looking to squash RC bugs in preparation for etch.
I understand that the DD doing this part is probably very busy though.
</p>

<p>
There is no way in which apt-listbugs can enter a stable release in its
current state, as it is worse that useless, continually giving false
positives. Hopefully all of this can be sorted out soon.
</p>


]]></description>
   <category domain="http://jameswestby.net/weblog"></category>
   <pubDate>Sun, 06 Aug 2006 09:29 GMT</pubDate>
</item>
</channel>
</rss>
