[Kolab-devel] Build Server for testing

Bernhard Herzog bh at intevation.de
Tue Apr 4 18:08:21 CEST 2006


Bernhard Reiter <bernhard at intevation.de> writes:

> Tt would be nice to document how to get to the OpenPKG based rpms,
> too.

FWIW, here's what I do when I create an OpenPKG RPMs from one of the
Kolab modules in CVS, e.g. kolabd.

1. Start with a system where Kolab is already installed from OpenPKG.
   You actually only need a subset of the kolab packages, but the
   easiest way is to start with a normal Kolab installation.

2. On that machine, checkout the server CVS repository in e.g. $CVS

3. Now do

      export PATH=/kolab/bin:$PATH 
      cd $CVS/kolabd
      make dist

   This will create (but not install) a binary and a source RPM:

      /kolab/RPM/PKG/kolabd-2.0.99-20060404.ix86-debian3.1-kolab.rpm
      /kolab/RPM/PKG/kolabd-2.0.99-20060404.src.rpm

   For some modules you need to specify the makefile explicitly:

      make -f Makefile.cvs


IIRC Steffen has recently worked on this procedure so that you should be
able to do a "make dist" in the toplevel directory.  I haven't tried it
so far though.

Also, some kolab RPMs (e.g. apache) are based on OpenPKG RPMs and the
build procedure will attempt to download the base RPM from
ftp.openpkg.org.  Most of those RPMs are only available after
registration with openpkg.org.


   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the devel mailing list