1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

208 Commits

Author SHA1 Message Date
Günther Deschner
5290927187 s3-vfs: another attempt to fix the Tru64 build.
vfsops struct on Tru64 has a vfs_init function pointer.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
2011-04-22 01:49:59 +02:00
Günther Deschner
0e00351570 s3-waf: try to fix the build on sunos5.
Guenther
2011-04-22 00:49:54 +02:00
Günther Deschner
a505806aa0 s3-waf: fix typo in comment.
Guenther
2011-04-22 00:49:28 +02:00
Andrew Bartlett
3a2afe4285 s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()
This Heimdal function does not set the global state, and allows the
GSSAPI server to progress further when compiled against Heimdal (such
as in the top level build).

The ability to specify a keytab has been removed from the API as it is
unused, and and the Heimdal function (avoiding setting global
variables) works with an open keytab.

Andrew Bartlett
2011-04-20 04:31:07 +02:00
Kai Blin
c2a62e8546 s3 waf: Mimic the autoconf check for netgrent
The autoconf check for netgrent headers makes sure that the compiler flag used
(-Werror-implicit-function-declaration) is recognized by the compiler before
using it for the test. Mimic this behaviour in the waf checks.
Thanks to gd for noticing this.

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
2011-04-18 16:24:15 +02:00
Andrew Bartlett
4ba1375526 libcli/auth Move krb5 wrapper functions from s3 into common
This requires a small rework of the build system to ensure that the
correct #define statements are made in both the s3 and top level
builds.  We now define the various HAVE_ macros in config.h at all
times, using heimdal_build/wscript_configure when that is in use.

Andrew Bartlett
2011-04-14 16:38:26 +10:00
Günther Deschner
1b4d27d45a s3-waf: add --with-profiling-data configure option.
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
a7ba4b5baa s3-waf: fix typo in ctdb checks.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Apr  5 17:20:19 CEST 2011 on sn-devel-104
2011-04-05 17:20:19 +02:00
Michael Adam
d143bc444c s3:waf: add cluster support / ctdb checks.
The checks are roughtly taken from the autoconf ctdb checks.

I was not able to implement checks with CHECK_DECL, CHECK_TYPE,
CHECK_HEADER and friends, because the ctdb headers seem to need too
special a setup of includes and defines in order to compile.
So I used CHECK_CODE() in all checks.

In the long run, this should be changed.

I supported a --with-ctdb-dir options to allow for building
against a ctdb that is not installed into /usr (e.g. against
a local git checkout). In order to implement this, I had to
hand includes in to the CHECK_CODE function.
Here I found a problem with CHECK_CODE (or even the core waf
conf.check() function: The CHECK_CODE function does not
expand the includes it gets (i.e. '#' is not expanded to the
base dir, and relative paths are left relative). But the core
check() function seems to ignore all include paths that are
not absolute paths. Hence in particular the usual default '# .'
for the includes is useless. So I preprocessed the list of includes
for the cluster checks. But I assume that it would be useful
to move this expansion into CHECK_CODE or even into the core
waf check function.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Apr  2 03:26:55 CEST 2011 on sn-devel-104
2011-04-02 03:26:55 +02:00
Christian Ambach
ed46dfc4f1 s3: use getgrset() when it is available
When getgrouplist() is not defined, use getgrset() if it is defined
instead of using the initgroups() + getgroups() combo

Major contributions from Yannick Bergeron <yaberger@ca.ibm.com>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104
2011-03-19 10:09:38 +01:00
Günther Deschner
33b8d0a6ff s3-waf: use HAVE_ADS env to decide whether to build libads.so
Guenther
2011-03-19 00:11:18 +01:00
Günther Deschner
1413af95fc s3-waf: add --with-pam_smbpass configure option.
We build pam_smbpass independent from this configure option though.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 17 14:52:33 CET 2011 on sn-devel-104
2011-03-17 14:52:33 +01:00
Günther Deschner
7bc381bdc5 s3-waf: move HAVE_LDAP_SASL_WRAPPING define to the HAVE_LDAP block.
Guenther
2011-03-17 14:05:48 +01:00
Günther Deschner
5e3da3fc50 s3-build: try to silence annoying "Ignoring invalid value 'vlp' for parameter 'printing'"
warning on the buildfarm.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104
2011-03-15 23:38:43 +01:00
Günther Deschner
88ff230ae9 s3-waf: fix typo.
Guenther
2011-03-10 23:25:04 +01:00
Günther Deschner
e63f0dfba1 s3-waf: add wildcard commands from main wscript.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar  4 02:11:11 CET 2011 on sn-devel-104
2011-03-04 02:11:10 +01:00
Günther Deschner
6b3d68fffd s3-waf: add check for SEEKDIR_RETURNS_VOID.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar  4 01:13:54 CET 2011 on sn-devel-104
2011-03-04 01:13:54 +01:00
Günther Deschner
0fb246ba73 s3-waf: add check for HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR.
Guenther
2011-03-04 00:28:28 +01:00
Günther Deschner
9167d70e77 libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
Bjoern, Metze, please check.

Guenther
2011-03-04 00:28:27 +01:00
Günther Deschner
6b587d74d9 s3-waf: start adding checks for quota support.
Guenther
2011-02-23 22:33:52 +01:00
Günther Deschner
8bca9df258 s3-waf: add check for getspnam().
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
b1e5dc716e s3-waf: add check for TDB_ERR_NESTING.
Guenther
2011-02-22 22:57:55 +01:00
Günther Deschner
7f0ef4fb4a s3-waf: add check for sendfile on AIX.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
2011-02-22 22:36:53 +01:00
Günther Deschner
2b53e7eec7 s3-waf: add check for sendfile on solaris.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
6c32fe5207 s3-waf: add check for sendfile on hpux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
2babc4fcf4 s3-waf: add check for sendfile on freebsd.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
d71c024131 s3-waf: add check for sendfile on linux.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
ef896e647a s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Guenther
2011-02-22 21:52:19 +01:00
Günther Deschner
79b41dcae1 s3-waf: add check for ftruncate extend.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
2011-02-22 13:35:48 +01:00
Günther Deschner
4fe3ecefa0 s3-waf: add check for realpath() NULL arg.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
33d676cd7e s3-waf: add check for makedev().
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
bd333551bd s3-waf: add check for TIME_T_MAX.
Guenther
2011-02-22 12:46:06 +01:00
Günther Deschner
2984003275 s3-waf: add check for /proc/sys/kernel/core_pattern.
Guenther
2011-02-22 12:46:06 +01:00
Andrew Tridgell
15c0440349 s3-waf: work around broken cups-config --libs output
"cups-config --libs" returns -lgssapi_krb5, which ties it to the
system krb5 library. It should get this via the indirect dependency of
libcups.so instead.

Work around this by using 'cups' as the library and avoid using --libs
in the cups-config command

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
de71662908 s3-waf: added support for in-tree heimdal in source3 waf build
this sets up the right defines for a in-tree heimdal build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
0234ac4e3c s3-waf: use Logs.warn() not print for configure warnings
this highlights the warning for the user

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
76e3af95c3 s3-waf: make pieces of the source3 waf wscript depends on toplevel_build
this will allow the toplevel build to use source3/wscript for
configure options

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Günther Deschner
3c9703f485 s3-waf: we need to globally -Ilib/replace
Guenther
2011-02-18 15:39:28 +01:00
Günther Deschner
a2f4a17b5e s3-waf: fix popt support.
Guenther
2011-02-18 15:34:27 +01:00
Andrew Bartlett
0bad0e3ff2 s3-libads Remove MIT-specific krb5_princ_realm macro calls.
When compiled against heimdal, we need to use a more elegant API.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Tridgell
88508291fe s3-waf: fixed the include paths for samba public libraries
this fixes the extra global includes for the s3 waf build to be
conditional on whether talloc, tevent and tdb are system libraries or
not.

This fixes a problem where in-tree includes could be used with system
libraries

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:47 +11:00
Günther Deschner
2045cd7ed7 s3-waf: add check for "struct sigevent" and some of its members.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
2011-02-17 12:01:58 +01:00
Günther Deschner
ce718bb521 s3-waf: add check for "struct utimbuf".
Guenther
2011-02-17 11:16:06 +01:00
Andrew Tridgell
e1f2442096 s3-waf: move the KRB5_DEPRECATED configure check out of lib/replace
this needs to be in souce3/, as otherwise it can't handle an in-tree
kerberos library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17 00:55:56 +01:00
Günther Deschner
9e822f1032 s3-waf: add check for struct stat st_flags member.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 23:04:35 CET 2011 on sn-devel-104
2011-02-16 23:04:35 +01:00
Günther Deschner
afb77d135e s3-waf: add some missing checks for macosx.
Guenther
2011-02-16 21:59:15 +01:00
Günther Deschner
5d3f956925 s3-waf: add check for __NR_inotify_init declaration.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 19:28:18 CET 2011 on sn-devel-104
2011-02-16 19:28:18 +01:00
Günther Deschner
a029235b3e s3-waf: add check for various sysconf() variables.
Guenther
2011-02-16 18:39:41 +01:00
Günther Deschner
9d78512b2b s3-waf: add check for posix_fadvise().
Guenther
2011-02-16 18:39:40 +01:00
Günther Deschner
1cc0fb5a9a s3-waf: add check for hires timestamps in struct stat.
Guenther
2011-02-16 18:39:38 +01:00