diff options
Diffstat (limited to 'net/samba419')
-rw-r--r-- | net/samba419/Makefile | 9 | ||||
-rw-r--r-- | net/samba419/files/README.FreeBSD.in | 10 |
2 files changed, 13 insertions, 6 deletions
diff --git a/net/samba419/Makefile b/net/samba419/Makefile index f79f2b7c5376..8fccbcb263b5 100644 --- a/net/samba419/Makefile +++ b/net/samba419/Makefile @@ -1,6 +1,6 @@ PORTNAME= ${SAMBA4_BASENAME}419 PORTVERSION= ${SAMBA4_VERSION} -PORTREVISION= 9 +PORTREVISION= 11 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} @@ -366,8 +366,15 @@ 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= bison gssapi +GSSAPI_BUILTIN_BUILD_DEPENDS= p5-JSON>=4.0:converters/p5-JSON +GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \ + --with-system-mitkdc=${GSSAPIBASEDIR}/libexec/krb5kdc +.else GSSAPI_BUILTIN_USES= bison GSSAPI_BUILTIN_BUILD_DEPENDS= p5-JSON>=4.0:converters/p5-JSON +.endif GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \ --with-system-mitkdc=${GSSAPIBASEDIR}/sbin/krb5kdc \ diff --git a/net/samba419/files/README.FreeBSD.in b/net/samba419/files/README.FreeBSD.in index 9ab4faaeef80..d89cfe72b143 100644 --- a/net/samba419/files/README.FreeBSD.in +++ b/net/samba419/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. |