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
Stefan Metzmacher
41dbc6c4fd
heimdal_build: split heimdal/lib/asn1 file lists
...
metze
(This used to be commit d3e939bf75
)
2008-08-26 18:06:46 +02:00
Stefan Metzmacher
478a4cb808
heimdal_build: split handwritten and generated hx509 file lists
...
metze
(This used to be commit 848067033c
)
2008-08-26 14:27:14 +02:00
Stefan Metzmacher
bcb249dee1
heimdal_build: split out gssapi_spnego and gssapi_krb5 file lists
...
metze
(This used to be commit 95135ade44
)
2008-08-26 14:27:04 +02:00
Stefan Metzmacher
1c4b84ee4f
heimdal_build: add a fake sqlite keytab implementation
...
This remove a difference against lorikeet-heimdal.
metze
(This used to be commit 4314df3561
)
2008-08-26 14:25:44 +02:00
Stefan Metzmacher
e7c171590a
heimdal_build: split glue.c into krb5 and gssapi parts
...
metze
(This used to be commit 1c7bb21bd8
)
2008-08-26 14:25:12 +02:00
Stefan Metzmacher
d3265b01e5
kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h
...
metze
(This used to be commit 65057f17b0
)
2008-08-26 12:30:03 +02:00
Stefan Metzmacher
d9ad17f945
heimdal: add experimental --enable-external-heimdal
...
This should only be used for testing and when you're
absolutly sure the installed heimdal libraries
support the features we need.
(E.g. heimdal-1.2 or lower should NOT work)
metze
(This used to be commit 66b76b018d
)
2008-08-01 21:10:40 +02:00
Stefan Metzmacher
d96c5758f6
heimdal_build/internal: add some useful defines
...
metze
(This used to be commit b9727d612b
)
2008-08-01 21:10:39 +02:00
Stefan Metzmacher
59737cddfb
heimdal: fix dependency
...
metze
(This used to be commit 9e8b95dc8d
)
2008-08-01 21:10:39 +02:00
Stefan Metzmacher
f2ac351d6e
kdc: use mostly only public kerberos headers
...
We shoule avoid using the private heimdal function
_krb5_principalname2krb5_principal()
metze
(This used to be commit 10db07c69a
)
2008-08-01 17:54:34 +02:00
Stefan Metzmacher
fed1cc2c6d
heimdal_build: we should only use PRIVATE_DEPENDENCIES
...
metze
(This used to be commit 694f5124a5
)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
f4140cfdb0
build: autogenerate heimdal basics
...
metze
(This used to be commit f19d2182b8
)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
8dede49961
build: autogenarate VPATH by configure
...
metze
(This used to be commit 16147753ad
)
2008-08-01 17:52:36 +02:00
Stefan Metzmacher
35cd60b002
build with the new heimdal version
...
(This used to be commit 3817d653fa
)
2008-08-01 16:11:00 +02:00
Stefan Metzmacher
cf875a5621
build: allow flex-2.34 together with bison-2.3
...
metze
(This used to be commit 8bd30a7b43
)
2008-08-01 16:10:59 +02:00
Jelmer Vernooij
456c3b760f
Undefine HAVE_KRB5_ENCRYPT_BLOCK because Heimdal really doesn't have it.
...
(This used to be commit 55a6e852c7
)
2008-06-25 17:24:38 +02:00
Jelmer Vernooij
18ba7d7679
Use workaround for $(abspath)
...
(This used to be commit 21b4d017a2
)
2008-06-25 17:12:19 +02:00
Jelmer Vernooij
6ba3cffb48
Revert "Remove the dependency on $(abspath) in makefiles"
...
This reverts commit c85a363262
.
(This used to be commit 1a771c6644
)
2008-06-25 16:51:37 +02:00
Volker Lendecke
d67e18ee37
Remove the dependency on $(abspath) in makefiles
...
This is not around before GNU make 3.81, for me this fixes the build
on GNU make 3.80
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit c85a363262
)
2008-06-19 14:22:57 +02:00
Stefan Metzmacher
1384f836b6
heimdal_build: rename config.m{k,4} => internal.m{k,4}
...
metze
(This used to be commit 33700d4a97
)
2008-06-09 11:29:58 +02:00
Andrew Bartlett
be14efbdf9
Revert Jelmer's CFLAGS commit e2b71a0ecb
...
This commit broke the build, because not all files (libreplace, popt)
were updated.
Andrew Bartlett
(This used to be commit 3faacf4351
)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
39f50afc57
Move CFLAGS handling out of smb_build.
...
(This used to be commit e2b71a0ecb
)
2008-05-30 02:07:28 +02:00
Jelmer Vernooij
f56432e8c3
Use variable path for heimdal glue code.
...
(This used to be commit 3fce4889b3
)
2008-05-27 18:29:00 +02:00
Jelmer Vernooij
5c9f28d560
Simplify handling of source directory in et compile wrapper.
...
(This used to be commit 4e6fddda2e
)
2008-05-27 18:16:13 +02:00