1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

39 Commits

Author SHA1 Message Date
Andrew Bartlett
dda48146a2 heimdal_build: Try again to sort out the strerror_r mess
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-19 10:32:17 +01:00
Andrew Bartlett
c5bea98ddb s4:heimdal: import lorikeet-heimdal-201012010201 (commit 81fe27bcc0148d410ca4617f8759b9df1a5e935c) 2010-12-01 17:00:47 +11: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
Andrew Bartlett
a2c4f54dfb s4-heimdal We don't need HDBDIR any more 2010-10-03 01:15:04 +00:00
Matthieu Patou
f02d82595f heimdal: change the version string 2010-10-03 01:15:04 +00:00
Andrew Bartlett
3ca886b835 s4-heimdal_build fix up build after heimdal import
Heimdal has it's own dynconfig like system, and so we need the
LIBDIR etc in the CFLAGS here.

We also need to define build rules for the new files imported in
the merge commit, and fix up some header files.

This includes the work by Matthieu Patou <mat@matws.net>

Andrew Bartlett
2010-10-03 01:15:04 +00:00
Björn Jacke
a20e94bb0e Revert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
This reverts commit 6598298517 which later on
needs some tweeks to not break some builds
2010-08-31 23:03:55 +02:00
Björn Jacke
6598298517 s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday 2010-08-31 13:11:13 +02:00
Stefan Metzmacher
edecdab58f s4:heimdal_build: move #undef __APPLE__ to the end of roken.h
Some system includes need __APPLE__ defined.

metze
2010-05-14 10:37:22 +02:00
Andrew Tridgell
e47e5ff89b s4-heimdal: use the HAVE_INET_* functions from libreplace 2010-03-30 12:31:04 +11:00
Andrew Tridgell
e310cb3f37 s4-heimdal: for use of libreplace setegid and seteuid 2010-03-30 12:31:04 +11:00
Andrew Tridgell
e4c75252a9 s4-heimdal: a better way of handling dirfd()
This prevents us getting thousands of warnings about dirfd() on
solaris
2010-03-30 12:31:03 +11:00
Andrew Tridgell
686221eae2 s4-waf: use the libreplace strerror_r if needed 2010-03-29 21:34:29 +11:00
Andrew Bartlett
564d5cd2c4 s4:heimdal New files and supporting logic for heimdal update 2010-03-27 11:53:23 +11:00
Andrew Bartlett
5bc87c14a1 s4:heimdal: import lorikeet-heimdal-200909210500 (commit 290db8d23647a27c39b97c189a0b2ef6ec21ca69) 2009-11-13 23:19:05 +11:00
Stefan Metzmacher
996a2054fb s4:heimdal_build: define HEIMDAL_LOCALEDIR
metze
2009-08-05 10:12:19 +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
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
Andrew Tridgell
b258c5fa67 work around conflict in pidfile() prototype for heimdal on NetBSD5 2009-06-09 14:11:20 +10: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
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
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
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
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
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
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
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
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
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
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
019a322c56 r12288: make sure we always include heimdal_build/config.h, before
heimdal/lib/roken/roken.h, this fixes the build on the 64bit machines

metze
(This used to be commit 657345da22)
2007-10-10 13:47:27 -05:00
Andrew Tridgell
0fedba6342 r8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)
(This used to be commit 8c432af87d)
2007-10-10 13:23:05 -05:00