[syslog-ng] syslog-ng 2.1: upstream libdbi does NOT provide pkgconfig .pc file
Wolfram Schlich
lists at wolfram.schlich.org
Tue Oct 7 09:44:12 CEST 2008
* Balazs Scheidler <bazsi at balabit.hu> [2008-09-18 16:44]:
> On Thu, 2008-09-18 at 10:50 +0200, Wolfram Schlich wrote:
> > * Wolfram Schlich <lists at wolfram.schlich.org> [2008-09-18 10:46]:
> > > What other changes were made to the upstream libdbi
> > > to form the balabit version?
> >
> > $ diff -urN libdbi-0.8.2 libdbi8-0.8.2bb2 | wc -l
> > 93688
> > $
> >
> > ARGH! :(
> >
> > So this can be considered a fork.
> > The worst case scenario imagineable for the
> > open source community.
> >
> > Why oh why? Please enlighten us :)
>
> Most of it is probably the configure script. I'd be happy to clear out
> the libdbi pecularities wrt syslog-ng 2.1 as well.
>
> My patches have already been integrated in libdbi since, so it should be
> easy to port to the latest libdbi upstream.
>
> The things that we did in our version:
> * we renamed dbi to dbi-0.8 in order not to clash with a local libdbi
> package, this affected:
> * .deb packages
> * dbi-0.8.pc
> * various files the package installs /usr/lib/libdbd-0.8 for
> instance
> * currently the only things that prevents syslog-ng to be compiled
> against the upstream libdbi are:
> * we should search for dbi.pc instead of dbi-0.8.pc
> * the dbi package does not install the .pc file automatically (e.g.
> there's no Makefile rule to install that), nevertheless the file is
> generated by its configure script.
>
> This patch against syslog-ng will make it look for the upstream libdbi:
> [...]
> After that it should work.
Yep, it does. Thanks! Compiled fine against libdbi 0.8.3.
> Please note that we submitted a couple of patches against
> libdbi/libdbi-drivers, so make sure that you use the latest CVS version.
Hmm. What about 0.8.3, is it sufficient?!
Otherwise I'd have to create a CVS snapshot + ebuild for libdbi and
libdbi-drivers which I'd prefer not to do ;)
What were those patches about anyway? Performance?
Is syslog-ng SQL support kinda unusable/unstable without them?
Thanks again!
--
Regards,
Wolfram Schlich <wschlich at gentoo.org>
Gentoo Linux * http://dev.gentoo.org/~wschlich/
More information about the syslog-ng
mailing list