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

102 Commits

Author SHA1 Message Date
Stefan Metzmacher
6b566e83a6 r12899: - fix warnings on AIX
- fix compilation of auth/kerberos/krb5_init_context.c on AIX

metze
(This used to be commit 0e1ad08a85)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
fc6f41d70d r12752: Clean up compile_et and asn1_compile as well.
Andrew Bartlett
(This used to be commit 2a6023d741)
2007-10-10 13:49:50 -05:00
Andrew Bartlett
44384b4afa r12750: Clean up more asn1 generated files (pointed out by <HotaruT>).
Andrew Bartlett
(This used to be commit 5d42638170)
2007-10-10 13:49:49 -05:00
Jelmer Vernooij
bc4aebfaec r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
(This used to be commit f9eede3d40)
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583ed)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
e17e21172a r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

metze
(This used to be commit 9e103e53d1)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
aca9da26c7 r12378: fix perl warnings
metze
(This used to be commit 918e7b4043)
2007-10-10 13:47:32 -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 Bartlett
fbf106f670 r12269: Update to current lorikeet-heimdal. This changed the way the hdb
interface worked, so hdb-ldb.c and the glue have been updated.

Andrew Bartlett
(This used to be commit 8fd5224c6b)
2007-10-10 13:47:26 -05:00
Jelmer Vernooij
a4e7bf3a89 r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
93fd08168f r11377: Add support for building LIBRARY elements as shared libraries:
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
(This used to be commit 0b54405685)
2007-10-10 13:45:28 -05:00
Andrew Bartlett
14a3abd559 r11314: Use a patch from lha to have the kerberos libs extract the PAC, rather
than doing ASN.1 parsing in Samba.

Also use the API function for getting a client from a ticket, rather
than just digging in the structure.

Andrew Bartlett
(This used to be commit 25d5ea6d72)
2007-10-10 13:45:18 -05:00
Andrew Bartlett
f3cac0433d r11290: Make it clear that Heimdal is always included, no need for the test
any more.

Andrew Bartlett
(This used to be commit ec56590b06)
2007-10-10 13:45:14 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e1030090)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
d345bab9c0 r10531: (hopefully) improve detection of socket-related functions in external libraries
(This used to be commit 20a1aba500)
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
f801ad3592 r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
e337caeed1 r10509: Some more sconscript fixes. Now getting to link stage for smbclient
(This used to be commit 6df956edba)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
eb5af8841a r10507: Let lib/replace take care of defining socklen_t for heimdal
(This used to be commit fe4ff2d241)
2007-10-10 13:38:57 -05:00
Jelmer Vernooij
70b52b02a7 r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
(This used to be commit e09ffdfb1d)
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
4be0ae794e r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
f3b412fbd6 r10438: Move portability functions to lib/replace/; replace now simply ensures
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.

Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a7105)
2007-10-10 13:38:45 -05:00
Jelmer Vernooij
8db177b652 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now
(This used to be commit 22f18a8424)
2007-10-10 13:38:32 -05:00
Jelmer Vernooij
6812c73534 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b9)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
7f08aa1dd5 r10287: Compile compilers for build host. This fixes some bits of
the mingw32 build (it now fails on missing inet_aton / in_addr definitions).
Find sane default for HOSTCC
(This used to be commit 1a833690b8)
2007-10-10 13:38:13 -05:00
James Peach
af87f98d15 r10100: Check for more networking headers so the resolv.h test can succeed.
(This used to be commit db75b2da1e)
2007-10-10 13:37:59 -05:00
James Peach
c1dcda0ca7 r10097: Remove extraneous include patch heimdal/include. Add configure
checks for getipnodeby*().
(This used to be commit 623c265312)
2007-10-10 13:37:52 -05:00
Andrew Bartlett
1478781603 r9859: Enable (blocking) KDC resolution with DNS.
To enable, set:

[libdefaults]
 dns_lookup_realm = true
 dns_lookup_kdc = true

in your /etc/krb5.conf.

In the future I may override the krb5.conf and set this on by default
in Samba4.

Andrew Bartlett
(This used to be commit 32fb50d025)
2007-10-10 13:36:18 -05:00
Andrew Bartlett
08730652fb r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
(This used to be commit 913924a499)
2007-10-10 13:34:39 -05:00
Stefan Metzmacher
7fe42c9b18 r9473: - assume the case that happens on most boxes, to remove compiler warnings on them
metze
(This used to be commit 3b83cf6b5b)
2007-10-10 13:34:20 -05:00
Jelmer Vernooij
390924883f r9461: Couple of very small fixes.
(This used to be commit f91121bded)
2007-10-10 13:34:18 -05:00
Andrew Bartlett
55f5453bc8 r9413: Bring Samba4 back up to date with lorikeet-heimdal.
Delete test_crypto_wrapping.c, previously included but unbuilt.

Andrew Bartlett
(This used to be commit d5fb30fb0c)
2007-10-10 13:33:35 -05:00
Andrew Tridgell
5d899b8a35 r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic
(This used to be commit e8260a81cf)
2007-10-10 13:33:28 -05:00
Andrew Bartlett
65ec408473 r9305: Use the check-var.m4 from roken to really, really detect h_errno correctly.
This fixes the build on Fedora Core 4.

Andrew Bartlett
(This used to be commit aa36b2adad)
2007-10-10 13:33:23 -05:00
Stefan Metzmacher
0648a67824 r9257: - I assume we don't need unistd.h in this file,
that sould fixes the build on aix
- use "" instead of <> for includes in our tree

metze
(This used to be commit 8c8fd4cfc6)
2007-10-10 13:31:38 -05:00
Andrew Bartlett
c0e8144c5d r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.
This is my first attempt at this, so there may be a few rough edges.

Andrew Bartlett
(This used to be commit 9a1d2f2fec)
2007-10-10 13:31:33 -05:00
Andrew Bartlett
eda59a6ca0 r9217: Add 'make clean' hooks to the ans1 depedency generator.
To be used by the impending Heimdal resync, which has files starting
with asn1_ that are not generated.

Andrew Bartlett
(This used to be commit 15b7af1c39)
2007-10-10 13:31:32 -05:00
Stefan Metzmacher
0e6369f5e8 r9111: actually use the roken inet_aton when nothing was found
metze
(This used to be commit fe5e61a252)
2007-10-10 13:31:18 -05:00
Stefan Metzmacher
906f47db83 r9109: set HAVE_GAI_STRERROR when the function was found donnot know whz this
doesnnot go without this patch

metze
(This used to be commit e409dfe72f)
2007-10-10 13:31:17 -05:00
Stefan Metzmacher
40448834a0 r9107: try to get the build on solaris going...
metze
(This used to be commit 1008459a98)
2007-10-10 13:31:17 -05:00
Stefan Metzmacher
a0314b225f r9077: HEIMDAL_ROKEN needs inet_aton and on solaris it's in -lsocket
this should fix the build on sun1

metze
(This used to be commit 06c2aaa500)
2007-10-10 13:31:14 -05:00
Jelmer Vernooij
2f7f278cf1 r9053: Change order of dependencies (.h files are used when creating the
two compilers used for generating the rest of the heimdal files)
(This used to be commit f6b240125a)
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
3742b978cc r9049: - add property dependencies to include/proto.h
- make some stuff easier

metze
(This used to be commit 14b92e8a08)
2007-10-10 13:31:12 -05:00
Stefan Metzmacher
28c60387a4 r9026: remove autogenerated .x and .c files
metze
(This used to be commit 1268753920)
2007-10-10 13:31:09 -05:00
Stefan Metzmacher
d0868120d3 r9025: fix the build when it was stoped and you don't run make clean before make all
metze
(This used to be commit 9a920d18bd)
2007-10-10 13:31:08 -05:00
Jelmer Vernooij
c90cba5a73 r8996: More build fixes...
(This used to be commit 2b15c74f20)
2007-10-10 13:31:05 -05:00
Jelmer Vernooij
0165e1e71d r8995: Add heimdal headers back to "basics" target... should fix the build for now
(This used to be commit 343e33c13f)
2007-10-10 13:31:04 -05:00
Jelmer Vernooij
9c913ef592 r8994: Clean up some more autogenerated files so I can predict when I'm going to
break the build...
(This used to be commit 1f31414f37)
2007-10-10 13:31:04 -05:00
Jelmer Vernooij
7facdcc161 r8985: Automatically generate make dependency rules for
the asn1 and error table files.

This removes the need for HEIMDAL_EXTERNAL
(This used to be commit 2f481ac93c)
2007-10-10 13:31:04 -05:00