xref: /OK3568_Linux_fs/buildroot/package/samba4/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "samba4 needs a uClibc or glibc toolchain w/ wchar, dynamic library, NPTL"
2	depends on BR2_TOOLCHAIN_HAS_SYNC_4
3	depends on !BR2_USE_WCHAR || BR2_TOOLCHAIN_USES_MUSL \
4		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
5	depends on BR2_USE_MMU
6
7config BR2_PACKAGE_SAMBA4
8	bool "samba4"
9	depends on BR2_USE_MMU # fork()
10	depends on BR2_USE_WCHAR # python
11	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # python -> libffi
12	depends on !BR2_STATIC_LIBS # cmocka, python, gnutls
13	depends on !BR2_nios2 # binary too large, relocations don't fit
14	depends on BR2_TOOLCHAIN_HAS_SYNC_4
15	depends on !BR2_TOOLCHAIN_USES_MUSL
16	select BR2_PACKAGE_CMOCKA
17	select BR2_PACKAGE_E2FSPROGS
18	select BR2_PACKAGE_GNUTLS
19	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
20	select BR2_PACKAGE_POPT
21	select BR2_PACKAGE_ZLIB
22	help
23	  Provides secure, stable and fast file and print services
24	  for all clients using the SMB/CIFS protocol, such as all
25	  versions of DOS, Windows, OS/2, Linux and many others.
26
27	  http://www.samba.org/
28
29if BR2_PACKAGE_SAMBA4
30
31config BR2_PACKAGE_SAMBA4_AD_DC
32	bool "AD DC"
33	depends on BR2_PACKAGE_PYTHON3
34	select BR2_PACKAGE_JANSSON
35	select BR2_PACKAGE_PYTHON_DNSPYTHON
36	select BR2_PACKAGE_PYTHON_MARKDOWN
37	select BR2_PACKAGE_SAMBA4_ADS
38	help
39	  Enable Active Directory Domain Controller functionality.
40
41comment "AD DC depends on python3"
42	depends on !BR2_PACKAGE_PYTHON3
43
44config BR2_PACKAGE_SAMBA4_ADS
45	bool "ADS"
46	select BR2_PACKAGE_OPENLDAP
47	help
48	  Enable Active Directory member Server functionality.
49
50config BR2_PACKAGE_SAMBA4_SMBTORTURE
51	bool "smbtorture"
52	help
53	  Install the smbtorture test suite.
54	  It's normally used for validation and stress testing.
55	  Approximately +5 MB of stripped uncompressed target space.
56
57endif
58