summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
AgeCommit message (Collapse)AuthorFilesLines
2011-07-26libsamba-util: Build in libbitmap.Jelmer Vernooij1-8/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
2011-07-23charset: Make name lowercase everywhere.Jelmer Vernooij1-1/+1
2011-07-08lib/util Move bitmap.c to lib/utilAndrew Bartlett1-1/+7
2011-06-21lib/util Remove samba-util-common!Andrew Bartlett1-44/+12
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-2/+2
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-2/+2
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-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett1-1/+2
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-1/+1
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-05-25Fix numerous missing dependencies in WAF build scriptsSean Finney1-2/+2
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-10tdb_wrap.h: not a public header.Rusty Russell1-1/+0
It is a private library, and OpenChange has their own which they use, so it's not for them either. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 05:21:19 CEST 2011 on sn-devel-104
2011-05-06lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett1-2/+2
gen_fnmatch was a duplicate symbol in the top level build. gen_fnmatch() used for simple non-CIFS pattern matching, so selecting the lib/util implementation should not be a concern. Andrew Bartlett
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-0/+10
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-03lib/util make string_wrappers.h a public headerAndrew Bartlett1-1/+1
This isn't a very good public header, but util.h includes it, so we don't have much choice in the short term. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 3 08:37:22 CEST 2011 on sn-devel-104
2011-05-03lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett1-2/+2
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett
2011-04-29lib/util Re-merge the string_sub() and all_string_sub() from source3Andrew Bartlett1-2/+2
Andrew Bartlett
2011-04-26lib/util Define samba-util-common only for s3-wafAndrew Bartlett1-24/+11
It causes too much trouble in the top level build. Andrew Bartlett
2011-04-23Fix case of libUTIL_LDB.Jelmer Vernooij1-6/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 18:52:06 CEST 2011 on sn-devel-104
2011-04-16util: Build samba-util without unresolved symbols.Brad Hards1-33/+60
This is useful for the Samba4 case where external users otherwise need to link to (private) libsamba-util-common. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 16 12:29:33 CEST 2011 on sn-devel-104
2011-04-13build: Bring DYNCONFIG into samba-util library to avoid symbol duplicationAndrew Bartlett1-1/+1
When this was depended on directly as a subsystem, it ended up in multiple libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 13 08:39:35 CEST 2011 on sn-devel-104
2011-04-13lib/util Move simple string routines into common code.Andrew Bartlett1-1/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util make UTIL_TDB a libraryAndrew Bartlett1-2/+3
2011-04-06lib: make asn1_util a private libraryAndrew Tridgell1-4/+5
this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06lib: moved data_blob.c into samba-util-commonAndrew Tridgell1-2/+2
this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-30lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett1-1/+1
Andrew Bartlett
2011-03-30lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner1-0/+5
Guenther
2011-03-23fault: moved fault.c into common libraryAndrew Tridgell1-2/+2
2011-03-23fault: switch s4 to use the common fault.cAndrew Tridgell1-1/+1
2011-03-23fault: rename fault.c to fault_s4.cAndrew Tridgell1-1/+1
this is in preparation for merging the s3 fault code into common
2011-03-17lib-util: put data_blob back in the public librarySimo Sorce1-2/+2
data_blob is defined ina public header, so it needs to be exposed in the public library. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-03lib/util: LIBCRYPTO is in common already, so add it to samba-util-common.Günther Deschner1-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104
2011-03-01lib/util: new merged debug systemAndrew Bartlett1-3/+5
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01lib/util move debug.[ch] out of the wayAndrew Bartlett1-1/+1
This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
2011-02-23build: move idtree.c into samba-util-commonAndrew Tridgell1-3/+2
2011-02-23build: moved more files into samba-util-commonAndrew Tridgell1-11/+11
this removes UTIL_SRC from the s3 waf build, as it is now all in common with samba-util-common
2011-02-23build: created samba-util-common libraryAndrew Tridgell1-30/+21
this library will contain files that can be built in common between s3 and s4. Both samba-util and samba-util3 depend on it. Currently this library needs to be marked as allow_undefined_symbols, in order to allow s4 to build it. We can remove that flag once we have all the needed symbols in common Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18lib/util Make UTIL_LDB conditional on an s4 buildAndrew Bartlett1-1/+2
This allows this file to be used in common.
2011-02-18libutil: make waf rules usable by s3 waf buildAndrew Tridgell1-38/+39
we need samba-util to be s4 only for now, because of the debug system differences Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-11waf: pure cosmetic reformatting of the two samba-util object lists (to ease ↵Günther Deschner1-1/+30
comparing). Guenther
2010-11-20waf:lib/util - add missing dependency on tallocMatthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 23:35:48 CET 2010 on sn-devel-104
2010-11-12unix_privs: Add missing dependency on libreplace.Jelmer Vernooij1-0/+1
2010-10-26lib/util: remove useless ../lib/util/mutex.*Stefan Metzmacher1-2/+2
Only the disabled process_thread.c registers uses the register fn, all other functions are not used anywhere. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
2010-10-23s4: Rename UID_WRAPPER to uid_wrapper.Jelmer Vernooij1-2/+1
Only link to uid_wrapper when it is enabled.
2010-10-23s4: Rename WRAP_XATTR to wrap_xattr.Jelmer Vernooij1-7/+7
2010-10-23lib/util: Add tevent WERROR wrappersKai Blin1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104
2010-10-21lib: make WRAP_XATTR a private libraryAndrew Tridgell1-6/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: removed the XATTR and SASL aliasesAndrew Tridgell1-1/+1
these were hangovers from the old build system names Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer1-0/+9
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer1-9/+0
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104