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

458 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
e797e23e48 Simplify handling of source directory in asn compile wrapper.
(This used to be commit 2c01d342b2)
2008-05-27 18:13:50 +02:00
Jelmer Vernooij
053cb704d9 Use variables in generated make fragments.
(This used to be commit 269f8c9f6e)
2008-05-27 17:21:13 +02:00
Jelmer Vernooij
7ae9cb4f79 Don't throw away cflags if they start with a variable.
(This used to be commit 9f81214239)
2008-05-27 17:16:57 +02:00
Jelmer Vernooij
03f6679f86 Move more CFLAGS to Makefile.
(This used to be commit 0406713aad)
2008-05-27 16:56:11 +02:00
Jelmer Vernooij
16c883ca23 Move CFLAGS that are not inherited out of smb_build.
(This used to be commit 49dcf4b881)
2008-05-27 16:23:12 +02:00
Jelmer Vernooij
fa22165842 Use variables for et files too.
(This used to be commit 953f796059)
2008-05-27 15:55:43 +02:00
Jelmer Vernooij
04b7b01306 Move asn1 cflags definition to gmake.
(This used to be commit 486d43355e)
2008-05-27 15:45:53 +02:00
Jelmer Vernooij
14b0987c63 use varibale for asn1 compiler.
(This used to be commit 4543633ba0)
2008-05-27 15:38:13 +02:00
Jelmer Vernooij
44ca677e40 Use variables for more object file paths.
(This used to be commit 5008116479)
2008-05-27 15:34:09 +02:00
Jelmer Vernooij
ee114113d9 Use heimdalsrcdir variable for automatic dependencies.
(This used to be commit c5db384160)
2008-05-27 15:32:44 +02:00
Jelmer Vernooij
b7a4141382 Use variable for socket wrapper include path.
(This used to be commit 01c0000def)
2008-05-27 14:41:00 +02:00
Jelmer Vernooij
3d2d3060f2 Use variable for source directories.
(This used to be commit e40fc0bc4b)
2008-05-27 14:27:53 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
c9d7ebcc0e Build system doesn't do make variable expansion...
(This used to be commit 16a04d9af4)
2008-05-18 19:11:47 +02:00
Jelmer Vernooij
100d3967d3 Use src dir.
(This used to be commit 63f2b66f0e)
2008-05-18 19:10:37 +02:00
Jelmer Vernooij
1f9570c0ba Add extra include directories, hopefully fixes the build on aix53bf.
(This used to be commit ef53ffbc24)
2008-05-11 15:31:02 +02:00
Jelmer Vernooij
b5d84a74d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/makefile.pm
	source/heimdal_build/config.mk
	source/lib/events/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/registry/config.mk
	source/lib/socket_wrapper/config.mk
	source/lib/tdb/config.mk
	source/lib/tls/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/scripting/ejs/config.mk
	source/smbd/process_model.mk
(This used to be commit 760378e029)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
f41b9a9dde Rename libsamba-config to libsamba-hostconfig.
(This used to be commit c46b7e90e3)
2008-04-01 15:08:30 +02:00
Jelmer Vernooij
18d80bdf1f Merge v4.0-test
(This used to be commit 977dbdeaf3)
2008-03-28 00:44:14 +01:00
Andrew Bartlett
576540b25c Supply HDB_DB_DIR macro
While we don't use the default HDB directories, the code needs this
macro defined.

Andrew Bartlett
(This used to be commit b5dbdef158)
2008-03-19 11:10:19 +11:00
Andrew Bartlett
b1b37e3776 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 400c16e700)
2008-03-19 10:18:35 +11:00
Andrew Bartlett
9e6b0c2871 Merge lorikeet-heimdal -r 787 into Samba4 tree.
Andrew Bartlett
(This used to be commit d88b530522)
2008-03-19 10:17:42 +11:00
Stefan Metzmacher
0372704fa2 heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 0fb3d24621)
2008-03-18 18:04:22 +01:00
Michael Adam
6a4928c630 heimdal_build: fix linkage of asn1_compile and compile_et.
Now inet_aton is available from libreplace.

Michael
(This used to be commit 3b2a3da2f7)
2008-03-14 09:04:24 +01:00
Stefan Metzmacher
7db5e0a601 build: compile_et also needs inet_aton()
metze
(This used to be commit b6bcd66612)
2008-03-13 16:26:37 +01:00
Michael Adam
9f6355baa7 fix build of asn1_compile when there is no system inet_aton() function.
Michael
(This used to be commit f1c2207b3d)
2008-03-13 14:31:00 +01:00
Jelmer Vernooij
0c6de7c959 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit cffaf5f603)
2008-03-08 15:27:32 +01:00
Stefan Metzmacher
76eaece42c we now define PACKAGE_BUGREPORT in config.h
metze
(This used to be commit 4afd4058e3)
2008-03-08 09:28:16 +01:00
Jelmer Vernooij
6cf92e604d Fix the build.
(This used to be commit 49ef8d0c19)
2008-03-04 13:06:08 +01:00
Jelmer Vernooij
530c7a90fe Fix syntax.
(This used to be commit 171d97f657)
2008-03-04 10:43:41 +01:00
Jelmer Vernooij
e018501ca8 Fix some paths.
(This used to be commit bb16e51e60)
2008-03-04 01:26:19 +01:00
Jelmer Vernooij
cf56fb9bb8 Fix typo.
(This used to be commit 2a0f8458ab)
2008-03-03 23:21:35 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
b3d2a56df2 Fix module aliases.
(This used to be commit 584a69acc5)
2008-02-26 17:56:07 +01:00
Jelmer Vernooij
6fece9358b Fix the build.
(This used to be commit 59bf804ef6)
2008-02-26 00:40:40 +01:00
Jelmer Vernooij
46dd75b82a Fix the build.
(This used to be commit 40476bce2e)
2008-02-25 15:06:51 +01:00
Jelmer Vernooij
d238e06ba2 Integrate asn1 compilation into asn1 compiler.
(This used to be commit ca8e347baf)
2008-02-25 14:02:40 +01:00
Jelmer Vernooij
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874a)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
3f63d2fe4d Fix unresolved symbols.
(This used to be commit dbcecb6d8f)
2008-02-18 17:24:29 +01:00
Jelmer Vernooij
80cbff3d01 Fix build with partial linking.
(This used to be commit bfad9610c4)
2008-02-18 16:02:33 +01:00
Jelmer Vernooij
e5d7bd3821 Reenable partial linking
(This used to be commit a7512fb059)
2008-02-18 13:10:30 +01:00
Jelmer Vernooij
440b1a1d04 build: Don't build heimdal as library.
(This used to be commit c04cf0c052)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
be8a2ad342 r26462: Tighten dependencies.
(This used to be commit 020f2f7426)
2007-12-21 05:50:28 +01:00
Jelmer Vernooij
70f1f33af8 r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871b)
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
6f2252dace r26401: Don't cache interfaces context in libnetif.
(This used to be commit 9f975417cc)
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
c5bf20c5fe r26325: Remove use of global_loadparm in netif.
(This used to be commit e452cb2859)
2007-12-21 05:48:37 +01:00
Stefan Metzmacher
9e344b9157 r25874: force specific versions for LEX and YACC.
We often have problems with old yacc and bison versions
and it seem the combination of LAX and YACC also matters.

So we now list all supported version combinations explicit.
flex-2.5.33:bison-2.3 only for now.

metze
(This used to be commit ad0556cbf7)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
3f073b4c6b r25736: make sure we include "config.h" as first header
in code generated from et_compile

metze
(This used to be commit 8757b09052)
2007-12-21 05:43:35 +01:00
Stefan Metzmacher
b54fd3bac1 r25735: make sure we include "config.h" as first header in
files generated from asn1_compile

metze
(This used to be commit 85f6b42221)
2007-12-21 05:43:34 +01:00
Stefan Metzmacher
974890ebdf r25727: include "system/network.h" instead of <sys/socket.h>
to make sure socklen_t is typedef'ed

metze
(This used to be commit d1fb51b1d2)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
3e1fbf76ba r25719: let "system/network.h" do the replacements first, then
roken.h.in can do the missing heimdal bits.

this removes to redifinition of 'struct addrinfo' on some platforms

metze
(This used to be commit 317b649445)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
1a766af41e r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 95462d614d)
2007-12-21 05:43:18 +01:00
Jelmer Vernooij
e511090a43 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
(This used to be commit b6d3fd84a5)
2007-10-10 15:07:51 -05:00
Andrew Bartlett
b39330c487 r24614: Merge with current lorikeet-heimdal. This brings us one step closer
to an alpha release.

Andrew Bartlett
(This used to be commit 30e02747d5)
2007-10-10 15:02:25 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
ec0035c9b8 r23678: Update to current lorikeet-heimdal (-r 767), which should fix the
panics on hosts without /dev/random.

Andrew Bartlett
(This used to be commit 14a4ddb131)
2007-10-10 14:58:59 -05:00
Stefan Metzmacher
e505338bf7 r23487: fix the build with automatic dependencies
metze
(This used to be commit ebf8cd09c3)
2007-10-10 14:53:19 -05:00
Andrew Bartlett
91adebe749 r23456: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit ae0f81ab23)
2007-10-10 14:53:18 -05:00
Stefan Metzmacher
4690d5c553 r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
loikeet-heimdal

metze
(This used to be commit 48eb20199e)
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
f1c138390b r23187: revert 23145 and 23135 to fix the build on solaris...
metze
(This used to be commit cd012361d2)
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
a11e7f18a0 r23145: try to fix the build on solaris
metze
(This used to be commit 7a513bd741)
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
fb213858ad r23135: inet_ntop and inet_pton are now provided by libreplace
metze
(This used to be commit 7e3e2defa5)
2007-10-10 14:52:53 -05:00
Stefan Metzmacher
71761dbae8 r22454: - let asn1_deps.pl calculate the dependencies depending on the IMPORT line in the asn1 file
- fix some heimdal dependencies

metze
(This used to be commit 4e7d2ecfc0)
2007-10-10 14:51:22 -05:00
Stefan Metzmacher
c20df73427 r22440: fix autodependencies build
metze
(This used to be commit ced8b67377)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
80d4b8c14d r22439: fix some dependencies
metze
(This used to be commit fb2c89bf90)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
f71b2fdfe2 r22438: get rid of printf format warnings in heimdal code
metze
(This used to be commit 2ab998da99)
2007-10-10 14:51:20 -05:00
Stefan Metzmacher
3eb286b52a r22296: heimdal/lib/roken/roken.h.in includes <socket_wrapper.h>
which doesn't work on some hosts in the farm

so include socket_wrapper via "system/network.h" as the rest of samba4

metze
(This used to be commit 38aeb585a1)
2007-10-10 14:50:58 -05:00
Stefan Metzmacher
daf889dff2 r22259: libreplace always provides strptime()
metze
(This used to be commit 312d3e1f0d)
2007-10-10 14:50:49 -05:00
Andrew Bartlett
0583d4d643 r22238: Because these utilities compile in socket_wrapper.ho, they may need
-lsocket on some systems.

Andrew Bartlett
(This used to be commit 4273fecfb7)
2007-10-10 14:50:44 -05:00
Andrew Bartlett
cb8ed81b64 r22236: Update to Heimdal's socket_wrapper, which supports IPv6.
To make this pass, I needed to add support for 6 and 17 as valid
protocol values to socket().

Andrew Bartlett
(This used to be commit 2254e61a1e)
2007-10-10 14:50:41 -05:00
Andrew Bartlett
cc275f011e r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT.

Andrew Bartlett
(This used to be commit 440b8d9e4b)
2007-10-10 14:50:02 -05:00
Andrew Bartlett
f02c0a64d3 r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett
(This used to be commit a95ce3c895)
2007-10-10 14:49:56 -05:00
Stefan Metzmacher
252331a35d r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
metze
(This used to be commit 974eb5eb68)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
36d940b0a8 r20808: remove whitespace
metze
(This used to be commit 28a02742af)
2007-10-10 14:43:33 -05:00
Stefan Metzmacher
1d6456fd60 r20804: work arround HPUX and Tru64 make which don't like $$startdir
we now call asn1_compile and compile_et via a wrapper script

metze
(This used to be commit a5b67f5c7e)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
5de50f5a66 r20803: fix compiler warning about extra semicolon
metze
(This used to be commit 1feae45f28)
2007-10-10 14:43:32 -05:00
Stefan Metzmacher
dbdb4cc269 r20777: only include closefrom.c if the system doesn't have it.
hopefully solaris build fine now...

metze
(This used to be commit f9a6649f08)
2007-10-10 14:40:52 -05:00
Stefan Metzmacher
4af2716c47 r20773: we need to include config.h and replace.h before we can use #ifdef statements
hopefully fix the build on solaris 9

metze
(This used to be commit 65ba2920a1)
2007-10-10 14:40:51 -05:00
Andrew Bartlett
08976cb3d2 r20639: Commit part 1 of 2.
This patch updates our build system and glue to support a new snapshot
of lorikeet-heimdal.

We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend
on that in the heimdal_build/config.mk.  This is much easier than
listing every generated .o file individually.

This required some small changes to the build system, due to the way
the parent directory was handled for the output of scripts.  I've also
cleaned up et_deps.pl to handle cleaning up it's generated files on
clean.

The PAC glue in Heimdal has changed significantly: we no longer have a
custom hack in the KDC, instead we have the windc plugin interface.
As such, pac-glue.c is much smaller.  In the future, when I'm
confident of the new code, we will also be able to 'downsize'
auth/kerberos/kerberos_pac.c.

(I'll include the updated copy of heimdal in the next chekin, to make
it clearer what's changed in Samba4 itself).

Andrew Bartlett
(This used to be commit 75fddbbc08)
2007-10-10 14:37:20 -05:00
James Peach
f5acaea727 r20592: Use the Heimdal copy of err.h only if the build host doesn't have it.
(This used to be commit 1e8c4847b8)
2007-10-10 14:37:10 -05:00
James Peach
42097e0b7d r20591: Revert accidental commit that broke the build.
(This used to be commit 22957f78e9)
2007-10-10 14:37:10 -05:00
James Peach
0bb9eb0153 r20590: Heimdal uses warn(), so we should prototype it here too.
(This used to be commit c1c25767e3)
2007-10-10 14:37:09 -05:00
Andrew Bartlett
0738c192a3 r20314: I think some hosts need this to get the right ASN1 header deps
(This used to be commit 82a09a111b)
2007-10-10 14:29:37 -05:00
Andrew Bartlett
5a6288f458 r19681: Update to current lorikeet-heimdal. I'm looking at using the realm
lookup plugin, the new PAC validation code as well as Heimdal's SPNEGO
implementation.

Andrew Bartlett
(This used to be commit 05421f45ed)
2007-10-10 14:25:31 -05:00
Andrew Bartlett
e5974a1b5f r19650: Allow Samba to use Heimdal's SPNEGO code. Currently this can only
negotiate krb5, but if this works, I'll add NTLM as a GSSAPI backend
by some means or other.

Andrew Bartlett
(This used to be commit 476452e143)
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
9dfa85d89b r19624: we have timegm in libreplace so heimdal should not replace it
metze
(This used to be commit b6d1fd1b24)
2007-10-10 14:25:19 -05:00
Stefan Metzmacher
14b00f10d9 r19616: the heimdal spnego mech doesn't seem to use roken.h and isn't portable
(it doesn't compile on suse 10.1 because gethostname() isn't found,
 unistd.h isn't included...)

as we don't need the spnego mech, disable it till it gets fixed in heimdal

metze
(This used to be commit 0a52e11a9c)
2007-10-10 14:25:06 -05:00
Stefan Metzmacher
6f9bed3d3e r19615: include roken.h.in as this still includes the ifdef's we need in samba4
this should fix the portability of samba4

metze
(This used to be commit 497543a17e)
2007-10-10 14:25:06 -05:00
Stefan Metzmacher
5249d8187f r19611: we have heimdal 0.8pre currently
metze
(This used to be commit df4c2b9c79)
2007-10-10 14:25:04 -05:00
Stefan Metzmacher
0a4e05493b r19607: - remove mech_switch.h from objectfile list
(fix the build the auto dependencies)
- add tabs

metze
(This used to be commit 03afa231ff)
2007-10-10 14:25:03 -05:00
Andrew Bartlett
3c1e780ec7 r19604: This is a massive commit, and I appologise in advance for it's size.
This merges Samba4 with lorikeet-heimdal, which itself has been
tracking Heimdal CVS for the past couple of weeks.

This is such a big change because Heimdal reorganised it's internal
structures, with the mechglue merge, and because many of our 'wishes' have been granted:  we now have DCE_STYLE GSSAPI, send_to_kdc hooks and many other features merged into the mainline code.  We have adapted to upstream's choice of API in these cases.

In gensec_gssapi and gensec_krb5, we either expect a valid PAC, or NO
PAC.  This matches windows behavour.  We also have an option to
require the PAC to be present (which allows us to automate the testing
of this code).

This also includes a restructure of how the kerberos dependencies are
handled, due to the fallout of the merge.

Andrew Bartlett
(This used to be commit 4826f17351)
2007-10-10 14:25:03 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0)
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
9eab500f56 r18997: we have a replacement for vsyslog in libreplace so libroken doesn't need to care about it
metze
(This used to be commit e8c2f53746)
2007-10-10 14:20:27 -05:00
Stefan Metzmacher
84a56aca15 r18465: much better fix for a roken specifiv problem
metze
(This used to be commit 1ae1e68fe9)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776)
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
af1b64c92f r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
  to notice changes in depdendecies of header files

you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd

metze
(This used to be commit 5ecf98cc18)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
820492ba79 r18203: rearranged the overrides in heimdal_build/*.h to avoid the use of
heimdal_build/config.h from interfering with libreplace

This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit 84335903ce)
2007-10-10 14:17:48 -05:00
Andrew Tridgell
4262be2e45 r18202: moved the overrides for HAVE_xxx from heimdal_build/config.h to
heimdal_build/roken.h

This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
(This used to be commit dc2580f0fd)
2007-10-10 14:17:48 -05:00
Stefan Metzmacher
6b5e86f47b r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC

I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow

metze
(This used to be commit 159f745702)
2007-10-10 14:17:47 -05:00
Andrew Tridgell
6c85bcc972 r18154: try to get the heimdal_build code to use libreplace in a better way
(chasing down build failures ...)

added showflags as part of 'all' target, which makes tracking down
problems easier in the build farm
(This used to be commit d52aaccdf8)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
3f42b91246 r18087: use m4_include() do notice missing files
metze
(This used to be commit 77948d26f0)
2007-10-10 14:17:14 -05:00
Jelmer Vernooij
38fdde5d9b r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b145)
2007-10-10 14:17:05 -05:00
Stefan Metzmacher
a2eca9174c r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
configure check for the interfaces.

should fix the build on some old sun boxes

metze
(This used to be commit f20e251bfd)
2007-10-10 14:15:39 -05:00
Stefan Metzmacher
4ed9f119e0 r16011: we don't need sys/bitypes.h any more
metze
(This used to be commit d49464be56)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
f6b3f9dd29 r15992: fix the subsystem name,
hopefully fix the build on Mac OS 10.4.5

metze
(This used to be commit 103f64c7cf)
2007-10-10 14:08:47 -05:00
Stefan Metzmacher
84e1121a1a r15991: try to fix the build on au2 IRIX 6.4
metze
(This used to be commit 658f9a1589)
2007-10-10 14:08:47 -05:00
Jelmer Vernooij
bd9e9062bf r15374: Make subsystem name shorter - Stratos VOS has a filename length limit of 32
(This used to be commit 1c2dc5ec10)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
6275553bae r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
(This used to be commit c95ad11307)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
4bdc83ad5c r15355: Add replacement 'err.h' for systems that don't have it such as SerNet-Tru64
(This used to be commit 2961d545fb)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
9c3145a270 r15354: Add dependency on libsocket (required for sun1)
(This used to be commit 566413f83d)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
e002300f23 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
9220144604 r15313: Fix some dependencies in dso mode
(This used to be commit f0afe9e2ff)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
710ea94988 r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
(This used to be commit 5b3ab728ed)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
061dfe14d9 r15278: Fix recreating symlink every time.
(This used to be commit 6f8382432f)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
23cf97680b r15276: Fix path to perl on some hosts
Fix perl warning
(This used to be commit 50e184819d)
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
0d5587b5d1 r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53)
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
f5bc4a72c5 r15270: Rename EXTRA_CFLAGS to CFLAGS - initial work on getting DSO's working again.
(This used to be commit 33e4b92c46)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
bdac245495 r15265: Try to find inet_pton in -lnsl (should fix linking on sun1)
(This used to be commit a7c1302041)
2007-10-10 14:04:59 -05:00
Jelmer Vernooij
3c68259e3a r15263: Remove another use of patsubst (should make tru64 happy)
(This used to be commit 559ae256e1)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
b995f263f8 r15262: Only include getprogname if it is needed by the system. This should
fix the build on Mac OS X
(This used to be commit 465409974d)
2007-10-10 14:04:28 -05:00
Jelmer Vernooij
4b55501d2c r15254: Fix heimdal's addrinfo subsystem for those systems that need it. This
should get the build on sun1 and us4 another step further.
(This used to be commit 2f2f47a389)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
84df2acf05 r15252: Fix inet_aton (required for Tru64 and Solaris)
(This used to be commit 015e6e3d1b)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
1cc7c693ad r15248: Fix automatic dependencies build
(This used to be commit 3e5aa5e794)
2007-10-10 14:04:25 -05:00
Jelmer Vernooij
f7ef520158 r15234: Remove heimdal include paths from global CFLAGS
(This used to be commit 0466165e90)
2007-10-10 14:04:22 -05:00
Jelmer Vernooij
99487b0ab7 r15230: Add include dir for -Iheimdal_build earlier on - this should fix sun1
(This used to be commit b74faf771d)
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
82f1955314 r15223: Move heimdal's -I parameters from the global list of includes to
the subsystems in question
(This used to be commit 2fbb4d91fa)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
d1a79b1f7e r15221: We don't need to have these rcsid strings in Samba's use of Heimdal.
Andrew Bartlett
(This used to be commit b2649aaf39)
2007-10-10 14:04:20 -05:00
Andrew Bartlett
306baa12f8 r15219: Look for gai_strerror in more places, so we don't conflict with the
system library.

This might help the build on proprietory unixes

Andrew Bartlett
(This used to be commit f1da657d56)
2007-10-10 14:04:19 -05:00
Alexander Bokovoy
5027cd85c1 r15211: REQUIRED_SUBSYSTEMS for binaries are gone, use PRIVATE_DEPENDENCIES here
(This used to be commit 29bd0d6d0c)
2007-10-10 14:04:18 -05:00
Alexander Bokovoy
fdb9e6ce16 r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d5)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Alexander Bokovoy
758946429e r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in it is defined unconditionally).
However, the lex-generated files don't fetch config.h's definition of _GNU_SOURCE before including
features.h because of preamble added by lex which already includes some system headers which in turn
include features.h. Therefore, we need to specify it explicitly on comand line.

This change adds some 'noise' (_GNU_SOURCE already defined ...) but it is neccessary to get samba4 to
compile successfuly on Maemo.
(This used to be commit cd7307c099)
2007-10-10 14:04:18 -05:00
Andrew Bartlett
c33f6b2c37 r15192: Update Samba4 to use current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit f0e538126c)
2007-10-10 14:04:15 -05:00
James Peach
346212d8f9 r15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
this with an explicit rm.
(This used to be commit ed33a14004)
2007-10-10 14:04:12 -05:00
James Peach
7970a755ea r15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
have strsep in libc.
(This used to be commit 76dea9f68c)
2007-10-10 14:04:12 -05:00
Alexander Bokovoy
573b2f75fb r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d)
2007-10-10 14:04:08 -05:00
Alexander Bokovoy
3c53cb85ce r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
(This used to be commit ba7b41bb57)
2007-10-10 14:04:04 -05:00
Alexander Bokovoy
9cf41988ff r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489)
2007-10-10 14:04:03 -05:00
Jelmer Vernooij
9dfdfc65b7 r15001: Add 'make dist'
(This used to be commit 16e67d04d4)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
8e738cc6d4 r14866: Fix CFLAGS when building compile_et. This should fix the build
on some of the buildfarm hosts. Thanks to Richard Bollinger <rabollinger@gmail.com> for helping debug this.
(This used to be commit ab0c2ede27)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
0bc6e7a090 r14852: See if all target platforms support multiple .SUFFIXES lines.
(This used to be commit 137ed99e35)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
bb603cffaf r14654: Fix hcrypto link when using automatic dependencies
(This used to be commit 2db7109abf)
2007-10-10 13:59:05 -05:00
Andrew Bartlett
864d9b531d r14635: - Remove lex.c from SVN (it is built anyway, and having it in SVN
confuses things)

- Update Samba4 from lorikeet-heimdal

- Remove generated symlink on make clean

Andrew Bartlett
(This used to be commit a5c2b4cc92)
2007-10-10 13:59:02 -05:00
Jelmer Vernooij
59c427963f r14605: Create heimdal/lib/des/hcrypto symlink if it doesn't exist
(This used to be commit 303832bdc9)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
c2c7971119 r14562: Use VPATH to solve strange heimdal dependencies
(This used to be commit 4d09ffa7f1)
2007-10-10 13:58:47 -05:00
Jelmer Vernooij
0f98a4d451 r14558: Another two more static dependencies...
(This used to be commit 9938b7391d)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
356b739207 r14557: Add hack for asn1 files
(This used to be commit b4796266c3)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
7b01c9e0c4 r14556: Fix some dependencies
(This used to be commit b580277032)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
c84cfc0ecc r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.

It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.

This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.
(This used to be commit eb435386f0)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
781d122fb6 r14553: Use double colon feature in the makefile (supported by all buildfarm hosts!)
(This used to be commit f523c51b34)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
dcb912d23a r14545: Fix make dependency warning.
(This used to be commit 130db1abbe)
2007-10-10 13:58:43 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce0)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d3)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21)
2007-10-10 13:57:12 -05:00