package/samba4: add required python deps for AD DC support

Needed due to upstream commit:
2420b7c6d2

Fixes:
http://autobuild.buildroot.net/results/12a/12a74665a2349eacb28c3035bb36a4dce1d740d1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0025d931f3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2021-04-04 18:58:23 +02:00 committed by Peter Korsgaard
parent 54227869c7
commit a26f6b8f90
2 changed files with 11 additions and 1 deletions

View File

@ -32,6 +32,8 @@ config BR2_PACKAGE_SAMBA4_AD_DC
bool "AD DC"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_PYTHON_DNSPYTHON
select BR2_PACKAGE_PYTHON_MARKDOWN
select BR2_PACKAGE_SAMBA4_ADS
help
Enable Active Directory Domain Controller functionality.

View File

@ -149,7 +149,15 @@ define SAMBA4_INSTALL_TARGET_CMDS
endef
ifeq ($(BR2_PACKAGE_SAMBA4_AD_DC),y)
SAMBA4_DEPENDENCIES += jansson
# host-python-dnspython and host-python-markdown are not strictly
# needed on the host, but on the target. however, samba's configure
# tests for their availability on the host.
SAMBA4_DEPENDENCIES += \
jansson \
host-python-dnspython \
host-python-markdown \
python-dnspython \
python-markdown
else
SAMBA4_CONF_OPTS += --without-ad-dc --without-json
endif