reducing the dependecies to ctdb headers

Stefan (metze) Metzmacher metze at samba.org
Tue Mar 4 04:43:21 MST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-diff
Size: 55059 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140304/9cc88342/attachment-0001.diff>


More information about the samba-technical mailing list