summaryrefslogtreecommitdiff
path: root/net/samba420
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba420')
-rw-r--r--net/samba420/Makefile8
-rw-r--r--net/samba420/files/README.FreeBSD.in10
2 files changed, 12 insertions, 6 deletions
diff --git a/net/samba420/Makefile b/net/samba420/Makefile
index 42e525f6bb3f..6d6c72c1f552 100644
--- a/net/samba420/Makefile
+++ b/net/samba420/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ${SAMBA4_BASENAME}420
PORTVERSION= ${SAMBA4_VERSION}
-PORTREVISION= 7
+PORTREVISION= 9
CATEGORIES?= net
MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
@@ -368,6 +368,12 @@ GPGME_CONFIGURE_WITH= gpgme
GPGME_LIB_DEPENDS= libgpgme.so:security/gpgme
GPGME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gpg>=2.0.0:security/py-gpg@${PY_FLAVOR}
+.if exists(/usr/libexec/krb5kdc)
+GSSAPI_BUILTIN_USES= gssapi
+GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \
+ --with-system-mitkdc=${GSSAPIBASEDIR}/libexec/krb5kdc
+.endif
+
GSSAPI_BUILTIN_BUILD_DEPENDS= p5-JSON>=4.0:converters/p5-JSON
GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \
diff --git a/net/samba420/files/README.FreeBSD.in b/net/samba420/files/README.FreeBSD.in
index 9ab4faaeef80..d89cfe72b143 100644
--- a/net/samba420/files/README.FreeBSD.in
+++ b/net/samba420/files/README.FreeBSD.in
@@ -54,11 +54,11 @@ content of the '/var/db/samba/' directory.
# samba-tool domain classicupgrade
-%%AC_DC%%1c. You will need to specify location of the 'nsupdate' command in the
-%%AC_DC%%'%%SAMBA4_CONFIG%%' file:
-%%AC_DC%%
-%%AC_DC%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
-%%AC_DC%%
+%%AD_DC%%1c. You will need to specify location of the 'nsupdate' command in the
+%%AD_DC%%'%%SAMBA4_CONFIG%%' file:
+%%AD_DC%%
+%%AD_DC%% nsupdate command = %%PREFIX%%/bin/samba-nsupdate -g
+%%AD_DC%%
2. Put string 'samba_server_enable="YES"' into your /etc/rc.conf.
3. Make sure that your server doesn't run Samba3, OpenLDAP and named.