From owner-svn-ports-head@freebsd.org Wed Nov 28 00:38:24 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE6111141533; Wed, 28 Nov 2018 00:38:24 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51CDE76A8B; Wed, 28 Nov 2018 00:38:24 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 341C022E07; Wed, 28 Nov 2018 00:38:24 +0000 (UTC) (envelope-from timur@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAS0cO6V089155; Wed, 28 Nov 2018 00:38:24 GMT (envelope-from timur@FreeBSD.org) Received: (from timur@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAS0cNrt089153; Wed, 28 Nov 2018 00:38:23 GMT (envelope-from timur@FreeBSD.org) Message-Id: <201811280038.wAS0cNrt089153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: timur set sender to timur@FreeBSD.org using -f From: "Timur I. Bakeyev" Date: Wed, 28 Nov 2018 00:38:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486075 - in head/net/samba48: . files X-SVN-Group: ports-head X-SVN-Commit-Author: timur X-SVN-Commit-Paths: in head/net/samba48: . files X-SVN-Commit-Revision: 486075 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 51CDE76A8B X-Spamd-Result: default: False [0.88 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.51)[0.511,0]; NEURAL_SPAM_SHORT(0.01)[0.009,0]; NEURAL_SPAM_MEDIUM(0.36)[0.364,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2018 00:38:24 -0000 Author: timur Date: Wed Nov 28 00:38:23 2018 New Revision: 486075 URL: https://svnweb.freebsd.org/changeset/ports/486075 Log: Add missing command line switch to enable MIT Kerberos build. Modified: head/net/samba48/Makefile head/net/samba48/files/patch-source3__wscript Modified: head/net/samba48/Makefile ============================================================================== --- head/net/samba48/Makefile Wed Nov 28 00:06:34 2018 (r486074) +++ head/net/samba48/Makefile Wed Nov 28 00:38:23 2018 (r486075) @@ -156,14 +156,14 @@ SAMBA4_BUNDLED_LIBS+= !libarchive BUILD_DEPENDS+= libarchive>=3.1.2:archivers/libarchive RUN_DEPENDS+= libarchive>=3.1.2:archivers/libarchive ### Bundled libraries -#SAMBA4_BUNDLED_CMOCKA?= no -#SAMBA4_BUNDLED_TALLOC?= no -#SAMBA4_BUNDLED_TEVENT?= no -#SAMBA4_BUNDLED_TDB?= no -#SAMBA4_BUNDLED_LDB?= yes -#SAMBA4_LDB= 13 +SAMBA4_BUNDLED_CMOCKA?= no +SAMBA4_BUNDLED_TALLOC?= no +SAMBA4_BUNDLED_TEVENT?= no +SAMBA4_BUNDLED_TDB?= no +SAMBA4_BUNDLED_LDB?= yes +SAMBA4_LDB= 13 # cmocka -.if defined(SAMBA4_BUNDLED_CMOCKA) +.if defined(SAMBA4_BUNDLED_CMOCKA) && ${SAMBA4_BUNDLED_CMOCKA} == yes SAMBA4_BUNDLED_LIBS+= cmocka CONFLICTS+= cmocka-1.* PLIST_SUB+= SAMBA4_BUNDLED_CMOCKA="" @@ -176,7 +176,7 @@ PLIST_SUB+= SAMBA4_BUNDLED_CMOCKA="@comment " SUB_LIST+= SAMBA4_BUNDLED_CMOCKA="@comment " .endif # talloc -.if defined(SAMBA4_BUNDLED_TALLOC) +.if defined(SAMBA4_BUNDLED_TALLOC) && ${SAMBA4_BUNDLED_TALLOC} == yes SAMBA4_BUNDLED_LIBS+= talloc CONFLICTS+= talloc-2.* PLIST_SUB+= SAMBA4_BUNDLED_TALLOC="" @@ -189,7 +189,7 @@ PLIST_SUB+= SAMBA4_BUNDLED_TALLOC="@comment " SUB_LIST+= SAMBA4_BUNDLED_TALLOC="@comment " .endif # tevent -.if defined(SAMBA4_BUNDLED_TEVENT) +.if defined(SAMBA4_BUNDLED_TEVENT) && ${SAMBA4_BUNDLED_TEVENT} == yes SAMBA4_BUNDLED_LIBS+= tevent CONFLICTS+= tevent-0.* PLIST_SUB+= SAMBA4_BUNDLED_TEVENT="" @@ -202,7 +202,7 @@ PLIST_SUB+= SAMBA4_BUNDLED_TEVENT="@comment " SUB_LIST+= SAMBA4_BUNDLED_TEVENT="@comment " .endif # tdb -.if defined(SAMBA4_BUNDLED_TDB) +.if defined(SAMBA4_BUNDLED_TDB) && ${SAMBA4_BUNDLED_TDB} == yes SAMBA4_BUNDLED_LIBS+= tdb CONFLICTS+= tdb-1.* PLIST_SUB+= SAMBA4_BUNDLED_TDB="" @@ -215,7 +215,7 @@ PLIST_SUB+= SAMBA4_BUNDLED_TDB="@comment " SUB_LIST+= SAMBA4_BUNDLED_TDB="@comment " .endif # ldb -.if defined(SAMBA4_BUNDLED_LDB) || !defined(SAMBA4_LDB) +.if (defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes) || !defined(SAMBA4_LDB) SAMBA4_BUNDLED_LDB= yes SAMBA4_BUNDLED_LIBS+= ldb CONFLICTS+= ldb-1.* ldb1[23]-1.* @@ -237,7 +237,9 @@ PLIST_SUB+= SAMBA4_BUNDLED_LDB="@comment " SUB_LIST+= SAMBA4_BUNDLED_LDB="@comment " .endif -.if defined(SAMBA4_BUNDLED_TALLOC) || defined(SAMBA4_BUNDLED_TEVENT) || defined(SAMBA4_BUNDLED_TDB) +.if (defined(SAMBA4_BUNDLED_TALLOC) && ${SAMBA4_BUNDLED_TEVENT} == yes) \ + || (defined(SAMBA4_BUNDLED_TDB) && ${SAMBA4_BUNDLED_TDB} == yes) \ + || (defined(SAMBA4_BUNDLED_TEVENT) && ${SAMBA4_BUNDLED_TEVENT} == yes) SAMBA4_BUNDLED_LIBS+= replace .endif # Don't use external libcom_err @@ -342,7 +344,8 @@ LDAP_USE= OPENLDAP=yes LDAP_VARS= SAMBA4_MODULES+=idmap_ldap GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \ - --with-system-mitkdc=${GSSAPIBASEDIR}/sbin/krb5kdc + --with-system-mitkdc=${GSSAPIBASEDIR}/sbin/krb5kdc \ + --with-experimental-mit-ad-dc GSSAPI_MIT_USES= gssapi:mit LIBZFS_CONFIGURE_WITH= libzfs Modified: head/net/samba48/files/patch-source3__wscript ============================================================================== --- head/net/samba48/files/patch-source3__wscript Wed Nov 28 00:06:34 2018 (r486074) +++ head/net/samba48/files/patch-source3__wscript Wed Nov 28 00:38:23 2018 (r486075) @@ -1,5 +1,5 @@ ---- source3/wscript.orig 2018-06-26 16:42:46.000000000 +0200 -+++ source3/wscript 2018-08-07 20:55:38.331688000 +0200 +--- source3/wscript.orig 2018-06-26 18:42:46 UTC ++++ source3/wscript @@ -47,6 +47,7 @@ def set_options(opt): opt.SAMBA3_ADD_OPTION('sendfile-support') opt.SAMBA3_ADD_OPTION('utmp')