samba4: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 2 Mar 2014 12:42:18 +0000 (09:42 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 2 Mar 2014 14:20:47 +0000 (15:20 +0100)
commitdee1cf0cdf9db351fd94ccd864e09b3f1ec122f9
tree78cf606cff57a0b5180a60fb8e20dc3a050b0586
parent80ad06e51c24199e15614a6a7c89e06c7fca44c6
samba4: new package

Samba 4.1.x uses the waf build system which isn't very cross-compile
friendly, and also some tests are formulated in a way that isn't
cross-build friendly either by needing to run them.

For this reason the samba4 build system includes a way to define
answers for many of the tests, but this support isn't complete
and some tests still want to be executed.

Samba 4.1.x also requires a proper answers file for each architecture,
and at the moment i've only tested for ARM and PowerPC so only those
architectures are supported to begin with. To add support for another
architecture basically copy one of the cache files to the proper name,
enable it in Config.in and adjust endianess and all of the "size of"
answers. I'm in the process of automating the sizeof and endianess
answers within the samba build system to make them cross friendly
to simplify the answers file to just one generic linux variant.
The 3.6.x branch is still security supported for the forseeable future.

I'm currently working with samba upstream to solve many of these
issues but this will probably happen with the yet unreleased
4.2 branch only.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/samba4/Config.in [new file with mode: 0644]
package/samba4/S91smb [new file with mode: 0644]
package/samba4/arm-cache.txt [new file with mode: 0644]
package/samba4/powerpc-cache.txt [new file with mode: 0644]
package/samba4/samba4-0001-build-don-t-execute-tests-summary.c.patch [new file with mode: 0644]
package/samba4/samba4-0002-build-don-t-execute-statfs-and-f_fsid-checks.patch [new file with mode: 0644]
package/samba4/samba4-0003-build-find-FILE_OFFSET_BITS-via-array.patch [new file with mode: 0644]
package/samba4/samba4-0004-build-allow-some-python-variable-overrides.patch [new file with mode: 0644]
package/samba4/samba4-0005-builtin-heimdal-external-tools.patch [new file with mode: 0644]
package/samba4/samba4.mk [new file with mode: 0644]