net/samba422: Make ADS option imply LDAP option
If ADS option is on and LDAP option is off, build fails at configure phase as below. need ber_sockbuf_add_io() and LDAP_OPT_SOCKBUF for SASL and TLS support Active Directory support not available: LDAP support is not available. Active Directory support not found. Use --without-ads for building without Active Directory support. ADS support improves communication with Active Directory domain controllers. (complete log in /wrkdirs/usr/ports/net/samba422/work/samba-4.22.3/bin/config.log) ===> Script "configure" failed unexpectedly. Please report the problem to samba@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/net/samba422/work/samba-4.22.3/bin/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/net/samba422 As is explained in error message, active directory support requires ldap support. So make ADS option imply LDAP option to avoid such options setting. Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D53298
This commit is contained in:
@@ -338,6 +338,7 @@ AD_DC_BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7:textproc/py-markdo
|
||||
AD_DC_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}markdown>=3.3.7:textproc/py-markdown@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dnspython>=2.2.1:dns/py-dnspython@${PY_FLAVOR}
|
||||
|
||||
ADS_IMPLIES= LDAP
|
||||
ADS_CONFIGURE_WITH= ads
|
||||
|
||||
CLUSTER_CONFIGURE_WITH= cluster-support
|
||||
|
||||
Reference in New Issue
Block a user