summaryrefslogtreecommitdiff
path: root/source3/wscript_build
AgeCommit message (Collapse)AuthorFilesLines
2011-06-28s3-waf: remove s3-waf specific dynconfig.Günther Deschner1-1/+1
This merge finally makes --with-logfilebase=foo and friends work appropriately. Andrews, Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104
2011-06-28s3-waf: add some missing tdb dependencies.Günther Deschner1-5/+5
Guenther
2011-06-24s3: Add cli_symlinkVolker Lendecke1-0/+1
2011-06-24s3: Add symlink reparse point marshalling routinesVolker Lendecke1-0/+1
2011-06-24s3-build Add dep on popt to fix FreeBSD buildAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 06:32:59 CEST 2011 on sn-devel-104
2011-06-24s3-build Require fully defined symbols in ALL libraries by defaultAndrew Bartlett1-54/+29
The only exception here is libsmbregistry, which needs further work to resolve the library loop caused by the registry based smb.conf loading. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 05:01:38 CEST 2011 on sn-devel-104
2011-06-24s3-build: Remove SECRETS3 as a samba3core depAndrew Bartlett1-5/+10
This resolves the the library loop between libsmbconf and SECRETS3/passdb, and allows the next commit to require fully defined symbols in public libraries. Andrew Bartlett
2011-06-21s3: Remove unused codeVolker Lendecke1-1/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 21 15:36:01 CEST 2011 on sn-devel-104
2011-06-21s3: Convert WINBINDD_WINS_BYNAME to the async APIVolker Lendecke1-0/+1
2011-06-21s3-build: Provide a run-time shim to work around duplicate symbolsAndrew Bartlett1-46/+45
The become_root() and similar 'smbd' functions that are used widely in Samba libraries had 'dummy' copies in dummysmbd.c and dummyroot.c. These have been replaced by a runtime plugin mechanim, which ensures that standlone binaries still do nothing, while in smbd the correct function is used. This avoids having these as duplicate symbols in the smbd binary, which can cause unpredictable behaviour. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-21lib/util Remove samba-util-common!Andrew Bartlett1-31/+30
All of this code is now in common, so we don't need the second '-common' library any more! Andrew Bartlett
2011-06-21lib/util: Use common d_printf() in the whole codebaseAndrew Bartlett1-1/+0
This removes the lang_tdb based varient, the only user of the lang_tdb code is SWAT, which calls that directly. 'net' and 'pam_winbind' are internationalised using gettext. Andrew Bartlett
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-40/+40
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20source3/lib/util.c: str_checksum to use Jenkins hash from CCAN.Rusty Russell1-1/+1
Rather than tdb's internal one.
2011-06-20smb_share_modes: don't use tdb_jenkins_hash.Rusty Russell1-0/+1
It's a nice hash, but this usage has nothing to do with TDB. So use the Jenkins hash directly from CCAN instead (it's the same one). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20lib: import ccan modules for tdb2Rusty Russell1-0/+1
Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett1-2/+1
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett
2011-06-19s3: Test nttrans_createVolker Lendecke1-0/+1
This is a test for the share security descriptor exception for nttrans_create
2011-06-17s3-util: remove the s3 nterr.cAndrew Tridgell1-1/+1
this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett1-1/+1
The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett1-2/+8
In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
2011-06-05s3:winbind: Convert WINBINDD_WINS_BYIP to the async APIVolker Lendecke1-0/+1
2011-05-31s3-build Put memcache in a standalone libraryAndrew Bartlett1-2/+7
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 04:08:08 CEST 2011 on sn-devel-104
2011-05-31s3-lib Move source3-specific malloc replacements into a seperate fileAndrew Bartlett1-1/+7
This will make it easier to create a dep tree for otherwise simple libraries. Andrew Bartlett
2011-05-31s3-build Specify more of the smbconf dependenciesAndrew Bartlett1-3/+3
This brings more functions into util_names.c, and util_names.c into PARAM_WITHOUT_REG_SRC. This is not yet a full list, that would formalise the implicit dependency loop. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 01:43:37 CEST 2011 on sn-devel-104
2011-05-31s3-build Make smbregistry depend on more of the subsystems it needsAndrew Bartlett1-1/+1
This is not the full list (that can be seen by setting allow_undefined_symbols=True). Andrew Bartlett
2011-05-31s3-build Add util_sec subsystemAndrew Bartlett1-2/+8
2011-05-31s3-build Move dbwrap_rbt into dbwrap_util subsystemAndrew Bartlett1-3/+2
2011-05-31s3-build Create dbwrap_util subsystemAndrew Bartlett1-2/+8
This contains the functions from dbwrap that don't require lp_ functions, and can therefore be put into a library (without dependency loops). Andrew Bartlett
2011-05-31s3-build: Rearrange build system to seperate out simple librariesAndrew Bartlett1-27/+54
This will slowly allow us to develop a proper dependency tree without interlibrary loops and unresolved symbols. Andrew Bartlett
2011-05-31s3-build Add dependency on 'ldap' and 'ber'Andrew Bartlett1-1/+1
These external libraries are required for the hooks in lib/ldap_debug_handler.c
2011-05-31s3-lib Move free_namearray() into it's own fileAndrew Bartlett1-0/+1
This makes it easier to have conn_smbd strictly depend on all it's dependencies. Andrew Bartlett
2011-05-31s3-lib Move realloc based string substitution functions out of util_str.cAndrew Bartlett1-1/+1
This makes the dependency set for source3/lib/util_str.c simpiler, which in turn makes it easier to build a dependency tree. Andrew Bartlett
2011-05-31libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett1-1/+0
This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
2011-05-31s3-param split service.c into param and smbd componentsAndrew Bartlett1-2/+6
The dependency chain of find_service can't be satisfied sensibly outside smbd, so don't include this in the main 'param' subsystem. Also remove the duplicate find_service() and conn_snum_used() from dummysmbd.c: The WAF build does not need these dummies any more, but file. Andrew Bartlett
2011-05-31s3-smbd Split conn.c into 3 filesAndrew Bartlett1-3/+10
The idea with this split is to make it easier to handle dependencies, avoiding having the loadparm code depend on the global server variables, without resorting to dummy functions and linker tricks. conn_clear_vuid_cache() is brought in from uid.c to make it static Andrew Bartlett
2011-05-31s3-lib Move string_init functions into their own fileAndrew Bartlett1-1/+4
These have not been moved in common, as they are not talloc-based, but it helps with dependencies if these are seperated from the rest of util_str.c Andrew Bartlett
2011-05-25Fix numerous missing dependencies in WAF build scriptsSean Finney1-13/+32
With the recent consolidation of code between s3 and s4, a number of new dependencies have been implicitly introduced. For example, previous s3 code gained an implicit dependency on talloc after the charset related consolidation (lib/util/charset/charset.h now includes talloc.h). When building against the embedded version of talloc this isn't a problem since the paths are automatically added to the search path, but when building against the external libraries build failures will occur for all components that don't directly or indirectly include talloc as a dependency. Since charset.h is included from util.h, which in turn is included from includes.h, this means most of the codebase (s3 and s4) has such an undeclared dependency. Therefore, samba-util-common and samba-util have been added as dependencies to the s3 and s4 code respectively, for all cases where the source would otherwise fail to build. Additionally, a few other dependencies are added in specific wscript_build files to address similar dependency-related problems. https://bugzilla.samba.org/show_bug.cgi?id=8128 Signed-off-by: Sean Finney <seanius@seanius.net> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
2011-05-19fix the WAF buildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
2011-05-18build: Add 'cap' as a dependency of samba3coreAndrew Bartlett1-1/+1
2011-05-18build: Make POPT_SAMBA3 a libraryAndrew Bartlett1-4/+5
This avoids some duplicate symbols when libnet and libsmbclient are linked into the same binary (smbtorture4). Andrew Bartlett
2011-05-18librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett1-8/+2
There is no longer a reason to leave this source3 specific, and this brings it into a library (avoiding duplicate symbols). Andrew Bartlett
2011-05-18build: Add rpc_client grouping libraryAndrew Bartlett1-0/+7
2011-05-18build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett1-1/+2
2011-05-18build: Make msrpc3 a libraryAndrew Bartlett1-4/+5
2011-05-18waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett1-4/+5
The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
2011-05-13s3-build: use ndr-standard in msrpc3Andrew Bartlett1-3/+4
This avoids pulling in the symbols from the NDR_ subsystems directly. Andrew Bartlett
2011-05-13lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett1-1/+1
This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
2011-05-12s3-waf: stop building smbtortre4.Günther Deschner1-7/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104
2011-05-10s3-waf: Create a public libsmconf.Andreas Schneider1-7/+9
Signed-off-by: Michael Adam <obnox@samba.org>