diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-08-16 17:43:51 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-08-17 03:50:40 +0000 |
commit | 2b7224ab7c555fdaacd0a84649b533e4edb377da (patch) | |
tree | 31eb4468eb5ac2f7b338c58907e6b2652ec56f62 /wscript | |
parent | 4be5ffdca620c38e65ca955039acbdcf72829c67 (diff) | |
download | samba-2b7224ab7c555fdaacd0a84649b533e4edb377da.tar.gz |
third_party: Remove zlib from third_party
We require zlib 1.2.3.
We stopped requring a patched zlib with 5631a1b9bc03d6cf31af66b13872255f18979fe8
As discussed on samba-technical here:
https://lists.samba.org/archive/samba-technical/2019-May/133476.html
In short, zlib contains some (old, now broken) crypto code that while not compiled
in Samba is best left out of our tarball to ease crypto audits. It is also very
very out of date and is a slightly modified copy of something otherwise very
likely available on our supported host OSs. It would be strange to say that
GnuTLS and dependencies are an acceptable burden to install but say zlib is
a step to far.
So it is removed from Samba's third_party with this commit.
The diff between zlib in Samba and official zlib 1.2.3 is included
in third_party/zlib/last-samba-from-1.2.3.diff
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -167,13 +167,14 @@ def configure(conf): conf.RECURSE('dynconfig') conf.RECURSE('selftest') + conf.CHECK_CFG(package='zlib', minversion='1.2.3', + args='--cflags --libs', + msg='Checking for zlib', mandetory=True) + conf.CHECK_FUNCS_IN('inflateInit2', 'z') + if conf.CHECK_FOR_THIRD_PARTY(): conf.RECURSE('third_party') else: - if not conf.CHECK_ZLIB(): - raise Errors.WafError('zlib development packages have not been found.\nIf third_party is installed, check that it is in the proper place.') - else: - conf.define('USING_SYSTEM_ZLIB',1) if not conf.CHECK_POPT(): raise Errors.WafError('popt development packages have not been found.\nIf third_party is installed, check that it is in the proper place.') |