summaryrefslogtreecommitdiff
path: root/wscript_build
Commit message (Collapse)AuthorAgeFilesLines
* dynconfig: rework the logic to support --enable-fhsStefan Metzmacher2011-07-131-3/+0
| | | | | | | | | | | This reorders the data structure which represents the options to build a more useful hierachy. This makes it more obvious which defaults values are used in the 'STD' and 'FHS' flavors. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 09:33:21 CEST 2011 on sn-devel-104
* Revert "s4-build Change default paths and --with flags for a 4.0 release"Stefan Metzmacher2011-07-131-1/+1
| | | | This reverts commit edd3e8b03aa0bca85d4a9a62b35471e76a1f9390.
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-081-0/+1
| | | | | | | | | | | | | | | | | This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
* build: we no longer put #if _SAMBA_BUILD_ == 4 in public headersAndrew Bartlett2011-07-061-3/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jul 6 06:46:50 CEST 2011 on sn-devel-104
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-051-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: move dynconfig for top level build upAndrew Bartlett2011-06-211-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell2011-06-201-1/+0
| | | | | | | | 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>
* lib/tdb_compat: header for tdb1 vs tdb2.Rusty Russell2011-06-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TDB2's API is slightly different from TDB1. In particular, all functions return 0 (TDB_SUCCESS) or a negative error number, rather than -1 or tdb_null and storing the error in tdb_error() (though TDB2 does that as well). The simplest fix is to replace all the different functions with a wrapper, and that is done here. Compatibility functions: tdb_null: not used as an error return, so not defined by tdb2. tdb_fetch_compat: TDB1-style data-returning tdb_fetch. tdb_firstkey_compat: TDB1-style data-returning tdb_firstkey tdb_nextkey_compat: TDB1-style data-returning tdb_nextkey, with TDB2-style free of old key. tdb_errorstr_compat: TDB1-style tdb_errorstr() which takes TDB instead of ecode. TDB_CONTEXT: TDB1-style typedef for struct tdb_context. tdb_open_compat: Simplified open routine which takes log function, sets TDB_ALLOW_NESTING as Samba expects, and adds TDB_CLEAR_IF_FIRST support. Things defined away in TDB2 wrappers: tdb_traverse_read: TDB2's tdb_traverse only uses read-locks anyway. tdb_reopen/tdb_reopen_all: TDB2 detects this error itself. TDB_INCOMPATIBLE_HASH: TDB2 uses the Jenkins hash already. TDB_VOLATILE: TDB2 shouldn't have freelist scaling issues. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib: import ccan modules for tdb2Rusty Russell2011-06-201-0/+1
| | | | | | | Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s4-build Change default paths and --with flags for a 4.0 releaseAndrew Bartlett2011-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes are made since Samba 3.6: * --with-ncalrpcdir and --with-nmbdsocketdir are replaced with --with-socket-dir (with ntp_signd, winbindd, nmbd subdirs) * This moves the winbind socket out of /tmp. Distributions have moved this out of /tmp for quite some time now, and /var/run in the FHS blessed location these days. --with-socketdir should point to /var/run in a distribution package. * Configuration files are expected in PREFIX/etc instead of PREFIX/lib (they need to be moved manually) * SWAT data files have moved to PREFIX/share/swat (alongside PREFIX/share/setup containing samba4 provision templates). * The --with-fhs option is no longer available (it was never very useful, and major distributions (Debian, OpenSuSE, Fedora) either specified every option (overriding the effect) or didn't specify it at all. * PID files are now in PREFIX/var/run, moved from PREFIX/var/locks * The ncalrpc and nmbd sockets are now in PREFIX/var/run by default The following changes are made for users of Samba3 binaries built with the top level build in master * 'state' files are now expected to be in their Samba 3.6 location PREFIX/var/locks (and will need to be moved manually) Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: only use the git version on install, not in the build treeAndrew Tridgell2011-06-171-1/+1
| | | | | | | | | | | | | | having the git version in our version.h in the build tree is annoying for developers, as every time you commit or rebase you need to spend several minutes re-linking. This changes it to use the git version only on install, which is much more useful as when you actually install the binaries you may be using them in a way that reporting the version is useful Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 08:37:06 CEST 2011 on sn-devel-104
* build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett2011-05-091-2/+1
| | | | | | | | | This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
* lib/socket move interfaces code to the top levelAndrew Bartlett2011-05-081-0/+1
|
* build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett2011-04-291-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
* auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett2011-04-271-0/+1
| | | | | | | | | | | This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
* build: force _SAMBA_BUILD_==4 to be true in public headersAndrew Tridgell2011-03-151-0/+3
| | | | for s4 public headers, this is always true
* build: mark some private includes as OK in public headersAndrew Tridgell2011-03-151-0/+4
| | | | | these are includes which are protected by #ifdefs which means they don't get exposed to public users
* build: added automated testing of our public headersAndrew Tridgell2011-03-151-0/+2
| | | | | we generate test_headers.h, which includes all of our public headers, and check it compiles
* build: install public headers in the build treeAndrew Tridgell2011-03-151-0/+3
| | | | | | this symlinks our public headers into the build tree, which will allow us to refer to the public headers by their public name inside the source tree.
* build: moved util_reg.c into a common subsystemAndrew Tridgell2011-02-241-0/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
* build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell2011-02-241-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: added --enable-s3build configure optionAndrew Tridgell2011-02-221-1/+2
| | | | | | this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3build: recurse into source3/Andrew Tridgell2011-02-221-0/+6
| | | | | | we can now use common build rules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* auth Move auth_sam_reply into the top level.Andrew Bartlett2011-02-101-0/+1
| | | | | | | | | These functions provide conversions between some netlogon.idl and auth.idl structures Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* waf: added top level build rules Andrew Tridgell2011-02-071-0/+106
This adds build rules for the top level directory based on the ones from source4. This is an intermediate step towards a combined top level build which will build both the Samba3 (bin/smbd, bin/nmbd etc) and Samba4 (bin/samba) binaries from a single build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>