1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

336 Commits

Author SHA1 Message Date
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 b2649aaf399e6ff8d3e749b21cf64ea5e089e5cb)
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 f1da657d5629425b55c9bd89427ef5d8c19f9636)
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 29bd0d6d0c9832ad10da1fe9b07c2bbc9910c8c6)
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 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)
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 adc8a019b6da256f104abed1b82bfde6998a2ac9)
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 cd7307c099ace123d840459da39a49ccf3872267)
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 f0e538126c5cb29ca14ad0d8281eaa0a715ed94f)
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 ed33a140044c301f23b1bccbc334dd0e163647ed)
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 76dea9f68ca9be909c45979c9e5510133e4f2264)
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 71ea07e72d71b06166e0384950df83061a4677b8)
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 ba7b41bb57c926ba165260016c537622210b029b)
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 9329854489e2c231ffb7986d39009e0936873c11)
2007-10-10 14:04:03 -05:00
Jelmer Vernooij
9dfdfc65b7 r15001: Add 'make dist'
(This used to be commit 16e67d04d40a156a60011bcf6247ebf6039bbf30)
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 ab0c2ede27550f400c1ffb8fc1adbeddb477468e)
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 137ed99e3527c5240533d59b6b98d1f01a849046)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
bb603cffaf r14654: Fix hcrypto link when using automatic dependencies
(This used to be commit 2db7109abf3cbf1b676077f8e7536644dc55dfab)
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 a5c2b4cc92e807d18cb8df99bebf004fa4252e1e)
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 303832bdc90f371c68185773009d143d1acf93ae)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
c2c7971119 r14562: Use VPATH to solve strange heimdal dependencies
(This used to be commit 4d09ffa7f128e881fc891988ea672ae93a7ab45d)
2007-10-10 13:58:47 -05:00
Jelmer Vernooij
0f98a4d451 r14558: Another two more static dependencies...
(This used to be commit 9938b7391ddc558e4962e342180738ce9891180e)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
356b739207 r14557: Add hack for asn1 files
(This used to be commit b4796266c3dcd000a034c94ed2ff249735d5db92)
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
7b01c9e0c4 r14556: Fix some dependencies
(This used to be commit b5802770322678d3f9c2044039cc254024612f9b)
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 eb435386f015ce1d89eb6f7e7837622ebd9e1951)
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 f523c51b34c2305dcf861c542336f161a072a2f0)
2007-10-10 13:58:45 -05:00
Jelmer Vernooij
dcb912d23a r14545: Fix make dependency warning.
(This used to be commit 130db1abbe7f0998019bdf59332991b2a7d35eb2)
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 4682bc5ce047d81586447b9df82c91ed1fe677cf)
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 9c37f847d32d2f327a88c53a90af0c73126b76be)
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 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Andrew Bartlett
b7afac2b83 r14198: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit 97a0a0e2fa6784e5fc5278f7a15b385ddcb6a3b3)
2007-10-10 13:56:58 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
f8517b3874 r13922: - fix whitespaces
- remove some unused NOPROTO=YES on binaries

metze
(This used to be commit f57fd3c423ccfa4399c71559fd98d93a582e7a88)
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
f6457b3d54 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
(This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb)
2007-10-10 13:52:18 -05:00
Jelmer Vernooij
dfc517b053 r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
(This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10 13:52:05 -05:00
Andrew Bartlett
28d78c40ad r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett
(This used to be commit 849500d1aa658817052423051b1f5d0b7a1db8e0)
2007-10-10 13:51:26 -05:00
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 0e1ad08a8515056f4ed0923889bef04d85b84964)
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 2a6023d7414c1c337bb24a8c6882a17380cbc658)
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 5d42638170245b684b45459d0538ea86fa811214)
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 f9eede3d40098eddc3618ee48f9253cdddb94a6f)
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 b24f2583edee38abafa58578d8b5c4b43e517def)
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 9e103e53d1245e44563eea78d398d1de9895bd0e)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
aca9da26c7 r12378: fix perl warnings
metze
(This used to be commit 918e7b4043f6c92997e66d552f62bf1bef81fb81)
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 657345da222a7aa0fc2c8d96881a969805a4d7a5)
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 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)
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 875eb8f4cc658e6aebab070029fd499a726ad520)
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 0b54405685674a2b19a28d77aae5b1136b5a4728)
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 25d5ea6d724bd2b64a6086ae6e2e1c5148b8ca4a)
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 ec56590b063caa99f29be2b18409a69c3f22cf29)
2007-10-10 13:45:14 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
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 7fffc5c9178158249be632ac0ca179c13bd1f98f)
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 b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10 13:39:08 -05:00