The Samba-Bugzilla – Attachment 12722 Details for
Bug 12450
Samba no longer builds with ld.gold linker
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.4
gold-v4.4.patch (text/plain), 35.69 KB, created by
Andreas Schneider
on 2016-12-05 12:43:46 UTC
(
hide
)
Description:
patch for 4.4
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2016-12-05 12:43:46 UTC
Size:
35.69 KB
patch
obsolete
>From cab4fa0da71def867502da1124191c7e209e1c24 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 18 Nov 2016 10:20:41 -0800 >Subject: [PATCH 1/5] s3/smbd: fix the last resort check that sets the file > type attribute >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The rule is, a directory (with any other attributes) should always also >set FILE_ATTRIBUTE_DIRECTORY, a file should only set >FILE_ATTRIBUTE_NORMAL if no other attributes is set. > >Iow, if a file contains any existing attributes (e.g. FILE_ATTRIBUTE_HIDDEN), >don't add in the FILE_ATTRIBUTE_NORMAL attribute. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12436 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Ralph Böhme <slow@samba.org> >Autobuild-Date(master): Sat Nov 19 11:55:35 CET 2016 on sn-devel-144 > >(cherry picked from commit a0783e8dd966a0b2d24d2ca5baa6bed3fe5a7d5a) > >Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org> >Autobuild-Date(v4-4-test): Thu Dec 1 14:51:30 CET 2016 on sn-devel-144 >--- > source3/smbd/dosmode.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > >diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c >index 84178feff70..6377bd98b0a 100644 >--- a/source3/smbd/dosmode.c >+++ b/source3/smbd/dosmode.c >@@ -624,12 +624,10 @@ uint32_t dos_mode(connection_struct *conn, struct smb_filename *smb_fname) > > result |= dos_mode_from_name(conn, smb_fname, result); > >- if (result == 0) { >- if (S_ISDIR(smb_fname->st.st_ex_mode)) { >- result = FILE_ATTRIBUTE_DIRECTORY; >- } else { >- result = FILE_ATTRIBUTE_NORMAL; >- } >+ if (S_ISDIR(smb_fname->st.st_ex_mode)) { >+ result |= FILE_ATTRIBUTE_DIRECTORY; >+ } else if (result == 0) { >+ result = FILE_ATTRIBUTE_NORMAL; > } > > result = filter_mode_by_protocol(result); >-- >2.11.0 > > >From eeb43d11380ec205a06892a12de02680544bca04 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 22 Nov 2016 11:09:42 +0100 >Subject: [PATCH 2/5] s3:waf: Move popt_samba3 up in the stack > >Only daemons and client directly need to link against it. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12450 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> > >(cherry picked from commit 0c69a00eb27e6390d32d2282cece82665dea9333) >--- > source3/wscript_build | 17 ++++++++--------- > 1 file changed, 8 insertions(+), 9 deletions(-) > >diff --git a/source3/wscript_build b/source3/wscript_build >index 75623dd6c38..0efc893f8d2 100755 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -611,8 +611,7 @@ bld.SAMBA3_LIBRARY('smbd_base', > vfs > vfs_default > vfs_posixacl >- inotify >- popt_samba3 >+ inotify > samba3core > smbd_conn > param_service >@@ -857,7 +856,7 @@ bld.SAMBA3_SUBSYSTEM('LIBLSA', > > bld.SAMBA3_BINARY('smbd/smbd', > source='smbd/server.c smbd/smbd_cleanupd.c', >- deps='smbd_base EPMD LSASD FSSD MDSSD', >+ deps='popt_samba3 smbd_base EPMD LSASD FSSD MDSSD', > install_path='${SBINDIR}') > > bld.SAMBA3_BINARY('nmbd/nmbd', >@@ -874,12 +873,12 @@ bld.SAMBA3_BINARY('nmbd/nmbd', > nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c > nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c''', > deps=''' >- talloc >- tevent >- param >- libsmb >- popt_samba3 >- ''', >+ talloc >+ tevent >+ param >+ libsmb >+ popt_samba3 >+ ''', > install_path='${SBINDIR}') > > >-- >2.11.0 > > >From a06f04a448fba0c872c36e0f58858cd4f192e8ce Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 22 Nov 2016 11:18:40 +0100 >Subject: [PATCH 3/5] s3:waf: Move cbuf functions to samba3-util > >This is used more commonly in the meantime and this way we avoid linking >to smbconf. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12450 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> > >(cherry picked from commit cbcf9fa004784ba83d9a481ecfd94d7303ce7229) >--- > source3/wscript_build | 16 +++++++++++++--- > 1 file changed, 13 insertions(+), 3 deletions(-) > >diff --git a/source3/wscript_build b/source3/wscript_build >index 0efc893f8d2..def6019ac8b 100755 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -204,7 +204,6 @@ bld.SAMBA3_LIBRARY('smbregistry', > lib/util_nttoken.c > registry/reg_backend_db.c > registry/reg_parse_internal.c >- lib/cbuf.c > lib/srprs.c > registry/reg_init_basic.c''', > deps='''smbd_shim tdb-wrap3 NDR_SECURITY util_tdb talloc >@@ -786,8 +785,19 @@ bld.SAMBA3_LIBRARY('msghdr', > private_library=True) > > bld.SAMBA3_LIBRARY('samba3-util', >- source='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/namearray.c lib/file_id.c''', >- deps='samba-util charset', >+ source=''' >+ lib/util_sec.c >+ lib/util_str.c >+ lib/adt_tree.c >+ lib/util_malloc.c >+ lib/namearray.c >+ lib/file_id.c >+ lib/cbuf.c >+ ''', >+ deps=''' >+ samba-util >+ charset >+ ''', > private_library=True) > > bld.SAMBA_LIBRARY('xattr_tdb', >-- >2.11.0 > > >From 95fc23d5245289a595aa38e2a715834e3721fd6b Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 22 Nov 2016 11:50:04 +0100 >Subject: [PATCH 4/5] s3:waf samba3util requires CHARSET3 > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12450 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> > >(cherry picked from commit 676043cf08d83e02686c208421bccf0ac92f5e33) >--- > source3/wscript_build | 41 ++++++++++++++++++++++++++--------------- > 1 file changed, 26 insertions(+), 15 deletions(-) > >diff --git a/source3/wscript_build b/source3/wscript_build >index def6019ac8b..a77400b4384 100755 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -247,21 +247,32 @@ bld.SAMBA3_SUBSYSTEM('KRBCLIENT', > public_deps='krb5samba k5crypto gssapi LIBTSOCKET CLDAP LIBNMB') > > bld.SAMBA3_SUBSYSTEM('samba3util', >- source='''lib/system.c >- lib/sendfile.c >- lib/recvfile.c >- lib/time.c >- lib/util_sid.c >- lib/util_specialsids.c >- lib/util_file.c >- lib/util.c >- lib/util_path.c >- lib/util_procid.c >- lib/util_sock.c >- lib/util_tsock.c >- lib/util_transfer_file.c >- lib/sock_exec.c''', >- deps='ndr LIBTSOCKET samba-security NDR_SECURITY samba-util util_tdb sys_rw iov_buf') >+ source=''' >+ lib/system.c >+ lib/sendfile.c >+ lib/recvfile.c >+ lib/time.c >+ lib/util_sid.c >+ lib/util_specialsids.c >+ lib/util_file.c >+ lib/util.c >+ lib/util_path.c >+ lib/util_procid.c >+ lib/util_sock.c >+ lib/util_tsock.c >+ lib/util_transfer_file.c >+ lib/sock_exec.c >+ ''', >+ deps=''' >+ CHARSET3 >+ ndr >+ LIBTSOCKET >+ samba-security >+ NDR_SECURITY >+ samba-util >+ util_tdb sys_rw >+ iov_buf >+ ''') > > if bld.env.with_ctdb: > SAMBA_CLUSTER_SUPPORT_SOURCES=''' >-- >2.11.0 > > >From 1a0543b436aa5f19393e0d5d940c998475a1ef83 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 22 Nov 2016 13:47:32 +0100 >Subject: [PATCH 5/5] s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf > only > >This is the only way to resolve cirular dependencies with these >libraries. I've tried several ways but this is the only way to do it >correctly. In future we should try to seperate them by passing down >information or making a more lightweight loadparm mechanism. > >+---------+ +-------------+ >| | | | >| param <---------+ +--------+ smbregistry | >| | | | | | >+----+----+ | | +------^------+ > | +---+----v--+ | > | | | | > +----------> smbconf +------------+ > | | > +-----------+ > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12450 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >Reviewed-by: Andrew Bartlett <abartlet@samba.org> > >(cherry picked from commit f858121d8f94bd0da6fb93c4e6ab5f4a0e3c9c51) >--- > source3/libsmb/wscript | 2 +- > source3/param/wscript_build | 8 +- > source3/smbd/notifyd/wscript_build | 4 +- > source3/winbindd/wscript_build | 2 +- > source3/wscript_build | 394 ++++++++++++++++++++++--------------- > 5 files changed, 245 insertions(+), 165 deletions(-) > >diff --git a/source3/libsmb/wscript b/source3/libsmb/wscript >index 4f8b2171673..6d862f71998 100644 >--- a/source3/libsmb/wscript >+++ b/source3/libsmb/wscript >@@ -19,7 +19,7 @@ def build(bld): > libsmb_setget.c''', > public_deps=''' > talloc >- param >+ smbconf > libsmb > KRBCLIENT > msrpc3 >diff --git a/source3/param/wscript_build b/source3/param/wscript_build >index 6c440f1c7c7..c60e917dba0 100644 >--- a/source3/param/wscript_build >+++ b/source3/param/wscript_build >@@ -6,7 +6,7 @@ bld.SAMBA3_SUBSYSTEM('PARAM_UTIL', > > bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX', > source='loadparm_ctx.c', >- deps='''talloc param''') >+ deps='''talloc smbconf''') > > bld.SAMBA_GENERATOR('s3_param_proto_h', > source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml', >@@ -16,18 +16,18 @@ bld.SAMBA_GENERATOR('s3_param_proto_h', > > bld.SAMBA3_PYTHON('pys3param', > source='pyparam.c', >- deps='param', >+ deps='smbconf', > public_deps='samba-hostconfig pytalloc-util talloc', > realname='samba/samba3/param.so') > > bld.SAMBA3_SUBSYSTEM('param_service', > source='service.c', >- deps = 'USER_UTIL param PRINTING') >+ deps = 'USER_UTIL smbconf PRINTING') > > bld.SAMBA3_BINARY('test_lp_load', > source='test_lp_load.c', > deps=''' > talloc >- param >+ smbconf > popt_samba3''', > install=False) >diff --git a/source3/smbd/notifyd/wscript_build b/source3/smbd/notifyd/wscript_build >index d9976bd521c..55cfd8837c4 100644 >--- a/source3/smbd/notifyd/wscript_build >+++ b/source3/smbd/notifyd/wscript_build >@@ -8,12 +8,12 @@ bld.SAMBA3_BINARY('notifyd-tests', > source='tests.c', > install=False, > deps=''' >- param >+ smbconf > ''') > > bld.SAMBA3_BINARY('notifydd', > source='notifydd.c', > install=False, > deps='''notifyd >- param >+ smbconf > ''') >diff --git a/source3/winbindd/wscript_build b/source3/winbindd/wscript_build >index 3ee280c9412..8198224b280 100644 >--- a/source3/winbindd/wscript_build >+++ b/source3/winbindd/wscript_build >@@ -116,7 +116,7 @@ bld.SAMBA3_MODULE('idmap_autorid', > > bld.SAMBA3_LIBRARY('nss_info', > source='nss_info.c', >- deps='samba-util param', >+ deps='samba-util smbconf', > private_library=True) > > bld.SAMBA3_MODULE('nss_info_template', >diff --git a/source3/wscript_build b/source3/wscript_build >index a77400b4384..3d55cdd9210 100755 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -57,7 +57,7 @@ bld.SAMBA3_LIBRARY('netapi', > > bld.SAMBA3_LIBRARY('gse', > source='librpc/crypto/gse_krb5.c librpc/crypto/gse.c', >- deps='krb5samba gensec param KRBCLIENT secrets3', >+ deps='krb5samba gensec smbconf KRBCLIENT secrets3', > private_library=True) > > bld.SAMBA3_LIBRARY('msrpc3', >@@ -166,22 +166,6 @@ bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX', > source='lib/server_mutex.c', > deps='talloc') > >-bld.SAMBA3_SUBSYSTEM('param', >- source='''param/loadparm.c >- lib/sharesec.c >- lib/ldap_debug_handler.c >- lib/util_names.c''', >- deps='''samba-util >- PARAM_UTIL >- ldap >- lber >- LOADPARM_CTX >- samba3core >- smbconf >- param_local.h >- param_global.h >- cups''') >- > # this includes only the low level parse code, not stuff > # that requires knowledge of security contexts > bld.SAMBA3_SUBSYSTEM('REG_PARSE_PRS', >@@ -195,42 +179,61 @@ bld.SAMBA3_SUBSYSTEM('REG_API_REGF', > source='registry/reg_api_regf.c', > deps='samba-util') > >-bld.SAMBA3_LIBRARY('smbregistry', >- source='''registry/reg_api.c >- registry/reg_dispatcher.c >- registry/reg_cachehook.c >- registry/reg_objects.c >- registry/reg_util_internal.c >- lib/util_nttoken.c >- registry/reg_backend_db.c >- registry/reg_parse_internal.c >- lib/srprs.c >- registry/reg_init_basic.c''', >- deps='''smbd_shim tdb-wrap3 NDR_SECURITY util_tdb talloc >- replace util_reg samba-util samba-security >- errors3 dbwrap samba3-util''', >- allow_undefined_symbols=True, >- private_library=True) >+# Do not link against this use 'smbconf' >+bld.SAMBA3_SUBSYSTEM('SMBREGISTRY', >+ source=''' >+ registry/reg_api.c >+ registry/reg_dispatcher.c >+ registry/reg_cachehook.c >+ registry/reg_objects.c >+ registry/reg_util_internal.c >+ lib/util_nttoken.c >+ registry/reg_backend_db.c >+ registry/reg_parse_internal.c >+ lib/srprs.c >+ registry/reg_init_basic.c >+ ''', >+ deps=''' >+ smbd_shim >+ tdb-wrap3 >+ NDR_SECURITY >+ util_tdb >+ talloc >+ replace >+ util_reg >+ samba-util >+ samba-security >+ errors3 >+ dbwrap >+ samba3-util >+ ''') > >+# Do not link against this use 'smbconf' > bld.SAMBA3_SUBSYSTEM('REG_SMBCONF', >- source='''registry/reg_backend_smbconf.c >- registry/reg_init_smbconf.c >- registry/reg_util_token.c >- registry/reg_api_util.c''', >- deps='smbregistry') >+ source=''' >+ registry/reg_backend_smbconf.c >+ registry/reg_init_smbconf.c >+ registry/reg_util_token.c >+ registry/reg_api_util.c >+ ''', >+ deps='SMBREGISTRY') > > bld.SAMBA3_SUBSYSTEM('REG_FULL', >- source='''registry/reg_backend_printing.c >- registry/reg_backend_shares.c >- registry/reg_backend_netlogon_params.c >- registry/reg_backend_prod_options.c >- registry/reg_backend_tcpip_params.c >- registry/reg_backend_hkpt_params.c >- registry/reg_backend_current_version.c >- registry/reg_backend_perflib.c >- registry/reg_init_full.c >- registry/reg_perfcount.c''', >- deps='REG_SMBCONF tdb-wrap3') >+ source=''' >+ registry/reg_backend_printing.c >+ registry/reg_backend_shares.c >+ registry/reg_backend_netlogon_params.c >+ registry/reg_backend_prod_options.c >+ registry/reg_backend_tcpip_params.c >+ registry/reg_backend_hkpt_params.c >+ registry/reg_backend_current_version.c >+ registry/reg_backend_perflib.c >+ registry/reg_init_full.c >+ registry/reg_perfcount.c''', >+ deps=''' >+ smbconf >+ tdb-wrap3 >+ ''') > > bld.SAMBA3_LIBRARY('popt_samba3', > source='lib/popt_common.c', >@@ -364,7 +367,7 @@ bld.SAMBA3_SUBSYSTEM('samba3core', > UNIX_MSG > POLL_FUNCS_TEVENT > interfaces >- param >+ smbconf > dbwrap > samba3-util > errors3 >@@ -429,16 +432,23 @@ bld.SAMBA3_SUBSYSTEM('CLDAP', > # PLEASE DO NOT make it depend on high level libraries like PDB, if you are > # doing that your design is wrong and needs changing. -SSS > bld.SAMBA3_LIBRARY('secrets3', >- source='''passdb/secrets.c >- passdb/machine_account_secrets.c >- passdb/machine_sid.c >- passdb/secrets_lsa.c''', >- deps='NDR_SECRETS param samba3util dbwrap', >+ source=''' >+ passdb/secrets.c >+ passdb/machine_account_secrets.c >+ passdb/machine_sid.c >+ passdb/secrets_lsa.c >+ ''', >+ deps=''' >+ NDR_SECRETS >+ smbconf >+ samba3util >+ dbwrap >+ ''', > private_library=True) > > bld.SAMBA3_LIBRARY('smbldap', > source='lib/smbldap.c', >- deps='ldap lber samba-util param', >+ deps='ldap lber samba-util smbconf', > enabled=bld.CONFIG_SET("HAVE_LDAP"), > private_library=False, > abi_directory='lib/ABI', >@@ -448,20 +458,33 @@ bld.SAMBA3_LIBRARY('smbldap', > public_headers='include/smbldap.h include/smb_ldap.h') > > bld.SAMBA3_LIBRARY('ads', >- source='''libads/ldap.c >- libads/sasl.c >- libads/sasl_wrapping.c >- libads/krb5_setpw.c >- libads/kerberos_util.c >- libads/ldap_user.c >- libads/ads_struct.c >- libads/kerberos_keytab.c >- libads/disp_sec.c >- libads/ldap_utils.c >- libads/ldap_schema.c >- libads/util.c >- libads/ndr.c''', >- deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap', >+ source=''' >+ libads/ldap.c >+ libads/sasl.c >+ libads/sasl_wrapping.c >+ libads/krb5_setpw.c >+ libads/kerberos_util.c >+ libads/ldap_user.c >+ libads/ads_struct.c >+ libads/kerberos_keytab.c >+ libads/disp_sec.c >+ libads/ldap_utils.c >+ libads/ldap_schema.c >+ libads/util.c >+ libads/ndr.c >+ ''', >+ deps=''' >+ cli-ldap-common >+ krb5samba >+ ldap >+ lber >+ KRBCLIENT >+ smbconf >+ LIBNMB >+ libsmb >+ DCUTIL >+ smbldap >+ ''', > private_library=True) > > bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER', >@@ -472,23 +495,44 @@ bld.SAMBA3_SUBSYSTEM('LIBADS_PRINTER', > source='libads/ldap_printer.c', > deps='samba-util krb5samba') > >+# Only smbconf should link against this subsystem, else we will create >+# a circular dependency. >+bld.SAMBA3_SUBSYSTEM('SMBCONF_PARAM', >+ source=''' >+ param/loadparm.c >+ lib/sharesec.c >+ lib/ldap_debug_handler.c >+ lib/util_names.c >+ ''', >+ deps=''' >+ samba-util >+ PARAM_UTIL >+ ldap >+ lber >+ LOADPARM_CTX >+ samba3core >+ param_local.h >+ param_global.h >+ cups >+ ''') >+ > bld.SAMBA3_LIBRARY('smbconf', > source='''lib/smbconf/smbconf_init.c > lib/smbconf/smbconf_reg.c''', > deps=''' >- CHARSET3 >- LIBSMBCONF >- REG_SMBCONF >- SAMBA_VERSION >- cap >- charset >- cli_smb_common >- errors3 >- param >- samba-util >- smbregistry >- talloc >- util_reg''', >+ CHARSET3 >+ LIBSMBCONF >+ REG_SMBCONF >+ SAMBA_VERSION >+ cap >+ charset >+ cli_smb_common >+ errors3 >+ SMBCONF_PARAM >+ samba-util >+ talloc >+ util_reg >+ ''', > public_headers='../lib/smbconf/smbconf.h', > pc_files=[], > vnum='0') >@@ -685,8 +729,18 @@ bld.SAMBA3_SUBSYSTEM('PRINTBACKEND', > deps='PRINTBASE LIBADS_PRINTER tdb printing_migrate') > > bld.SAMBA3_LIBRARY('printing_migrate', >- source='printing/nt_printing_migrate.c rpc_client/cli_winreg_spoolss.c printing/nt_printing_os2.c', >- deps='NDR_NTPRINTING cli_spoolss RPC_NDR_WINREG LIBCLI_WINREG param', >+ source=''' >+ printing/nt_printing_migrate.c >+ rpc_client/cli_winreg_spoolss.c >+ printing/nt_printing_os2.c >+ ''', >+ deps=''' >+ NDR_NTPRINTING >+ cli_spoolss >+ RPC_NDR_WINREG >+ LIBCLI_WINREG >+ smbconf >+ ''', > private_library=True) > > bld.SAMBA3_SUBSYSTEM('PRINTING', >@@ -836,14 +890,28 @@ bld.SAMBA3_LIBRARY('libcli_lsa3', > private_library=True) > > bld.SAMBA3_LIBRARY('libcli_netlogon3', >- source='rpc_client/cli_netlogon.c rpc_client/util_netlogon.c', >- deps='msrpc3 RPC_NDR_NETLOGON INIT_NETLOGON cliauth param NETLOGON_CREDS_CLI', >+ source=''' >+ rpc_client/cli_netlogon.c >+ rpc_client/util_netlogon.c >+ ''', >+ deps=''' >+ msrpc3 >+ RPC_NDR_NETLOGON >+ INIT_NETLOGON >+ cliauth >+ smbconf >+ NETLOGON_CREDS_CLI''', > private_library=True) > > bld.SAMBA3_LIBRARY('cli_spoolss', >- source='''rpc_client/cli_spoolss.c >- rpc_client/init_spoolss.c''', >- deps='RPC_NDR_SPOOLSS param secrets3', >+ source=''' >+ rpc_client/cli_spoolss.c >+ rpc_client/init_spoolss.c >+ ''', >+ deps=''' >+ RPC_NDR_SPOOLSS >+ smbconf >+ secrets3''', > private_library=True) > > bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG', >@@ -896,7 +964,7 @@ bld.SAMBA3_BINARY('nmbd/nmbd', > deps=''' > talloc > tevent >- param >+ smbconf > libsmb > popt_samba3 > ''', >@@ -1050,7 +1118,7 @@ bld.SAMBA3_BINARY('rpcclient/rpcclient', > popt_samba3 > pdb > libsmb >- param >+ smbconf > ndr-standard > msrpc3 > SMBREADLINE >@@ -1081,17 +1149,17 @@ bld.SAMBA3_BINARY('client/smbclient', > client/clitar.c > client/dnsbrowse.c''', > deps=''' >- talloc >- popt_samba3 >- param >- ndr-standard >- SMBREADLINE >- libsmb >- msrpc3 >- RPC_NDR_SRVSVC >- cli_smb_common >- archive >- ''') >+ talloc >+ popt_samba3 >+ smbconf >+ ndr-standard >+ SMBREADLINE >+ libsmb >+ msrpc3 >+ RPC_NDR_SRVSVC >+ cli_smb_common >+ archive >+ ''') > > bld.SAMBA3_BINARY('net', > source='''utils/net.c >@@ -1152,7 +1220,7 @@ bld.SAMBA3_BINARY('net', > popt_samba3 > pdb > libsmb >- param >+ smbconf > KRBCLIENT > ndr-standard > msrpc3 >@@ -1188,17 +1256,18 @@ bld.SAMBA3_BINARY('profiles', > deps=''' > talloc > popt_samba3 >- param >+ smbconf > REGFIO''') > > bld.SAMBA3_BINARY('smbspool', > source='client/smbspool.c', > deps=''' >- talloc >- popt_samba3 >- param >- libsmb >- samba3core''') >+ talloc >+ popt_samba3 >+ smbconf >+ libsmb >+ samba3core >+ ''') > > bld.SAMBA3_BINARY('smbspool_krb5_wrapper', > source='client/smbspool_krb5_wrapper.c', >@@ -1212,9 +1281,11 @@ bld.SAMBA3_BINARY('smbspool_krb5_wrapper', > bld.SAMBA3_BINARY('testparm', > source='utils/testparm.c', > deps=''' >- talloc >- param >- popt_samba3''') >+ talloc >+ popt_samba3 >+ smbconf >+ ''', >+ install=False) > > smbstatus_source = 'utils/status.c smbd/notify_msg.c' > >@@ -1226,18 +1297,19 @@ else: > bld.SAMBA3_BINARY('smbstatus', > source=smbstatus_source, > deps=''' >- talloc >- param >- popt_samba3 >- smbd_base >- LOCKING >- PROFILE''') >+ talloc >+ smbconf >+ popt_samba3 >+ smbd_base >+ LOCKING >+ PROFILE >+ ''') > > bld.SAMBA3_BINARY('smbcontrol', > source='utils/smbcontrol.c', > deps=''' > talloc >- param >+ smbconf > popt_samba3 > PRINTBASE''') > >@@ -1245,7 +1317,7 @@ bld.SAMBA3_BINARY('smbtree', > source='utils/smbtree.c', > deps=''' > talloc >- param >+ smbconf > libsmb > msrpc3 > popt_samba3 >@@ -1255,7 +1327,7 @@ bld.SAMBA3_BINARY('smbpasswd', > source='utils/smbpasswd.c', > deps=''' > talloc >- param >+ smbconf > pdb > PASSWD_UTIL > PASSCHANGE''') >@@ -1264,7 +1336,7 @@ bld.SAMBA3_BINARY('pdbedit', > source='utils/pdbedit.c', > deps=''' > talloc >- param >+ smbconf > popt_samba3 > pdb > PASSWD_UTIL''') >@@ -1280,7 +1352,7 @@ bld.SAMBA3_BINARY('nmblookup', > source='utils/nmblookup.c', > deps=''' > talloc >- param >+ smbconf > popt_samba3 > LIBNMB''') > >@@ -1317,28 +1389,29 @@ bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3, > torture/bench_pthreadpool.c > torture/wbc_async.c''', > deps=''' >- talloc >- param >- libsmb >- msrpc3 >- TLDAP >- RPC_NDR_ECHO >- WB_REQTRANS >- LOCKING >- NDR_OPEN_FILES >- idmap >- IDMAP_TDB_COMMON >- samba-cluster-support >- ''', >+ talloc >+ smbconf >+ libsmb >+ msrpc3 >+ TLDAP >+ RPC_NDR_ECHO >+ WB_REQTRANS >+ LOCKING >+ NDR_OPEN_FILES >+ idmap >+ IDMAP_TDB_COMMON >+ samba-cluster-support >+ ''', > cflags='-DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR, > install=False) > > bld.SAMBA3_BINARY('smbconftort', > source='lib/smbconf/testsuite.c', > deps=''' >- talloc >- param >- popt_samba3''', >+ talloc >+ smbconf >+ popt_samba3 >+ ''', > install=False) > > bld.SAMBA3_BINARY('replacetort', >@@ -1349,22 +1422,25 @@ bld.SAMBA3_BINARY('replacetort', > bld.SAMBA3_BINARY('msgtest', > source='torture/msgtest.c', > deps=''' >- talloc >- param''', >+ talloc >+ smbconf >+ ''', > install=False) > > bld.SAMBA3_BINARY('msg_sink', > source='torture/msg_sink.c', > deps=''' >- talloc >- param''', >+ talloc >+ smbconf >+ ''', > install=False) > > bld.SAMBA3_BINARY('msg_source', > source='torture/msg_source.c', > deps=''' >- talloc >- param''', >+ talloc >+ smbconf >+ ''', > install=False) > > bld.SAMBA3_BINARY('smbcacls', >@@ -1389,7 +1465,7 @@ bld.SAMBA3_BINARY('eventlogadm', > source='utils/eventlogadm.c', > deps=''' > talloc >- param >+ smbconf > LIBEVENTLOG''') > > bld.SAMBA3_BINARY('sharesec', >@@ -1415,9 +1491,11 @@ bld.SAMBA3_BINARY('vfstest', > torture/vfstest.c > torture/vfstest_chain.c''', > deps=''' >- vfs >- popt_samba3 >- SMBREADLINE''', >+ vfs >+ popt_samba3 >+ smbconf >+ SMBREADLINE >+ ''', > install=False) > > bld.SAMBA3_BINARY('log2pcap', >@@ -1429,7 +1507,7 @@ bld.SAMBA3_BINARY('locktest2', > source='torture/locktest2.c', > deps=''' > talloc >- param >+ smbconf > libsmb > LOCKING''', > install=False) >@@ -1443,15 +1521,16 @@ bld.SAMBA3_BINARY('smbfilter', > source='utils/smbfilter.c', > deps=''' > talloc >- param >+ smbconf > LIBNMB''', > install=False) > > bld.SAMBA3_BINARY('versiontest', > source='lib/version_test.c', > deps=''' >- SAMBA_VERSION >- param''', >+ SAMBA_VERSION >+ smbconf >+ ''', > install=False) > > bld.SAMBA3_BINARY('ntlm_auth', >@@ -1498,8 +1577,9 @@ bld.SAMBA3_BINARY('split_tokens', > bld.SAMBA3_BINARY('vlp', > source='printing/tests/vlp.c', > deps=''' >- talloc >- param''', >+ talloc >+ smbconf >+ ''', > install=False) > > bld.SAMBA3_PYTHON('pysmbd', >@@ -1519,7 +1599,7 @@ bld.SAMBA3_BINARY('samba-regedit', > utils/regedit_wrap.c utils/regedit_treeview.c > utils/regedit_valuelist.c utils/regedit_dialog.c > utils/regedit_hexedit.c utils/regedit_list.c""", >- deps='ncurses menu panel form registry param popt_samba3 smbregistry', >+ deps='ncurses menu panel form registry smbconf popt_samba3', > enabled=bld.env.build_regedit) > > bld.SAMBA3_BINARY('spotlight2sparql', >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
asn
:
review?
(
obnox
)
asn
:
review?
(
ab
)
Actions:
View
Attachments on
bug 12450
:
12696
|
12697
|
12721
| 12722