[SOLVED] [PATCH] Re: Kolab2 Postfix build does not recognize NetBSD 3 (improve postfix.patch)

Bernhard Reiter bernhard at intevation.de
Thu Jan 5 12:21:43 CET 2006


Am Mittwoch, 4. Januar 2006 17:04 schrieb Raphael Langerhorst:
> Am Mittwoch 04 Januar 2006 12:01 schrieb Bernhard Reiter:
> > Am Dienstag, 3. Januar 2006 21:58 schrieb Raphael Langerhorst:
> > > Am Dienstag 03 Januar 2006 17:52 schrieb Bernhard Reiter:
> > > > thanks for the report.
> > > > Can you open an issue for this and add a patch for the Kolab Server?

> > The Kolab Server packages released by the Kolab Projekt so far
> > are based on www.OpenPKG.org, they have documentation,
> > which might include how to handle their rpms.
> >
> > In general in a Kolab Server installation you have
> > /kolab/bin/openpkg rpm
> > /kolab/bin/openpkg rpmbuild
> > /kolab/bin/openpkg man rpm
> >
> > To install a source package /kolab/bin/openpkg rpm --install
> > xxxxxx.src.rpm /kolab/bin/openpkg rpmbuild -bX  spec.file
> > on the unpacked sources, is your friend.
> > (With X having different values, see the manpage.)
> > There is a lot of RPM related information around.

Ah yes, of course do not forget the option that are set in obmtool.conf!

> these instructions were sufficient, thanks a lot.

Ah great!

> I have now prepared a working patch that recognizes (additionally) NetBSD 3
> and NetBSD 4 (note: netbsd 4 is not yet available, but in development, it's
> like detecting FreeBSD 7 which is also not available yet).
>
> Anyway, here we go:
>
> Attached are two patches, one for Kolab 2.0.1 and the other for the
> December snapshot of Kolab 2.1 the instructions apply for both patches
> alike.

Best would be to create an issue with our Tracker 
and attach the patches there.
Give them topic "server" and  "patch"!

>
> The postfix-2.2.3-2.4.1_kolab.src.rpm includes an existing patch called
> "postfix.patch". The attached patch REPLACES this patch. To build a patched
> postifx source rpm:
>
> $ /kolab/bin/openpkg rpm --install postfix-2.2.3-2.4.1_kolab.src.rpm
> $ cd /kolab/RPM/SRC/postfix
> $ cp /full/path/to/postfix.patch__kolab2.0.1 ./postfix.patch
> $ /kolab/bin/openpkg rpmbuild -bs postfix.spec
>
> The resulting source rpm with the new patch is written to:
> /kolab/RPM/PKG/postfix-2.2.3-2.4.1_kolab.src.rpm
>
> You can grab it from there and reinstall it into an existing kolab2
> installation with:
> $ /kolab/bin/openpkg rpm --install postfix-2.2.3-2.4.1_kolab.src.rpm
>
>
> Both patches are tested to work, at least they "install" on a NetBSD 3.0
> installation. From the changes I made though there is hardly any chance to
> "break" functionality.
>
>
> Please include this patch into any further release (2.0.2 and/or 2.1.0).
> Please confirm.
>
>
> Thank you very much,
> Raphael
>
>
> PS: I still have issues installing the cyrus imapd package of Kolab 2.0.1
> with the options set by obmtool.conf, it does install without any options
> though, but that's not ... "supported" by the kolab project (and doesn't
> work on first glance). That's a note so you do not expect Kolab 2.0.1 to
> build perfectly fine on NetBSD 3 _just_ with this patch. For a BSD based
> production system I still heavily recommend FreeBSD 5.4 (or 6, but 6.0 I
> haven't tested)
>
>
> PPS: I did find out about OpenBSD 3.8: the OpenPKG base system does not
> correctly bootstrap, and yes I DID send the logfile to the OpenPKG people,
> so I hope they fix it... soon enough.




More information about the users mailing list