Proposal to remove zlib from the Samba tree.

Jelmer Vernooij jelmer at samba.org
Mon Jun 30 09:24:42 MDT 2014


On Mon, Jun 30, 2014 at 05:15:13PM +0200, Stefan (metze) Metzmacher wrote:
> Am 30.06.2014 16:46, schrieb John P Janosik:
> >> 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.
> >>
> > 
> > AIX does not ship with zlib and IBM does not provide a supported/recent 
> > zlib package for download.  We use Samba as file server only and our Samba 
> > 4.1.X builds are using the Samba zlib.
> > 
> >> 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. 
> 
> I'd just update our copy of zlib. That should be much less work
> than trying to make it optional.
I concur. If we're not going to make it mandatory, then let's just update
the current copy (is it outdated?).

There is not much advantage in removing the bundled copy, especially since
we already use the system zlib if it is available (like it is on
almost any Linux system).

CHeers,

Jelmer


More information about the samba-technical mailing list