reducing the dependecies to ctdb headers

Christopher R. Hertel crh at samba.org
Tue Oct 8 08:43:01 MDT 2013


Jose and I will take testing of these patches as a ToDo.

Thanks!

Chris -)-----

On 10/08/2013 09:14 AM, Stefan (metze) Metzmacher wrote:
> 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.
> 
> metze
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the samba-technical mailing list