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

336 Commits

Author SHA1 Message Date
Jelmer Vernooij
9085499bbb heimdal_build: Explicitly specify 'YES' when enabling external
libraries.
2010-01-01 18:32:37 +01:00
Andrew Bartlett
5bc87c14a1 s4:heimdal: import lorikeet-heimdal-200909210500 (commit 290db8d23647a27c39b97c189a0b2ef6ec21ca69) 2009-11-13 23:19:05 +11:00
Stefan Metzmacher
21644c5fed s4:heimdal_build: allow flex-2.5.35 with bison-2.3
metze
2009-11-12 18:51:21 +01:00
Torgeir Lerkerød
6e5dad49d9 S4: Building on a system with libintl
Heimdal's internal buildsystem uses a different define for checking for libintl than what samba uses. LIBINTL vs HAVE_LIBINTL_H. Since changing heimdals defineswould brake dropin merges of heimdal. This is a simple workaround in line with others in heimdal_build catalog.

Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-21 15:46:38 +02:00
Stefan Metzmacher
f07e77e13f s4:heimdal_build: fix one more problem with automatic dependecies
metze
2009-09-15 07:49:26 +02:00
Stefan Metzmacher
d1457b6648 s4:heimdal_build: fix the build with --enable-automatic-dependencies
We need to create the header file before we generate the source file.

metze
2009-09-14 10:01:46 +02:00
Andrew Bartlett
e29cbda452 s4:heimdal_build Fix build breakages caused by asn1compile change
The issue was that we referenced an asn1compile generated file by
name, not by the subsystem is was generated by.

Andrew Bartlett
2009-09-13 22:12:12 -07:00
Andrew Bartlett
fde8c46855 s4:heimdal_build Love pointed me at the --one-code-file option to asn1_compile
This new option avoids a lot of code that was used to intuit what
files would be output by the compiler.

Andrew Bartlett
2009-09-13 20:52:51 -07:00
Stefan Metzmacher
f2fa9e6246 s4:heimdal_build: lib/hcrypto/evp-aes-cts.o belongs to HEIMDAL_HCRYPTO
metze
2009-08-26 16:32:48 +02:00
Stefan Metzmacher
996a2054fb s4:heimdal_build: define HEIMDAL_LOCALEDIR
metze
2009-08-05 10:12:19 +02:00
Andrew Bartlett
cd1d7f4be7 s4:heimdal: import lorikeet-heimdal-200908050050 (commit 8714779fa7376fd9f7761587639e68b48afc8c9c)
This also adds a new hdb-glue.c file, to cope with Heimdal's
uncondtional enabling of SQLITE.

(Very reasonable, but not required for Samba4's use).

Andrew Bartlett
2009-08-05 12:18:17 +10:00
Andrew Tridgell
58e5e1ea8d make the UID_WRAPPER skip checks at runtime
This fixes two issues pointed out by Andrew. It adds a runtime
uwrap_enabled() call that wraps the skips needed for uid emulation. It
also makes the skip in the directory_create_or_exist() function only
change the uid checking code, not the permissions code
2009-08-05 11:21:06 +10:00
Andrew Tridgell
fd43e0ee09 added a uid_wrapper library
This library intercepts seteuid and related calls, and simulates them
in a manner similar to the nss_wrapper and socket_wrapper
libraries. This allows us to enable the vfs_unixuid NTVFS module in
the build farm, which means we are more likely to catch errors in the
token manipulation.

The simulation is not complete, but it is enough for Samba4 for
now. The major areas of incompleteness are:

 - no emulation of setreuid, setresuid or saved uids. These would be
   needed for use in Samba3

 - no emulation of ruid changing. That would also be needed for Samba3

 - no attempt to emulate file ownership changing, so code that (for
   example) tests whether st.st_uid matches geteuid() needs special
   handling
2009-08-05 10:51:00 +10:00
Andrew Bartlett
f6bed79ec6 Revert "s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version"
This is now handled correctly in the newly imported Heimdal

This reverts commit 4a754d029b.
2009-07-17 08:39:51 +10:00
Stefan Metzmacher
4a754d029b s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler version
Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to
__attribute__ ((deprecated)) which is not supported by all compilers
we care about.

This should fix the build on Tru64

metze
2009-07-16 12:24:47 +02:00
Stefan Metzmacher
98aba452fb s4:heimdal_build: try to fix the build on systems without ifaddrs.h
metze
2009-07-16 12:08:56 +02:00
Stefan Metzmacher
c9fe3256d8 s4:heimdal_build: tell heimdal we have inet_aton()
This should fix problems on Solaris.

metze
2009-07-16 11:41:27 +02:00
Stefan Metzmacher
3fa212af61 s4:heimdal_build: try to fix the build on Solaris
The problem seems to be #define flock rk_flock

heimdal/../heimdal_build/replace.c: In function `rk_flock':
heimdal/../heimdal_build/replace.c:64: error: storage size of 'lock' isn't known
heimdal/../heimdal_build/replace.c:64: warning: unused variable `lock'

metze
2009-07-16 08:51:51 +02:00
Stefan Metzmacher
dea2e4690a s4:heimdal_build: try to fix the build on Solaris
We need the definition of 'struct flock'.

metze
2009-07-15 20:43:23 +02:00
Björn Jacke
382d5c8f5b s4:heimdal: teach heimdal we have (v)aѕprintf in libreplace 2009-07-15 18:40:57 +02:00
Björn Jacke
b08ca108ef ѕ4:heimdal: teach heimdal that we have strnlen via libreplcae 2009-07-15 18:32:58 +02:00
Stefan Metzmacher
5d4d9d333d s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the last import
Also commit the regenerated files for systems without yacc and lex.

This fixes the build with automatic dependecies for me.

metze
2009-07-06 13:28:11 +02:00
Andrew Bartlett
9b261c008a s4:heimdal: import lorikeet-heimdal-200906080040 (commit 904d0124b46eed7a8ad6e5b73e892ff34b6865ba)
Also including the supporting changes required to pass make test

A number of heimdal functions and constants have changed since we last
imported a tree (for the better, but inconvenient for us).

Andrew Bartlett
2009-06-12 07:45:48 +10:00
Andrew Tridgell
b258c5fa67 work around conflict in pidfile() prototype for heimdal on NetBSD5 2009-06-09 14:11:20 +10:00
Björn Jacke
d2bb72d713 s4:heimdal: fix build on FreeBSD
Patch from Timur I. Bakeyev sent to samba-technical:

Heimdal requires openpty() presence. FreeBSD has in in standard libc, so
autodetection works, but compilation fails, as declaration of this function is
missing.

This patch adds proper header detection and inclusion for openpty().
2009-06-08 22:14:49 +02:00
Stefan Metzmacher
853f9283fb s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
metze
2009-03-26 15:01:04 +01:00
Stefan Metzmacher
510e37155e s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP
metze
2009-03-26 15:01:03 +01:00
Stefan Metzmacher
d3ac11c64a s4:heimdal_build: correrctly switch closefrom() and get/setprogname() replacements on and off
metze
2009-02-26 13:14:26 +01:00
Stefan Metzmacher
b6597424db s4:heimdal_build: don't always build setprogname.o
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.

asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.

metze
2009-02-26 10:48:11 +01:00
Tim Prouty
f90250b549 s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly 2009-02-25 11:29:07 -08:00
Tim Prouty
eb5efd1978 s4 heimdal: Link libintl correctly 2009-02-25 00:36:43 -08:00
Jeremy Allison
365925eea3 Start fixing Solaris build failures.
Jeremy.
2009-02-24 11:37:57 -08:00
Stefan Metzmacher
21522e4a9a s4:heimdal_build: fix the build of asn1_compile and compile_et
We should not link in heimdal_build/replace.ho twice.
HEIMDAL_ROKEN has everything we need....

metze
2009-01-31 09:04:12 +01:00
Stefan Metzmacher
03bd9b2683 s4:heimdal_build: heimdal requires u_int32_t and u_char
metze
2009-01-30 22:21:11 +01:00
Stefan Metzmacher
e8c2ed1d48 Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"
This reverts commit 334c6e6b78.

This breaks the build later in the ntvfs code...

metze
2009-01-30 19:24:50 +01:00
Stefan Metzmacher
9fa2e56488 s4:heimdal_build: add a dummy define for dirfd()
metze
2009-01-30 18:42:09 +01:00
Stefan Metzmacher
334c6e6b78 s4:heimdal_build: include "system/network.h" via config.h wrapper
This fixes build problems on Tru64.

metze
2009-01-30 17:53:04 +01:00
Stefan Metzmacher
cdca75dee6 heimdal: don't include <sys/cdefs.h> without knowing it's there
metze
2009-01-30 17:38:41 +01:00
Jelmer Vernooij
e7810b1bc2 Use standard heimdal function for finding interfaces - libreplace provides support for the underlying functions now. 2008-11-02 18:14:53 +01:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
6b82b2ff13 Fix merged build; use full libroken rather than just a couple of object files. 2008-10-20 13:21:43 +02:00
Andrew Bartlett
71022daac2 Add samba4kpasswd and rkpty binaries
smaba4kpasswd will be used to test the kpasswdd componet of the KDC
(which is up until now untested), and rkpty is an expect-like wrapper
we can use to blackbox that utility.

Andrew Bartlett
2008-10-20 20:07:08 +11:00
Jelmer Vernooij
0888ffa2b7 Make Samba 3 and Samba 4 both use the same single copy of libreplace. 2008-09-16 16:30:14 +02:00
Stefan Metzmacher
2356cd7478 heimdal_build: include heimdal's new EVP code to fix the build
metze
(This used to be commit f454342d48)
2008-08-26 19:46:38 +02:00
Stefan Metzmacher
455f5c043d heimdal_build: fix parse.h lex.c dependencies
metze
(This used to be commit dbfbd1b018)
2008-08-26 19:46:28 +02:00
Stefan Metzmacher
9080b5d979 heimdal_build: autogenerate the heimdal private/proto headers
Now it's possible to just use a plain heimdal tree in source/heimdal/
without any pregenerated files.

metze
(This used to be commit da333ca711)
2008-08-26 18:49:17 +02:00
Stefan Metzmacher
a1bbd66b0f heimdal_build: autogenerate table files in heimdal/lib/wind/
metze
(This used to be commit f4cfba26ae)
2008-08-26 18:48:50 +02:00
Stefan Metzmacher
1f123a8b39 heimdal_build: autogenerate heimdal/lib/roken/roken.h
metze
(This used to be commit 3ab59dc66f)
2008-08-26 18:48:39 +02:00
Stefan Metzmacher
57d4e11023 heimdal_build: add fallback for AC_WARNING_ENABLE()
metze
(This used to be commit 8d6d96898d)
2008-08-26 18:47:49 +02:00
Stefan Metzmacher
f09f67d24d heimdal: remove unused old files
metze
(This used to be commit 94cef56212)
2008-08-26 18:47:48 +02:00