summaryrefslogtreecommitdiff
path: root/source3/wscript
AgeCommit message (Collapse)AuthorFilesLines
2012-11-09build: add DMAPI configure option and checksChristian Ambach1-0/+64
the waf build was missing the --with-dmapi option and configure checks that are necessary to build the source3 parts that need DMAPI (e.g. vfs_tsmsm) Bug: https://bugzilla.samba.org/show_bug.cgi?id=9178 Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Nov 9 20:57:31 CET 2012 on sn-devel-104
2012-11-02build(waf): Fail "configure --with-cluster-support" if ctdb support is not ↵Björn Baumbach1-6/+10
available. Currently, configure only warns if cluster support is not found. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-02build(waf): check if we have ctdb_protocol.h in the cluster checksBjörn Baumbach1-0/+22
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-02build(waf): fix the cluster(ctdb) build without system talloc installedMichael Adam1-0/+3
This is analogous to the earlier patch for tdb. It temporarily adds the talloc include path to the includes search list for the ctdb-header configure checks. Signed-off-by: Michael Adam <obnox@samba.org> Tested-by: Björn Baumbach <bb@sernet.de>
2012-11-02build(waf): fix a tab indentation to spacesMichael Adam1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-23build(waf): Fix the --with-cluster buildMichael Adam1-0/+3
The problem with the cluster/ctdb configure checks in Samba currently is, that the headers need to include <tdb.h>. If there are no system tdb headers, configure fails to find tdb headers at this stage. Since the include is only required for some defines (TDB_DATA), the workaround is to temporarily add the included tdb copy's include path to the include search path in the configure test. The ctdb we run against will most likely have been compiled against a different version of TDB anyways... To properly fix this, we might need to change ctdb to rely on an external tdb library. Or to incorporate ctdb into samba as a component that uses the same shipped tdb version. Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Volker Lendecke <vl@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Oct 23 18:29:26 CEST 2012 on sn-devel-104
2012-10-23build: Add #define FREEBSD on FreeBSDAndrew Bartlett1-0/+1
This makes waf match autoconf Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 23 11:11:44 CEST 2012 on sn-devel-104
2012-10-23lib/replace: Fix detection of prctlAndrew Bartlett1-0/+8
2012-10-19s3:configure: check that struct utmp.ut_line is large enough for our use caseStefan Metzmacher1-0/+8
We use "smb/%u" with a 32-bit number, "smb/4294967295\0" requires 15 chars (including the '\0'). metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:smbd/utmp: remove ip address from utmp recordStefan Metzmacher1-4/+0
1. This was broken since Samba 3.2. when ipv6 support was added, it only worked for ipv6 addresses. 2. userspace tools only display the hostname field. 3. This is not really portable metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-18build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtinAndrew Bartlett1-0/+6
These modules are used by default and for various reasons cannot be compiled into a .so The code setting up these lists is generic, so it is easier to just assert early, for this non-default configuration. Andrew Bartlett Signed-off-by: Andreas Schneider <asn@samba.org> Address bug #9295 - Can't find guest.so module if auth_builtin is built as module. Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Thu Oct 18 13:14:38 CEST 2012 on sn-devel-104
2012-10-11vfs: Remove irixacl module (all the fucntions in it are unimplemented)Andrew Bartlett1-4/+0
2012-10-04waf: Build pam_smbpass module only if enabled.Andreas Schneider1-0/+3
2012-09-29build: Remove duplicate check for struct getquota_rslt member getquota_rslt_uAndrew Bartlett1-5/+0
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 29 08:51:03 CEST 2012 on sn-devel-104
2012-09-29build: Fix quota tests, including move of sysquotas.c to the top levelAndrew Bartlett1-6/+7
This correctly detects quotas on FreeBSD Andrew Bartlett
2012-09-26build: Remove unused --with-sys-quotas optionAndrew Bartlett1-1/+0
2012-09-26build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota ↵Andrew Bartlett1-1/+3
backend
2012-09-26build: Add waf configure support for non-linux quotasAndrew Bartlett1-1/+38
2012-09-23build: Make waf configure match autoconf for HPUX ACLsAndrew Bartlett1-0/+1
2012-09-23build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the defaultAndrew Bartlett1-6/+13
The autoconf build simply has 512 as the default, without a warning. Rather than enumerate every OS ever made, just handle the known exceptions. Andrew Bartlett
2012-09-22build: Try not build with LDAP if we do not have ldap.hAndrew Bartlett1-1/+1
2012-09-15wafbuild: check for dn_expand also in libinetBjörn Jacke1-0/+1
see bug #7472
2012-09-10wafbuild: add defines for linux quota and sysquota supportBjörn Jacke1-0/+8
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Sep 10 21:55:53 CEST 2012 on sn-devel-104
2012-09-07waf: add tests for NFS quota stuffBjörn Jacke1-0/+5
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 7 22:21:55 CEST 2012 on sn-devel-104
2012-09-07waf: add test for HAVE_DQB_FSOFTLIMITBjörn Jacke1-0/+3
2012-09-07waf: make checks for different XFS flavoursBjörn Jacke1-2/+20
2012-09-07s3:sysquota_xfs: check and include the right fs header file for xfs quotasBjörn Jacke1-1/+1
2012-09-04build: sync the waf ACL checks with configure.inAndrew Bartlett1-12/+35
This should give us full ACLs on the same set of hosts that the autoconf build supports. Andrew Bartlett
2012-09-04build: Remove references to charset modules - we no longer have theseAndrew Bartlett1-3/+0
2012-09-04build: remove unused HAVE_NO_ACLS defineAndrew Bartlett1-2/+0
2012-09-04s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DCAndrew Bartlett1-1/+1
The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104
2012-09-02waf: add new quota header checks and sysquota_4B source fileBjörn Jacke1-0/+2
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 2 23:21:22 CEST 2012 on sn-devel-104
2012-08-21build: Remove special case for the build farmAndrew Bartlett1-3/+0
Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
2012-08-17s3: Remove the gpfs_hsm_notify moduleVolker Lendecke1-1/+1
The functionality has been merged into vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3-vfs: Add new VFS module to fake setting an ACLAndrew Bartlett1-0/+4
The purpose of this module is to remove the relience on the system having ACL support to test NT ACLs. Andrew Bartlett
2012-08-07media_harmony VFS module: Add and build by default.Andrew Klaassen1-0/+1
- Supersedes previous patch. - Added various fixes for fake mtime functionality. - Now requires lp_cache_locked_write_times patch (bug 8912). - Removed various xattr functions to comply with recent VFS changes. - Changed SMB_STRUCT_DIR to DIR and SMB_STRUCT_DIRENT to struct dirent to comply with recent VFS changes. - Added manpage. - Added sample trigger_avid_update.py script. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Aug 7 15:16:39 CEST 2012 on sn-devel-104
2012-08-06build: Remove duplicate declaration of --enable-selftestAndrew Bartlett1-3/+0
2012-07-26s3:waf: add Darwin sendfile() testBjörn Jacke1-0/+23
2012-07-18s3: Compile with pthreadpool by defaultVolker Lendecke1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18config: The AIO engine is indepent of HAVE_AIO nowVolker Lendecke1-11/+13
Compile the basic aio engine always, it works via libasys/pthreadpool_sync in a sync fashion even if no pthreads are around. Everything else (linux aio, posix aio, aio fork) is now compiled as modules based on specific system capabilities Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add vfs_aio_posixVolker Lendecke1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-11build: fix some indentation (tabs/vs spaces) in source3/wscriptMichael Adam1-2/+2
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 11 19:37:12 CEST 2012 on sn-devel-104
2012-07-11build: fix waf checks for seteuid on non-Linux platformsMichael Adam1-5/+4
An indentation error had linux-specific checks called on non-linux with the effect that "#define USE_LINUX_THREAD_CREDENTIALS 1" was effective.
2012-07-04Add waf/configure tests for openat.Jeremy Allison1-0/+5
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 4 02:37:59 CEST 2012 on sn-devel-104
2012-07-03Fix the waf/autoconf builds to detect correctly the 32-bit or 64-bit syscall ↵Jeremy Allison1-14/+63
ABI on Linux. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 3 05:32:21 CEST 2012 on sn-devel-104
2012-07-02Disable selections of USE_LINUX_THREAD_CREDENTIALS until we have specificJeremy Allison1-11/+15
32-bit and 64-bit versions. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 2 03:02:47 CEST 2012 on sn-devel-104
2012-06-30s3:waf add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke1-2/+2
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104
2012-06-30Try and fix the autoconf build on Solaris/Nexenta/etc.Jeremy Allison1-0/+5
Their AC_TRY_RUN doesn't include any current CPPFLAGS. Make the set[res]uid checks independent of this. Needs a small change to the waf build in order to code with the change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 00:32:36 CEST 2012 on sn-devel-104
2012-06-29Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison1-1/+11
AIO lost wakeup problem. See this post: https://lists.samba.org/archive/samba-technical/2012-June/085101.html for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
2012-06-18s3:waf-build: build the idmap backends tdb2, rid, and hash by default (shared)Michael Adam1-1/+2