building mod_auth_openid for debian etch

Today (Wed, 01 Aug 2007 02:16:56 -0400), inspired by the efforts of Jamie McClelland of May First/People Link, I backported a couple packages from lenny/sid to debian etch in order to try to run mod_auth_openid with apache2.

I've included the backported packages (for i386 architecture) here, as well as the binary module for apache2 on the i386 architecture. I'm also publishing the -dev packages from the supporting libraries, which you might want to use should you try to build mod_auth_openid yourself.

I'm assuming that you're already running apache2 on a debian etch system. To do the basic installation, i think you need to take the following steps:

  1. install the two regular deb packages here (don't bother with the -dev packages),
  2. copy mod_auth_openid.so into /usr/lib/apache2/modules,
  3. copy auth_openid.load into /etc/apache2/mods-available,
  4. as root, run
    a2enmod auth_openid
  5. read the usage instructions for the module.
  6. as root, reload your apache configuration with:
    /etc/init.d/apache2 restart

NOTE: This is still experimental! be careful!

Also, i found that it doesn't seem to interact properly with mod_php5 for me, though it does look like it works for CGI executions. I reported this bug to the upstream authors.

The package is also potentially under preparation for debian, but is hung up because of the classic GPL/OpenSSL licensing conflict.