summaryrefslogtreecommitdiffstats
path: root/source3/wscript
Commit message (Collapse)AuthorAgeFilesLines
* s3-waf: build new vfs_worm moduleVolker Lendecke2013-12-121-0/+1
| | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* build: check linux/fs.h for compression flagsDavid Disseldorp2013-11-271-1/+2
| | | | | | | | | | | | | | Needed for old distributions (e.g. SLES8), which provide a linux/fs.h without the FS_IOC_GETFLAGS/FS_COMPR_FL defines needed for the btrfs VFS module. Reported-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Nov 27 18:44:14 CET 2013 on sn-devel-104
* vfs_btrfs: add [GET/SET]_COMPRESSION handlersDavid Disseldorp2013-11-221-1/+1
| | | | | | | | | Translate such requests into FS_IOC_GETFLAGS and FS_IOC_SETFLAGS ioctls respectively. The module makes no distinction between compression types, only whether or not compression is enabled. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* waf: consolidate libintl related checksChristian Ambach2013-08-091-5/+4
| | | | | | | | | | | | | | consolidate the dealing with functions from libintl and the handling of checking if libiconv is required or not to a common place in lib/replace also add a new samba_intl subsystem that has dependencies on the appropriate set of libraries (libintl, libintl+libiconv or none) that can be used as a general dependency by code that depends on the internationalization libraries Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-ctdb: Fix auto-enabling of CTDB readonly supportDaniel Gan-Levi2013-06-251-0/+28
| | | | | | | | | This fixes Bug 9957 Bug: https://bugzilla.samba.org/show_bug.cgi?id=9957 Signed-off-by: Daniel Gan-Levi <danielg@il.ibm.com> Reviewed-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* Check for fstatat.Jeremy Allison2013-06-101-0/+1
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* vfs_glusterfs: Samba VFS module for glusterfsAnand Avati2013-05-301-0/+19
| | | | | | | | | | | Implement a Samba VFS plugin for glusterfs based on gluster's gfapi. This is a "bottom" vfs plugin (not something to be stacked on top of another module), and translates (most) calls into closest actions on gfapi. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Simo Sorce <idra@samba.org> Signed-off-by: Anand Avati <avati@redhat.com>
* swat: Remove swat.Kai Blin2013-05-181-4/+0
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
* waf: build vfs_aixacl2 module by default on AIXChristian Ambach2013-05-171-1/+1
| | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* vfs: Add new VFS module vfs_nfs4acl_xattr to use nfs4acl.idlAndrew Bartlett2013-05-091-1/+1
| | | | | | | This uses the xattr format used by the patches at http://users.suse.com/~agruen/nfs4acl/ Andrew Bartlett Reviewed-by: Jeremy Allison <jra@samba.org>
* build: default --with-regedit to "auto" instead of "yes"Michael Adam2013-05-061-1/+1
| | | | | | | | | | | This means we don't build regedit when there is no ncurses and this is not an error for the overall build. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Mon May 6 20:11:09 CEST 2013 on sn-devel-104
* build: fix --with-regedit to properly honour the yes/no/auto schemeMichael Adam2013-05-061-1/+16
| | | | | | | | I.e. fail configure when ncurses support is not found but regedit build was requested. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Kai Blin <kai@samba.org>
* waf: Create a better wscript for finding ncurses.Andreas Schneider2013-04-291-8/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* regedit: Introduce dialog windows.C. Davis2013-04-291-0/+2
| | | | | | | | | | | | Link to ncurses "panels" library to support popup dialog windows, and begin working on a small dialog library. Right now, it is useful for "yes/no" confirmation popups, but later it'll be used for more complex forms for editing values. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* regedit: First crack at linking to ncurses.C. Davis2013-04-291-0/+10
| | | | | | | | | First attempt of editing build scripts to link to ncurses libraries. It seems to work, though checks may need to be expanded upon. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Implements a vfs module for cephfs, a distributed file systemSam Lang2013-04-241-0/+15
| | | | | | | | | | | with posix semantics, built on the ceph distributed object storage layer. The ceph vfs module interfaces to the libcephfs userspace API, and is primarily a lightweight wrapper around libcephfs, translating error codes and parameters as necessary. Signed-off-by: Sam Lang <sam.lang@inktank.com> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE> Reviewed-by: Jeremy Allison <jra@samba.org>
* build: Remove extra space in shebangAndrew Bartlett2013-04-101-1/+1
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* s3:wscript: change --with-dmapi to default=auto to match the autoconf buildStefan Metzmacher2013-04-031-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Apr 3 11:45:12 CEST 2013 on sn-devel-104
* s3:modules: fix the build of vfs_notify_fam (bug #9545)Stefan Metzmacher2013-04-031-0/+30
| | | | | | | This adds the --with-fam option and configure checks. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* s3-winbindd: Add new module idmap_rfc2307Christof Schmitt2013-03-091-1/+1
| | | | | | | | This module allows querying id mappings from LDAP servers as described in RFC 2307. The LDAP records can be queried from an Active Directory Server or from a stand-alone LDAP server. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-vfs: add vfs_btrfs moduleDavid Disseldorp2013-03-091-0/+6
| | | | | | | Currently it only plumbs itself into the copy_chunk call path, translating such requests into BTRFS_IOC_CLONE_RANGE calls. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: Correctly check for prctl in just one place.Andreas Schneider2013-03-051-9/+1
| | | | Reviewed-by: David Disseldorp <ddiss@samba.org>
* Improve the configure tests for aio_suspend to get rid of warnings. Timur ↵Richard Sharpe2013-02-091-1/+1
| | | | | | | | | | | | provided the wscript method, I added the configure.in correction. Signed-off-by: Timur Bakeyev <timur@freebsd.org> Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Feb 9 09:24:06 CET 2013 on sn-devel-104
* source3/wscript: support 'pdb_ldap' module in configureAlexander Bokovoy2013-02-061-0/+13
| | | | | | | | | While PASSDB module ldapsam is called pdb_ldapsam internally, support specifying 'pdb_ldap' during configure step. This should make transition to pdb_ldapsam transparent to distributions. Reviewed-by: Andreas Schneider <asn@samba.org>
* Rename pdb_ldap to pdb_ldapsamAndreas Schneider2013-02-061-1/+1
| | | | | | | This patch moves pdb_ldap to pdb_ldapsam unconditionally and makes possible to load ldapsam.so dynamically Reviewed-by: Alexander Bokovoy <ab@samba.org>
* Fix typo in warning messageVolker Lendecke2013-02-041-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-By: Ira Cooper <ira@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Feb 4 11:48:25 CET 2013 on sn-devel-104
* smbd: Always compile vfs_commitVolker Lendecke2013-01-141-0/+1
| | | | | | There's no reason not to Reviewed by: Jeremy Allison <jra@samba.org>
* configure: Fix bug 9546, aio_suspend detection on FreeBSDVolker Lendecke2013-01-141-1/+1
| | | | | | NULL is not defined without some includes Reviewed by: Jeremy Allison <jra@samba.org>
* samr: Make use of posix_openptVolker Lendecke2013-01-141-1/+1
| | | | Reviewed by: Jeremy Allison <jra@samba.org>
* configure(waf): Fail "configure --with-ads" if ads support is not availableMichael Adam2012-11-231-24/+50
| | | | | | | | | | | | | | Fix for bug #9350 This establishes the "auto" mode as default for ads-support, when neither "--with-ads" nor "--without-ads" is specified for configure. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Baumbach <bb@sernet.de> Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Nov 23 19:34:55 CET 2012 on sn-devel-104
* build(waf): fix a typoChristian Ambach2012-11-201-1/+1
| | | | | Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Nov 20 11:54:51 CET 2012 on sn-devel-104
* build: add DMAPI configure option and checksChristian Ambach2012-11-091-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
* build(waf): Fail "configure --with-cluster-support" if ctdb support is not ↵Björn Baumbach2012-11-021-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>
* build(waf): check if we have ctdb_protocol.h in the cluster checksBjörn Baumbach2012-11-021-0/+22
| | | | | Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org>
* build(waf): fix the cluster(ctdb) build without system talloc installedMichael Adam2012-11-021-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>
* build(waf): fix a tab indentation to spacesMichael Adam2012-11-021-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* build(waf): Fix the --with-cluster buildMichael Adam2012-10-231-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
* build: Add #define FREEBSD on FreeBSDAndrew Bartlett2012-10-231-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
* lib/replace: Fix detection of prctlAndrew Bartlett2012-10-231-0/+8
|
* s3:configure: check that struct utmp.ut_line is large enough for our use caseStefan Metzmacher2012-10-191-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>
* s3:smbd/utmp: remove ip address from utmp recordStefan Metzmacher2012-10-191-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>
* build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtinAndrew Bartlett2012-10-181-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
* vfs: Remove irixacl module (all the fucntions in it are unimplemented)Andrew Bartlett2012-10-111-4/+0
|
* waf: Build pam_smbpass module only if enabled.Andreas Schneider2012-10-041-0/+3
|
* build: Remove duplicate check for struct getquota_rslt member getquota_rslt_uAndrew Bartlett2012-09-291-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
* build: Fix quota tests, including move of sysquotas.c to the top levelAndrew Bartlett2012-09-291-6/+7
| | | | | | This correctly detects quotas on FreeBSD Andrew Bartlett
* build: Remove unused --with-sys-quotas optionAndrew Bartlett2012-09-261-1/+0
|
* build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any supported sysquota ↵Andrew Bartlett2012-09-261-1/+3
| | | | backend
* build: Add waf configure support for non-linux quotasAndrew Bartlett2012-09-261-1/+38
|
* build: Make waf configure match autoconf for HPUX ACLsAndrew Bartlett2012-09-231-0/+1
|