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

569 Commits

Author SHA1 Message Date
Andrew Bartlett
ad6ee6d55a build: Move Heimdal/MIT compat build rules to heimdal_build
This allows top level build rules to rely on these names at all times.

Andrew Bartlett
2011-04-26 11:29:29 +10:00
Jelmer Vernooij
67fd0cd62e Add check for krb5_free_unparsed_name, when using external heimdal. 2011-04-23 15:46:18 +02:00
Andrew Bartlett
ee4a7b3530 s4-heimdal_build: Add extra HAVE defines needed for the source3 krb5 code 2011-04-16 11:43:05 +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
Milan Crha
ea9f72c0c5 s4:heimdal - fix valgrind issue on Fedora 14
This should definitely fix bug #7858.

Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104
2011-02-25 12:39:20 +01:00
Matthias Dieter Wallnöfer
68c61a829b Revert "heimdal_build omit #line statments to allow valgrind to work again"
This reverts commit 80e23c68d8.
A better patch has been provided by Milan Crha in the following commit.
2011-02-25 11:54:02 +01:00
Andrew Bartlett
80e23c68d8 heimdal_build omit #line statments to allow valgrind to work again
The lex/yacc files were generated on Fedora 14, and have empty
filenames in #line declarations.  I don't know why this is, but it
seems best just to omit the #line statements.

This is what was causing Valgrind on Fedora not to run on Samba
binaries and programs linked to Samba libraries.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
2011-02-25 11:46:56 +01:00
Andrew Tridgell
baf629d98f s4-heimdal: allow heimdal build scripts to work from top level
the version_script handling relied on the directory layout. This makes
it independent of the directory structure

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Bartlett
0a4758770c s4-heimdal_build Remove talloc dep for krb5-glue.c
This glue does not require any internal Samba functionality, just the
same heimdal headers as the files it is providing a stub replacement for.

Andrew Bartlett
2011-01-04 14:40:21 +11:00
Andrew Bartlett
184098d484 s4-heimdal_build Remove talloc dependency from hdb-glue.c
This file can compile with just heimdal headers.

Andrew Bartlett
2011-01-04 14:34:27 +11:00
Jelmer Vernooij
3b4fd3573e heimdal_build: Add missing dependencies when building with system heimdal.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan  1 04:46:35 CET 2011 on sn-devel-104
2011-01-01 04:46:35 +01:00
Jelmer Vernooij
d93fd5f06b heimdal_build: Support using system gssapi library. 2011-01-01 04:00:04 +01:00
Jelmer Vernooij
6a669c7454 heimdal_build: Support using system hdb and kdc libraries. 2011-01-01 04:00:03 +01:00
Jelmer Vernooij
0d6c739260 heimdal_build: Add conditionals for all libraries. 2011-01-01 04:00:03 +01:00
Jelmer Vernooij
91fc7a2ddc heimdal_build: Allow using system krb5. 2011-01-01 04:00:03 +01:00
Jelmer Vernooij
4ea992428b heimdal_build: Allow using system heimntlm. 2011-01-01 04:00:03 +01:00
Jelmer Vernooij
3febaed9ba heimdal_build: Look for asn1_compile (but by default, don't use it). 2011-01-01 04:00:03 +01:00
Jelmer Vernooij
718c864d41 heimdal_build: Use consistent name for heimbase.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 22 02:24:24 CET 2010 on sn-devel-104
2010-12-22 02:24:24 +01:00
Jelmer Vernooij
25ee5b1689 heimdal_build: When using system hbase/hcrypto, don't compile our own versions. 2010-12-22 01:38:06 +01:00
Jelmer Vernooij
21b918e618 heimdal_build: Allow using system hbase and hcrypto. 2010-12-22 01:38:06 +01:00
Jelmer Vernooij
1ca35347cb heimdal: Fix build if using system roken.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 19 22:29:41 CET 2010 on sn-devel-104
2010-12-19 22:29:40 +01:00
Jelmer Vernooij
03fbf9ea0b heimdal_build: Simplify HEIMDAL_LIBRARY - version_script files are now taken from upstream rather than generated. 2010-12-18 00:47:06 +01:00
Jelmer Vernooij
2f75b53e80 heimdal_build: Add version-script for heimdal_base, hx509 and hcrypto. Convert hbase and hcrypto to libraries. 2010-12-18 00:47:06 +01:00
Jelmer Vernooij
c4a887538d heimdal_build: Add version-script for krb5.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 17 21:09:25 CET 2010 on sn-devel-104
2010-12-17 21:09:25 +01:00
Jelmer Vernooij
6dc807703d heimdal_build: Add version-script for gssapi. 2010-12-17 20:08:11 +01:00
Jelmer Vernooij
02ff0852e8 heimdal_build: Add version-script for asn1. 2010-12-17 20:06:15 +01:00
Jelmer Vernooij
555d334cf7 heimdal_build: Add version-script for hdb. 2010-12-17 20:01:21 +01:00
Jelmer Vernooij
2ded4668ea heimdal_build: Add version-script for kdc. 2010-12-17 20:00:58 +01:00
Jelmer Vernooij
55192fb3a8 heimdal_build: Add version-script for wind. 2010-12-17 19:55:54 +01:00
Jelmer Vernooij
de8133e3bb heimdal_build: Add version-script for ntlm. 2010-12-17 19:54:09 +01:00
Jelmer Vernooij
b4875d4dba heimdal: Add version script file for hcrypto (unused so far, as hcrypto still needs to be made a proper library). 2010-12-17 19:52:42 +01:00
Jelmer Vernooij
d4cc0d4f47 heimdal_build: Add version-script for roken. 2010-12-17 19:51:37 +01:00
Jelmer Vernooij
dd102a2c4a heimdal_build: Add version-script for com_err. 2010-12-17 19:50:52 +01:00
Jelmer Vernooij
c09d4b85b5 wafsamba: Specify full vscript path so non-autogenerated files are possible, too. 2010-12-17 19:38:12 +01:00
Jelmer Vernooij
402d622c0c heimdal_build: Simplify version_script handling. 2010-12-17 19:21:58 +01:00
Jelmer Vernooij
85299bea65 heimdal_build: Simplify library handling. 2010-12-17 18:42:34 +01:00
Stefan Metzmacher
1865bdc0f0 s4:heimdal_build: replace '+' by '_' for vscripts in HEIMDAL_LIBRARY()
metze
2010-12-13 13:07:22 +01:00
Andrew Tridgell
4debe69b73 s4-heimdal: enable symbol versioning in heimdal
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-12-08 05:26:06 +01:00
Andrew Bartlett
c5bea98ddb s4:heimdal: import lorikeet-heimdal-201012010201 (commit 81fe27bcc0148d410ca4617f8759b9df1a5e935c) 2010-12-01 17:00:47 +11:00
Andrew Tridgell
69c6e971a2 heimdal: fixed the waf build with a space in the directory name 2010-11-21 23:10:14 +11:00
Arnaud Faucher
bc058b79bc heimdal: Don't depend on compile_asn1 and et_compile when using system versions.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 16:43:47 CET 2010 on sn-devel-104
2010-11-20 16:43:47 +01:00
Andrew Tridgell
1a65180728 s4-heimdal: ask for non-atomic heimdal
this allows us to build with compilers other than gcc
2010-11-17 23:55:39 +11:00
Jelmer Vernooij
c3e24bb89f heimdal_base: Fix include path so heim_threads.h can be found.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 15 12:26:53 UTC 2010 on sn-devel-104
2010-11-15 12:26:53 +00:00
Jelmer Vernooij
ee69c4f4b3 heimdal_base: Add missing dependency on replace. 2010-11-15 11:43:05 +00:00
Andrew Bartlett
6a27fbbfc4 heimdal Extra files required for merge up to current heimdal 2010-11-15 01:25:06 +00:00
Andrew Bartlett
f20cf61080 Add attribute macros for Heimdal to use
Heimdal uses HEIMDAL_NORETURN_ATTRIBUTE and HEIMDAL_PRINTF_ATTRIBUTE,
and we need to provide a link between these and Samba's function
attribute handling.

Andrew Bartlett
2010-11-15 01:25:06 +00:00
Jelmer Vernooij
7e8ea2ca34 unix_privs: Add missing dependency on libreplace. 2010-11-12 17:42:13 +00:00
Jelmer Vernooij
32889f8346 heimdal_build: Add missing dependency on replace, necessary because replace.h is included. 2010-11-12 17:42:13 +00:00
Jelmer Vernooij
3deece5591 s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Andrew Tridgell
a139628423 s4-waf: added a lexyacc.sh script that manually rebuilds the heimdal parsers
we so rarely need to rebuild these that it is simplest to just run
lexyacc.sh when we import a new heimdal release
2010-10-30 23:49:02 +11:00
Andrew Tridgell
df34bb2685 waf: build all libraries after all object files
this makes it easier to perform symbol checking before the link
stage. The two new build groups symbolcheck and syslibcheck will be
used by the symbols.py extension
2010-10-30 23:49:00 +11:00
Andrew Tridgell
89c829f654 s4-heimdal: removed the use of signal.c from roken
we don't need to replace signal()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:48:59 +11:00
Jelmer Vernooij
8cf61377aa waf: Remove lib prefix from libraries manually. 2010-10-26 10:17:17 -07:00
Jelmer Vernooij
b2af2fd3de torture_local: Add missing dependency on socket_wrapper. 2010-10-26 10:17:17 -07:00
Stefan Metzmacher
8ea6f41ec9 s4-waf: don't generate PACKAGE_* defines in config.h
- We don't use them anywhere (heimdal has special rules)
- They calculate the version at configure time
  and may contain the wrong git hash while building
- If we really need them in future we should add them
  to version.h and not config.h, as the changing git hash
  will trigger a full rebuild if config.h changes.

metze
2010-10-25 08:16:28 +00:00
Jelmer Vernooij
833480d3ad s4: Rename LIBSAMBA-* to libsamba-* 2010-10-24 00:20:04 +00:00
Jelmer Vernooij
9757a0c54c s4: Rename UID_WRAPPER to uid_wrapper.
Only link to uid_wrapper when it is enabled.
2010-10-23 22:24:06 +00:00
Andrew Tridgell
0966776b36 waf: fixed the handling of -Wl,-no-undefined
this flag was not being propogated to our link rules, so we were not
in fact enforcing no undefined symbols in libraries.
2010-10-21 19:03:27 +11:00
Andrew Tridgell
2dcb596e83 s4-waf: removed dependencies on missing subsystems
these were left over from the old config.mk system
2010-10-21 19:03:24 +11:00
Andrew Tridgell
7cba3cfac8 waf: replace the is_bundled option with private_library
'private_library' better captures what we are trying to get at when we
bundle a library
2010-10-21 19:03:24 +11:00
Andrew Tridgell
968381a4e2 waf: put -Wl,-no-undefined only in the linker flags, not when compiling C 2010-10-19 11:22:35 +11:00
Jelmer Vernooij
d1ca35cbec heimdal_build: Add dependency on com_err to HEIMDAL_CONFIG.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 18 10:27:47 UTC 2010 on sn-devel-104
2010-10-18 10:27:47 +00:00
Jelmer Vernooij
9f0d1c72be heimdal: Attempt to fix path of hdb_asn1.h
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 18 00:15:11 UTC 2010 on sn-devel-104
2010-10-18 00:15:11 +00:00
Jelmer Vernooij
a31e10eab1 heimdal: Add local simpler copy of to_list(). 2010-10-17 19:42:41 +02:00
Jelmer Vernooij
c161ad86d6 heimdal: Remove some unused arguments from HEIMDAL_SUBSYSTEM().
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 16 16:14:24 UTC 2010 on sn-devel-104
2010-10-16 16:14:24 +00:00
Jelmer Vernooij
9147e19611 heimdal: Allow leaving off prefix from asn1 option_file. 2010-10-16 17:33:24 +02:00
Jelmer Vernooij
eab84a6ed0 heimdal: Leave off ../heimdal prefix to HEIMDAL_BINARY(). 2010-10-16 17:33:23 +02:00
Jelmer Vernooij
d3ea64451c heimdal: Allow leaving off prefix to HEIMDAL_ERRTABLE(). 2010-10-16 17:33:23 +02:00
Jelmer Vernooij
2aba5aa4b6 heimdal: Allow leaving off prefix for HEIMDAL_ASN1(). 2010-10-16 17:33:23 +02:00
Jelmer Vernooij
c5d4d94104 heimdal: Allow leaving off ../heimdal prefix for proto headers. 2010-10-16 17:33:22 +02:00
Jelmer Vernooij
49d20a5d5f heimdal: Allow leaving off ../heimdal prefix for source files. 2010-10-16 17:33:22 +02:00
Jelmer Vernooij
c3009ac689 heimdal: Add convenience functions for finding heimdal paths. 2010-10-16 17:33:20 +02:00
Jelmer Vernooij
953d253748 heimdal: Call HEIMDAL_AUTOPROTO() manually. 2010-10-16 17:33:20 +02:00
Jelmer Vernooij
32fce1f075 heimdal: Call HEIMDAL_AUTOPROTO_PRIVATE() manually. 2010-10-16 17:33:19 +02:00
Jelmer Vernooij
1c4c96d3fe heimdal: Add variables for source files. 2010-10-16 17:33:19 +02:00
Jelmer Vernooij
196e8d1655 heimdal: Simplify handling of ../heimdal prefixes in HEIMDAL_SUBSYSTEM. 2010-10-16 17:33:18 +02:00
Jelmer Vernooij
b2af44e92b heimdal_build: Fix detection of system roken library. 2010-10-16 17:33:17 +02:00
Jelmer Vernooij
c3366c19a7 heimdal_build: Remove ignored argument ldflags from HEIMDAL_BINARY(). 2010-10-16 17:33:16 +02:00
Jelmer Vernooij
50d3baffb2 heimdal_build: Support using system asn1 library.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 16 02:14:32 UTC 2010 on sn-devel-104
2010-10-16 02:14:32 +00:00
Jelmer Vernooij
12fa110219 heimdal_build: Skip some hx509 code when using system hx509. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
8db6453ae2 heimdal_build: Add comment with stub for finding the system libtommath. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
b244383e75 heimdal_build: Initial work on supporting an external heimdal library. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
471e57edf8 heimdal_build: Support using system hx509 library when explicitly
requested.
2010-10-16 01:32:06 +00:00
Jelmer Vernooij
3fe2bfddda heimdal_build: Fix build with system roken. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
6852cc4a7a heimdal_build: Put version objects in a separate subsystem. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
2e038a78fd heimdal: Support using system roken. 2010-10-16 01:32:06 +00:00
Jelmer Vernooij
7af5687504 heimdal_build: Use existing functions for finding system libraries. 2010-10-16 01:32:05 +00:00
Jelmer Vernooij
68d1b3b505 heimdal Add missing dependencies on wind.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct 15 23:20:22 UTC 2010 on sn-devel-104
2010-10-15 23:20:22 +00:00
Jelmer Vernooij
613e03f908 heimdal_build: Allow using system wind.
Please note that to use the system wind library the user explicitly has
to specify --bundled-library=!wind . Without that option we will always
use the included wind library.
2010-10-15 22:38:07 +00:00
Andrew Tridgell
f1f5a23400 s4-heimdal: fixed some trailing commas in heimdal build 2010-10-14 16:23:45 +11:00
Jelmer Vernooij
e13b934355 heimdal: Add soname for com_err.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 13 20:00:40 UTC 2010 on sn-devel-104
2010-10-13 20:00:40 +00:00
Jelmer Vernooij
f0124542bc heimdal: Add sonames.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 13 18:15:04 UTC 2010 on sn-devel-104
2010-10-13 18:15:04 +00:00
Andrew Tridgell
b5ffdb6f9c s4: don't rebuild all of heimdal when dynconfig options change
only 2 files in heimdal depend on dynconfig variables
2010-10-13 11:00:04 +00:00
Jelmer Vernooij
5de1274d87 heimdal_build: Fix dependencies for hx509. 2010-10-10 03:12:05 +00:00
Andrew Tridgell
58c1d0c256 s4-heimdal: disable using the system compile_et for now
just checking that compile_et exists isn't enough. It has to actually
work. Quite a few build farm systems have /usr/bin/compile_et, but it
gets link errors when you try to use it (missing symbols et_list_lock
and et_list_unlock)

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 07:48:16 UTC 2010 on sn-devel-104
2010-10-06 07:48:16 +00:00
Jelmer Vernooij
46b4fe0c48 heimdal-build: Require com_err library to provide com_right_r function. 2010-10-05 23:56:44 +02:00
Kamen Mazdrashki
95c6c9b69b heimdal-com_err: fix the build for systems with older 'com_err' library
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 21:36:41 UTC 2010 on sn-devel-104
2010-10-05 21:36:41 +00:00
Jelmer Vernooij
5548d3d41e Add missing dependencies for com_err. 2010-10-05 00:38:35 +02:00
Jelmer Vernooij
c8b6be016a heimdal-build: Simplify calls to convenience functions. 2010-10-05 00:38:35 +02:00
Jelmer Vernooij
3c0a57a99c heimdal-build: Add HEIMDAL_BINARY convenience method. 2010-10-05 00:38:35 +02:00