summaryrefslogtreecommitdiff
path: root/package/samba4/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-03-02 09:42:18 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-02 15:20:47 +0100
commitdee1cf0cdf9db351fd94ccd864e09b3f1ec122f9 (patch)
tree78cf606cff57a0b5180a60fb8e20dc3a050b0586 /package/samba4/Config.in
parent80ad06e51c24199e15614a6a7c89e06c7fca44c6 (diff)
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>
Diffstat (limited to 'package/samba4/Config.in')
-rw-r--r--package/samba4/Config.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/samba4/Config.in b/package/samba4/Config.in
new file mode 100644
index 000000000..b8d4154cc
--- /dev/null
+++ b/package/samba4/Config.in
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_SAMBA4
+ bool "samba4"
+ depends on !BR2_PACKAGE_SAMBA
+ depends on BR2_INET_IPV6
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_WCHAR # e2fsprogs
+ depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
+ # Supported architectures only limited by the cached answers
+ depends on BR2_arm || BR2_powerpc
+ select BR2_PACKAGE_E2FSPROGS
+ select BR2_PACKAGE_POPT
+ select BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_ZLIB
+ help
+ Provides secure, stable and fast file and print services
+ for all clients using the SMB/CIFS protocol, such as all
+ versions of DOS, Windows, OS/2, Linux and many others.
+
+ http://www.samba.org/
+
+comment "samba4 needs a toolchain w/ IPv6, wchar, largfile, threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || \
+ !BR2_USE_WCHAR || !BR2_INET_IPV6