Proposal to remove zlib from the Samba tree.
jelmer at samba.org
Sun Jun 29 09:48:49 MDT 2014
On Sun, Jun 29, 2014 at 05:14:01PM +0200, Julien Kerihuel wrote:
> On 29/06/14 10:19, Andrew Bartlett wrote:
> > On Sat, 2014-06-28 at 08:37 +0100, jelmer at samba.org wrote:
> >> I like the idea of removing it and always using the system zlib.
> >> Please make sure that the build farm hosts all have zlib installed in a way that Samba can use it.
> > It would be very useful to know what systems don't have (and can't
> > reasonably get) the needed version of zlib on them, to understand the
> > best approach here.
> > While zlib is 'only' needed for NDR_COMPRESSION, that is in turn used
> > for DRSUAPI, which is used in the source3 client as part of net rpc
> > samsync, so it isn't easily made an optional dependency.
> It is also intensively used in openchange server and mapiproxy to
> decompress MAPI buffers in Outlook client requests. If the dependency is
> made optional, then we are going to make the life of users building the
> samba+openchange stack from sources more difficult while we are aiming
> at smooth, nice and out of the box integration with samba.
> Moving further, maybe I got it wrong, but I presume such change would
> also be propagated to samba packaged versions in Linux distributions and
> would be the responsibility of the packager to decide whether or not he
> wants to ship a samba package with or without zlib dependency. Therefore
> we wouldn't be able to guarantee any longer openchange shall build/work
> with one given distribution/version.
I doubt this will be an issue. zlib is installed by default on
pretty much all Linux distributions as almost everything uses it one
way or another.
Most Samba packages will have an explicit zlib dependency already if
they want to avoid linking in the bundled version of zlib.
It will be more of an issue for those wanting to run Samba AD or
OpenChange on non-Linux/BSD platforms without a proper package manager.
Jelmer Vernooij <jelmer at openchange.org> - https://jelmer.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the samba-technical