[Kolab-devel] Find out what to recompile in OpenPKG

Thomas Arendsen Hein thomas at intevation.de
Wed Oct 25 11:31:39 CEST 2006


* Bernhard Reiter <bernhard at intevation.de> [20061024 17:16]:
> A hint for developers helping with KolabServer/OpenPKG:
> 
> Sometimes when testing a new package, you need to recompile depending
> packages in OpenPKG. Because the versions Kolab Server uses
> do not have management code for this (as far as I know) and OpenPKG 
> links statically.
> 
> To find out which packages might depend, try:
> 
> /kolab/bin/openpkg rpm -q --whatrequires openldap
> sasl-2.1.21-2.5.0
> proftpd-1.3.0rc2-2.5.0
> postfix-2.2.5-2.5.0_kolab
> php-4.4.0-2.5.2_kolab
> apache-1.3.33-2.5.5_kolab
> kolabd-2.0.99-20060203
> imapd-2.2.12-2.5.0_kolab
> 
> Setting those to @trigger instead of @install in 
> obmtool.conf, makes the recompilation easier.

I asked Ralf S. Engelschall about this, he recommended using
"openpkg build". It recursively determines package dependencies.

Citing him:
| For instance, if you want to see what packages have to be
| rebuilt (and in which order) for a particular instance /foo if you
| update package "bar", run "/foo/bin/openpkg build -g bar".

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20061025/e939de15/attachment.sig>


More information about the devel mailing list