May 2008

Posted by stylesen

For Subversion:

../configure --prefix=/home/stylesen/subversion-dev/builds/pure-trunk-neon\ --enable-maintainer-mode --with-ssl --with-neon=/usr/local/neon-0.xx.x \ --with-apxs=/usr/bin/apxs2 --disable-mod-activation \ --with-jdk=/usr/lib/jvm/java-6-openjdk --enable-javahl \ --with-junit=/usr/share/java/junit-3.8.1.1.jar \ --with-sqlite=/usr/local/sqlite-3.5.9 --with-apr=/usr/local/apr-1.3.3 \ --with-apr-util=/usr/local/apr-util-1.3.4

For apache:

./configure --prefix=/usr/local/httpd-2.2.9 --enable-ssl --enable-dav=shared\ --enable-dav-fs=shared --enable-dav-lock=shared --enable-rewrite=shared \ --with-apr=/usr/local/apr-1.3.3 --with-apr-util=/usr/local/apr-util-1.3.4

For BDB:

Posted by stylesen
In Debian it is sometimes possible to have different alternatives for the same program. One such is 'java'. We have the GNU gcj and Sun provided java compilers available in Debian etch. I had the following java installed in my box as default
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I wanted to switch to Sun provided java version.
Posted by stylesen

I hit this problem when I was adding code to support storing encrypted passphrases in gnome-keyring for subversion. When we add a new key to the default keyring we are prompted for a password for locking/unlocking the default keyring. Sometimes I forget the password which I gave to this default keyring, which prevents me from viewing the default keyring and the keys associated with them, using the gnome-keyring-manager.

I found out that these encrypted passwords all those associated information about the keyrings are stored in the file '~/.gnome2/keyrings/default.keyring' in Debian based distros.

Posted by stylesen
This document explains the step by step procedure in configuring SSL based apache server (https) which servers subversion repositories and authenticates the clients using a PKCS#12 (http://www.rsa.com/rsalabs/node.asp?id=2138) based certificate provided by the client, when challenged by the server.

Components required

- apache 2.0 or greater - openssl 0.9 or greater

Compiling apache

 ./configure --prefix=/usr/local/httpd-2.2.9 --enable-ssl
 --enable-dav=shared --enable-dav-fs=shared --enable-dav-lock=shared
 --enable-rewrite=shared

Create certificate authority