Debian 389 Directory Server Packaging

Infrastructure

Interacting with the team

Usual roles

Task description

This team aims at collaboratively package the 389 Directory Server (http://directory.fedoraproject.org) in Debian.

Get involved

Packages hierarchy

Git repositories

The packaging is maintained in git on alioth (pkg-fedora-ds).

OBSOLETE information:

Update the above and remove from below as applicable.

Get the packages

The simplest way to play with the current packages is to add the following URI to your /etc/apt/sources.list file:

deb http://acksyn.org/debian sid main

The packages are compiled for amd64 and i386 for sid. A simple apt-get install dirsrv will install the 389 Directory Server.

To install the Admin server launch apt-get install dirsrv-admin

More stuff

We're using svn-buildpackage and most packages are in our subversion repository in alioth (pkg-fedora-ds)

Note: The svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/<component> steps can also be done without a <username> by using the form svn co svn://svn.debian.org/svn/pkg-fedora-ds/<component>

The svn-buildpackage steps will likely fail at first, complaining about unmet build dependencies. Simply install the requested packages and retry the svn-buildpackage step.

Building the Directory Server

  1. svrcore

    • $ svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/svrcore

    • $ cd svrcore/trunk

    • $ svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

  2. mozilla-ldap-sdk

    • $ svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/mozilla-ldap-sdk

    • $ cd mozilla-ldap-sdk/trunk

    • $ svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

  3. libmozilla-ldap-perl

    • $ svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/libmozilla-ldap-perl

    • $ cd libmozilla-ldap-perl/trunk

    • $ svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

  4. 389-ds-base

    • svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/fedora-directory-server

    • cd fedora-directory-server/trunk

    • svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

Building the LDAP Console

TODO

Building the Admin Server

  1. libapache2-mod-nss

    • $ svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/libapache2-mod-nss

    • $ cd libapache2-mod-nss/trunk

    • $ svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

  2. 389-adminutil

    • $ svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/389-adminutil

    • $ cd 389-adminutil/trunk

    • $ svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc

  3. 389-admin

    • svn co svn+ssh://<username>@svn.debian.org/svn/pkg-fedora-ds/389-admin

    • cd 389-admin/trunk

    • svn-buildpackage --svn-download-orig -us -uc -rfakeroot -tc