reducing the dependecies to ctdb headers

Michael Adam obnox at samba.org
Mon Mar 24 10:10:35 MDT 2014


On 2014-03-04 at 12:43 +0100, Stefan (metze) Metzmacher wrote:
> Am 20.02.2014 10:20, schrieb Stefan (metze) Metzmacher:
> > Am 08.10.2013 16:14, schrieb Stefan (metze) Metzmacher:
> >> Hi,
> >>
> >> I've created some patches which reduce the usage of
> >> ctdb headers and the related defines to the ctdb related .c files.
> >>
> >> All files related to a specific ctdb version are bundled into
> >> a libsamba3-ctdb-client.so, which is replaceable at runtime.
> >>
> >> Packagers could do something like.
> >>
> >> ./configure --with-ctdb-dir=$(pwd)/ctdb-1.0.114.5 --enable-old-ctdb
> >> make -j
> >> make -j install
> >> mv libsamba3-ctdb-client.so libsamba3-ctdb-client.so-1.0.114
> >> ./configure --with-ctdb-dir=$(pwd)/ctdb-2.0 --enable-old-ctdb
> >> make -j
> >> make -j install
> >> mv libsamba3-ctdb-client.so libsamba3-ctdb-client.so-2.0
> >>
> >> This will only rebuild the .c files from samba3-ctdb-client
> >> and allows alternative packages for libsamba3-ctdb-client.so
> >> depending on the installed ctdb version.
> >>
> >> I haven't done any runtime tests, so please don't push it yet.
> > 
> > Here's an updated patchset for master, the library is now called
> > libsamba-cluster-support.so.
> 
> Here's my current version.
> 
> metze

Pushed to autobuild.

Cheers - Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 215 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140324/fcca194c/attachment.pgp>


More information about the samba-technical mailing list