From 9fca4f71c0556095fa23b44902948223efa68587 Mon Sep 17 00:00:00 2001 From: Abhidnya Joshi Date: Mon, 1 Sep 2014 14:10:10 +0530 Subject: s3: vfs module: Adding new vfs module for Symantec VxFS. This mainly handles ACL related functions. Modified to add requirement for -DCFLAGS=-DXATTR_USER_NTACL="user.NTACL" and to hide access to XATTR_USER_NTACL by jra. Signed-off-by: Abhidnya Joshi Reviewed-by: Jeremy Allison Reviewed-by: Andrew Bartlett Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Sep 18 02:30:06 CEST 2014 on sn-devel-104 --- source3/wscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 44cce16b71..b285c5f38c 100644 --- a/source3/wscript +++ b/source3/wscript @@ -65,6 +65,10 @@ def set_options(opt): opt.SAMBA3_ADD_OPTION('glusterfs', with_name="enable", without_name="disable", default=True) + opt.add_option('--enable-vxfs', + help=("enable support for VxFS (default=no)"), + action="store_true", dest='enable_vxfs', default=False) + def configure(conf): from samba_utils import TO_LIST @@ -1796,6 +1800,9 @@ main() { conf.SET_TARGET_TYPE('gfapi', 'EMPTY') conf.undefine('HAVE_GLUSTERFS') + if Options.options.enable_vxfs: + conf.DEFINE('HAVE_VXFS', '1') + if conf.check_cfg(package='dbus-1', args='--cflags --libs', msg='Checking for dbus', uselib_store="DBUS-1"): if (conf.CHECK_HEADERS('dbus/dbus.h', lib='dbus-1') @@ -1905,6 +1912,9 @@ main() { if conf.CONFIG_SET('HAVE_GLUSTERFS'): default_shared_modules.extend(TO_LIST('vfs_glusterfs')) + if conf.CONFIG_SET('HAVE_VXFS'): + default_shared_modules.extend(TO_LIST('vfs_vxfs')) + if conf.CONFIG_SET('HAVE_DBUS'): default_shared_modules.extend(TO_LIST('vfs_snapper')) -- cgit