diff options
| author | Timur I. Bakeyev <timur@FreeBSD.org> | 2016-05-07 00:38:27 +0000 |
|---|---|---|
| committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2016-05-07 00:38:27 +0000 |
| commit | d510581cd41940cd25c80a664aa23448912d377b (patch) | |
| tree | e4b5bd82cee1dd9813f4c2dd7b11bd0c52c4814f /net/samba44/files/patch-source3__wscript | |
| parent | Update samba42 and samba43 to the latest versions. A lot of fixes are made to... (diff) | |
Add latest release of Samba 4.4. Port is NOT fully tested, don't use in the production(yet). Make backups before deploying.
Diffstat (limited to 'net/samba44/files/patch-source3__wscript')
| -rw-r--r-- | net/samba44/files/patch-source3__wscript | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/samba44/files/patch-source3__wscript b/net/samba44/files/patch-source3__wscript new file mode 100644 index 000000000000..618576c047d6 --- /dev/null +++ b/net/samba44/files/patch-source3__wscript @@ -0,0 +1,38 @@ +--- source3/wscript.orig 2016-03-22 11:00:33.000000000 +0200 ++++ source3/wscript 2016-03-24 22:47:08.814618712 +0200 +@@ -47,6 +47,7 @@ + opt.SAMBA3_ADD_OPTION('utmp') + opt.SAMBA3_ADD_OPTION('pthreadpool', with_name="enable", without_name="disable", default=True) + opt.SAMBA3_ADD_OPTION('avahi', with_name="enable", without_name="disable") ++ opt.SAMBA3_ADD_OPTION('dnssd', with_name="enable", without_name="disable") + opt.SAMBA3_ADD_OPTION('iconv') + opt.SAMBA3_ADD_OPTION('acl-support') + opt.SAMBA3_ADD_OPTION('dnsupdate') +@@ -863,6 +864,17 @@ + conf.SET_TARGET_TYPE('avahi-common', 'EMPTY') + conf.SET_TARGET_TYPE('avahi-client', 'EMPTY') + ++ if Options.options.with_dnssd: ++ conf.env.with_dnssd = True ++ if not conf.CHECK_HEADERS('dns_sd.h'): ++ conf.env.with_dnssd = False ++ if not conf.CHECK_FUNCS_IN('DNSServiceRegister', 'dns_sd'): ++ conf.env.with_dnssd = False ++ if conf.env.with_dnssd: ++ conf.DEFINE('WITH_DNSSD_SUPPORT', 1) ++ else: ++ conf.SET_TARGET_TYPE('dns_sd', 'EMPTY') ++ + if Options.options.with_iconv: + conf.env.with_iconv = True + if not conf.CHECK_FUNCS_IN('iconv_open', 'iconv', headers='iconv.h'): +@@ -1660,9 +1672,6 @@ + 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')) +- + explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',') + explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',') + |
