From owner-svn-ports-all@freebsd.org Mon Oct 8 17:15:57 2018 Return-Path: Delivered-To: svn-ports-all@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 2A89110C54D2; Mon, 8 Oct 2018 17:15:57 +0000 (UTC) (envelope-from dim@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 D3FE972F07; Mon, 8 Oct 2018 17:15:56 +0000 (UTC) (envelope-from dim@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 CE8C625817; Mon, 8 Oct 2018 17:15:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w98HFutY058867; Mon, 8 Oct 2018 17:15:56 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w98HFuIo058863; Mon, 8 Oct 2018 17:15:56 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201810081715.w98HFuIo058863@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Mon, 8 Oct 2018 17:15:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r481551 - in branches/2018Q4/net: samba46 samba46/files samba47 samba47/files X-SVN-Group: ports-branches X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in branches/2018Q4/net: samba46 samba46/files samba47 samba47/files X-SVN-Commit-Revision: 481551 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 17:15:57 -0000 Author: dim (src committer) Date: Mon Oct 8 17:15:55 2018 New Revision: 481551 URL: https://svnweb.freebsd.org/changeset/ports/481551 Log: MFH: r481463 Fix builds of net/samba46 and net/samba47 when using lld 7.0.0. With lld 7.0.0, the following error is emitted: ld: error: duplicate symbol 'pdb_search_init' in version script This is because the symbol version scripts generated by wscript_build contain both "pdb_search_init" in the global section, and "pdb_*_init" in the local section. Fix it by removing "pdb_*_init" from the local section. For net/samba48, this already got fixed, as a side effect of r478825. Approved by: ports-secteam (miwi) PR: 230602 Modified: branches/2018Q4/net/samba46/Makefile branches/2018Q4/net/samba46/files/patch-source3__wscript_build branches/2018Q4/net/samba47/Makefile branches/2018Q4/net/samba47/files/patch-source3__wscript_build Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/net/samba46/Makefile ============================================================================== --- branches/2018Q4/net/samba46/Makefile Mon Oct 8 16:45:44 2018 (r481550) +++ branches/2018Q4/net/samba46/Makefile Mon Oct 8 17:15:55 2018 (r481551) @@ -3,7 +3,7 @@ PORTNAME?= ${SAMBA4_BASENAME}46 PORTVERSION?= ${SAMBA4_VERSION} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} Modified: branches/2018Q4/net/samba46/files/patch-source3__wscript_build ============================================================================== --- branches/2018Q4/net/samba46/files/patch-source3__wscript_build Mon Oct 8 16:45:44 2018 (r481550) +++ branches/2018Q4/net/samba46/files/patch-source3__wscript_build Mon Oct 8 17:15:55 2018 (r481551) @@ -1,6 +1,14 @@ --- source3/wscript_build.orig 2017-05-23 08:19:23 UTC +++ source3/wscript_build -@@ -741,6 +741,7 @@ bld.SAMBA3_LIBRARY('smbd_base', +@@ -151,7 +151,6 @@ ldapsam_pdb_match = ['!priv2ld', '!smbldap_search_doma + '!get_attr_list'] + private_pdb_match.append('!pdb_nds_*') + private_pdb_match.append('!pdb_ldapsam_init*') +-private_pdb_match.append('!pdb_*_init') + private_pdb_match = private_pdb_match + ldapsam_pdb_match + + bld.SAMBA3_LIBRARY('samba-passdb', +@@ -741,6 +740,7 @@ bld.SAMBA3_LIBRARY('smbd_base', smbd_conn param_service AVAHI @@ -8,7 +16,7 @@ PRINTBASE PROFILE LOCKING -@@ -1129,6 +1130,7 @@ bld.SAMBA3_BINARY('client/smbclient', +@@ -1129,6 +1129,7 @@ bld.SAMBA3_BINARY('client/smbclient', msrpc3 RPC_NDR_SRVSVC cli_smb_common Modified: branches/2018Q4/net/samba47/Makefile ============================================================================== --- branches/2018Q4/net/samba47/Makefile Mon Oct 8 16:45:44 2018 (r481550) +++ branches/2018Q4/net/samba47/Makefile Mon Oct 8 17:15:55 2018 (r481551) @@ -3,7 +3,7 @@ PORTNAME= ${SAMBA4_BASENAME}47 PORTVERSION= ${SAMBA4_VERSION} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES?= net MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc DISTNAME= ${SAMBA4_DISTNAME} Modified: branches/2018Q4/net/samba47/files/patch-source3__wscript_build ============================================================================== --- branches/2018Q4/net/samba47/files/patch-source3__wscript_build Mon Oct 8 16:45:44 2018 (r481550) +++ branches/2018Q4/net/samba47/files/patch-source3__wscript_build Mon Oct 8 17:15:55 2018 (r481551) @@ -1,6 +1,14 @@ ---- source3/wscript_build.orig 2017-07-25 13:09:58 UTC +--- source3/wscript_build.orig 2018-08-11 19:50:02 UTC +++ source3/wscript_build -@@ -240,11 +240,9 @@ bld.SAMBA3_SUBSYSTEM('SMBREGISTRY', +@@ -143,7 +143,6 @@ ldapsam_pdb_match = ['!priv2ld', '!smbldap_search_doma + '!get_attr_list'] + private_pdb_match.append('!pdb_nds_*') + private_pdb_match.append('!pdb_ldapsam_init*') +-private_pdb_match.append('!pdb_*_init') + private_pdb_match = private_pdb_match + ldapsam_pdb_match + + bld.SAMBA3_LIBRARY('samba-passdb', +@@ -240,11 +239,9 @@ bld.SAMBA3_SUBSYSTEM('SMBREGISTRY', talloc replace util_reg @@ -13,7 +21,7 @@ ''') # Do not link against this use 'smbconf' -@@ -509,7 +507,7 @@ bld.SAMBA3_LIBRARY('secrets3', +@@ -510,7 +507,7 @@ bld.SAMBA3_LIBRARY('secrets3', bld.SAMBA3_LIBRARY('smbldap', source='lib/smbldap.c', @@ -22,7 +30,7 @@ enabled=bld.CONFIG_SET("HAVE_LDAP"), private_library=False, abi_directory='lib/ABI', -@@ -733,6 +731,7 @@ bld.SAMBA3_LIBRARY('smbd_base', +@@ -734,6 +731,7 @@ bld.SAMBA3_LIBRARY('smbd_base', smbd_conn param_service AVAHI @@ -30,7 +38,7 @@ PRINTBASE PROFILE LOCKING -@@ -1121,6 +1120,7 @@ bld.SAMBA3_BINARY('client/smbclient', +@@ -1122,6 +1120,7 @@ bld.SAMBA3_BINARY('client/smbclient', msrpc3 RPC_NDR_SRVSVC cli_smb_common