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
Andrew Bartlett
b7afac2b83
r14198: Update Samba4 to current lorikeet-heimdal.
...
Andrew Bartlett
(This used to be commit 97a0a0e2fa
)
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 1228358767
)
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 f57fd3c423
)
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 d512b147e8
)
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 ba62880f5b
)
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 849500d1aa
)
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 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
Jelmer Vernooij
7fe83f23b8
r8955: Move a bit more of the build process to the Makefile
...
(This used to be commit 670a7a8de5
)
2007-10-10 13:31:00 -05:00
Jelmer Vernooij
726681d158
r8832: Automatically rebuilding C files if headers change (in developer mode)
...
(This used to be commit bb02e1dccb
)
2007-10-10 13:30:10 -05:00
Jelmer Vernooij
930e624d81
r8826: Make configure generate config.mk files (with the external libraries
...
that were found) and a config.pm file (with all substitution variables)
(This used to be commit 52bb1374bb
)
2007-10-10 13:30:09 -05:00
Andrew Tridgell
f4691cf6f6
r8711: add m4 for finding return type for signal handlers
...
this patch brought to you by the continuing saga of HPUX portability
(This used to be commit 4d63bd27d4
)
2007-10-10 13:29:57 -05:00
Andrew Tridgell
3cddf280da
r8532: this miight fix cross compilation for reactos
...
(This used to be commit 810fa4f762
)
2007-10-10 13:29:35 -05:00
Andrew Tridgell
10cb617904
r8464: the last few functions needed by irix 6.4.
...
(This used to be commit 903d963ca8
)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
d0e3452a61
r8463: more irix fixes. This one adds some missing addrinfo functions
...
(This used to be commit 87f7098ee3
)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
978bbb4f4d
r8461: fixed integer64 handling on bit endian platforms. The ejs code used
...
%Ld, which is an invalid format code.
This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
(This used to be commit ccc87eb8aa
)
2007-10-10 13:23:05 -05:00