amitay/samba.git
16 years agor18279: libreplace.m4 needs to come first or autoconf complains, as libreplace
Andrew Tridgell [Sat, 9 Sep 2006 02:06:01 +0000 (02:06 +0000)]
r18279: libreplace.m4 needs to come first or autoconf complains, as libreplace
checks for global system flags
(This used to be commit 6eefd44a878ed712bd789c84e89e70c586621b09)

16 years agor18278: move more header checks and _GNU_SOURCE into libreplace
Andrew Tridgell [Sat, 9 Sep 2006 01:49:38 +0000 (01:49 +0000)]
r18278: move more header checks and _GNU_SOURCE into libreplace
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)

16 years agor18277: on some of our slower hosts we need more than 2700 seconds for smbd to
Andrew Tridgell [Sat, 9 Sep 2006 01:21:10 +0000 (01:21 +0000)]
r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
(This used to be commit c44b17ad66281eb4611353fd79a410151d9ce531)

16 years agor18273: AC_PROG_LD_GNU needs LD defined already
Stefan Metzmacher [Fri, 8 Sep 2006 14:48:40 +0000 (14:48 +0000)]
r18273: AC_PROG_LD_GNU needs LD defined already

metze
(This used to be commit 6b3d27e93e7c00d1ab70d2c82e29b99b9f666228)

16 years agor18272: Couldn't resist to change this.
Simo Sorce [Fri, 8 Sep 2006 14:32:36 +0000 (14:32 +0000)]
r18272: Couldn't resist to change this.
What we want to do here is to just make sure res is freed.
Well let's just do so explicitly, the steal cofused me
initially while reading the code. This way it is clear
what we want to do.

Simo.
(This used to be commit 30a26a501fef939991a2e998003c5a43fd5cb67e)

16 years agor18270: Samba3 has _PUBLIC_ now.
Jelmer Vernooij [Fri, 8 Sep 2006 14:25:52 +0000 (14:25 +0000)]
r18270: Samba3 has _PUBLIC_ now.
(This used to be commit 9dd6520240fbe3ea8126845a1fa2bdea35c7c4ac)

16 years agor18268: for samba3 define _PUBLIC_ empty
Stefan Metzmacher [Fri, 8 Sep 2006 14:06:39 +0000 (14:06 +0000)]
r18268: for samba3 define _PUBLIC_ empty

metze
(This used to be commit b2018249b7da4155dde963bf118d4636864b0343)

16 years agor18267: print out the failing command for .ho files too
Stefan Metzmacher [Fri, 8 Sep 2006 13:55:13 +0000 (13:55 +0000)]
r18267: print out the failing command for .ho files too

metze
(This used to be commit 25dc4557fff940aa4cc46df59f4c5a72b7518117)

16 years agor18266: we should bail out in configure if C99 structs are not support
Stefan Metzmacher [Fri, 8 Sep 2006 13:47:45 +0000 (13:47 +0000)]
r18266: we should bail out in configure if C99 structs are not support

tridge: I think we should create macros in libreplace_macros.m4
        and call them in check_cc.m4 instead of running the tests
in libreplace.m4. Maybe the macros should remember if they're called
and then they're skipped in libreplace.m4 inside samba4

metze
(This used to be commit ce08bf12803869914b35c05e125070f267daf78c)

16 years agor18265: print out the failling command
Stefan Metzmacher [Fri, 8 Sep 2006 13:37:22 +0000 (13:37 +0000)]
r18265: print out the failling command

metze
(This used to be commit 9d2ab28ba1a119dff1a97147934c03e712c7148d)

16 years agor18264: print the full list of flags
Stefan Metzmacher [Fri, 8 Sep 2006 13:11:03 +0000 (13:11 +0000)]
r18264: print the full list of flags

metze
(This used to be commit ee5bd106945a013ba69c277a340c0961339983c6)

16 years agor18262: fix typos
Stefan Metzmacher [Fri, 8 Sep 2006 12:48:51 +0000 (12:48 +0000)]
r18262: fix typos

metze
(This used to be commit acbd52009f8610df38f27adf6097cf7075b977fc)

16 years agor18261: print out the version of gcc
Stefan Metzmacher [Fri, 8 Sep 2006 12:28:11 +0000 (12:28 +0000)]
r18261: print out the version of gcc

metze
(This used to be commit 655e400127d828104718ab87a0bc118dbf1a471f)

16 years agor18260: fix the build on systems with broken readdir
Stefan Metzmacher [Fri, 8 Sep 2006 11:42:47 +0000 (11:42 +0000)]
r18260: fix the build on systems with broken readdir

this is just a short term hack

we should move the stuff from lib/replace/config.mk
into a lib/replace/samba.m4 and dynamicly generate the OBJ_FILES
list for LIBREPLACE and get rid of REPLACE_REPDIR

metze
(This used to be commit e27a36286845b95150d06daaae8f5dcf988febd7)

16 years agor18258: need to use .priority not .order here
Andrew Tridgell [Fri, 8 Sep 2006 06:57:01 +0000 (06:57 +0000)]
r18258: need to use .priority not .order here
(This used to be commit a47d65fe17a0e84615ff235380eb2462579199f0)

16 years agor18257: Order the GENSEC modules, with unknown modules last.
Andrew Bartlett [Fri, 8 Sep 2006 06:21:02 +0000 (06:21 +0000)]
r18257: Order the GENSEC modules, with unknown modules last.

Andrew Bartlett
(This used to be commit 8ae880b5019ab275fe0eca48120ab9e0fcca6293)

16 years agor18256: use the right status variable
Andrew Tridgell [Fri, 8 Sep 2006 06:04:10 +0000 (06:04 +0000)]
r18256: use the right status variable
(This used to be commit f4b4bd945f5c3955aab0c3cf89ad6cdda7529dac)

16 years agor18255: Remove the SMB_ASSERT(), as these are not talloc()'ed structures.
Andrew Bartlett [Fri, 8 Sep 2006 05:45:23 +0000 (05:45 +0000)]
r18255: Remove the SMB_ASSERT(), as these are not talloc()'ed structures.

Andrew Bartlett
(This used to be commit 73fba185eba6b059d34790c95a30d49b296759f5)

16 years agor18254: reverted r18231
Andrew Tridgell [Fri, 8 Sep 2006 05:43:08 +0000 (05:43 +0000)]
r18254: reverted r18231

Jelmer, older versions of gcc don't support visibility("default"). See
for example the CentOS build here:

  http://build.samba.org/?function=View+Build;host=lithium;tree=samba4;compiler=gcc;revision=18253

Is there some other way you can think of to do this?
(This used to be commit 76496c2f5e37b735e0b303ae20824c92bfa30974)

16 years agor18253: Turn Cyrus-SASL DIGEST-MD5 off by default for now.
Andrew Bartlett [Fri, 8 Sep 2006 05:24:44 +0000 (05:24 +0000)]
r18253: Turn Cyrus-SASL DIGEST-MD5 off by default for now.

Andrew Bartlett
(This used to be commit 2da948cb6ecc75e2b4b97c770c8ba13b7f831d6e)

16 years agor18252: Make sure to NULL terminate these lists of attributes.
Andrew Bartlett [Fri, 8 Sep 2006 05:10:10 +0000 (05:10 +0000)]
r18252: Make sure to NULL terminate these lists of attributes.

Andrew Bartlett
(This used to be commit 8cddcdb7c71963ed5fc30080c6bd4c48d114e321)

16 years agor18251: skip pidl tests unless the platform has Test::More
Andrew Tridgell [Fri, 8 Sep 2006 04:54:30 +0000 (04:54 +0000)]
r18251: skip pidl tests unless the platform has Test::More
(This used to be commit 6c7dd852c05cf131d7def8a8dcff7e98df9ea521)

16 years agor18250: Add an ordering of GENSEC modules, so we do preferred modules first.
Andrew Bartlett [Fri, 8 Sep 2006 04:37:56 +0000 (04:37 +0000)]
r18250: Add an ordering of GENSEC modules, so we do preferred modules first.

Andrew Bartlett
(This used to be commit 0afb4d1992b3c93557dec1e1cdca467efc299853)

16 years agor18249: Keep trying to start an GENSEC mech from the list until one actually
Andrew Bartlett [Fri, 8 Sep 2006 04:36:41 +0000 (04:36 +0000)]
r18249: Keep trying to start an GENSEC mech from the list until one actually
starts.

Andrew Bartlett
(This used to be commit 7dba525f5598199e89badbf15e0f5f09023c6cfa)

16 years agor18248: Bail out with a error message if this search fails for some reason.
Andrew Bartlett [Fri, 8 Sep 2006 04:36:00 +0000 (04:36 +0000)]
r18248: Bail out with a error message if this search fails for some reason.

Andrew Bartlett
(This used to be commit 77b810f548fffc1298978cc92c842f5e4fc13786)

16 years agor18247: more shell portability fixes
Andrew Tridgell [Fri, 8 Sep 2006 04:35:41 +0000 (04:35 +0000)]
r18247: more shell portability fixes
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)

16 years agor18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
Andrew Bartlett [Fri, 8 Sep 2006 04:35:00 +0000 (04:35 +0000)]
r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
(This used to be commit 73d87cce7c5e33f73d6a63379af3586f543eb372)

16 years agor18245: Ensure we don't keep the rootdse record around (steal it onto the
Andrew Bartlett [Fri, 8 Sep 2006 04:04:30 +0000 (04:04 +0000)]
r18245: Ensure we don't keep the rootdse record around (steal it onto the
correct memory context).

Andrew Bartlett
(This used to be commit b4f234e507fa94e9600c362fb6edb704d299cfce)

16 years agor18244: more portable shell scripting
Andrew Tridgell [Fri, 8 Sep 2006 03:28:39 +0000 (03:28 +0000)]
r18244: more portable shell scripting
(This used to be commit 320003127690ab98fc2185f0eb528a778cae2740)

16 years agor18243: when setting up a composite continuation, if the context has already
Andrew Tridgell [Fri, 8 Sep 2006 03:06:47 +0000 (03:06 +0000)]
r18243: when setting up a composite continuation, if the context has already
finished when we need to trigger the continuation immediately.

Via a fairly complex path, this fixes the problem where all hosts in
the build farm that do not have ipv6 failed a lot of the RPC
tests. This happened because the dcerpc_connect() async code used a
composite_continue() on a context which was already in an error state,
due to the socket backend saying that ipv6 was unavailable
(This used to be commit dbf935d38b6b1fea5ed00e94c9b1a518cb14768b)

16 years agor18242: The cyrus-sasl encode/decode routines process the entire input.
Andrew Bartlett [Fri, 8 Sep 2006 01:16:25 +0000 (01:16 +0000)]
r18242: The cyrus-sasl encode/decode routines process the entire input.

Andrew Bartlett
(This used to be commit 32d8a23d5499ef3d913240b5693b54eb2e78cd7d)

16 years agor18240: Make it clearer when we store the plaintext password.
Andrew Bartlett [Fri, 8 Sep 2006 00:23:21 +0000 (00:23 +0000)]
r18240: Make it clearer when we store the plaintext password.

Store the plaintext password in userPassword in the LDAP backend so
that the OpenLDAP server can use DIGEST-MD5.

Andrew Bartlett
(This used to be commit 1b02c604b2c55e1c9e15ac1f266e7df74d619dbd)

16 years agor18238: add SID_NAME_COMPUTER to the enum lsa_SidType type
Gerald Carter [Thu, 7 Sep 2006 21:33:35 +0000 (21:33 +0000)]
r18238: add SID_NAME_COMPUTER to the enum lsa_SidType type
(This used to be commit ced2f9599446520229566e25a783101b19c64177)

16 years agor18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
Jelmer Vernooij [Thu, 7 Sep 2006 20:24:59 +0000 (20:24 +0000)]
r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
(This used to be commit 77043ebe25dcca2a6b1a37d3b6095e9c434652d9)

16 years agor18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
Jelmer Vernooij [Thu, 7 Sep 2006 20:01:17 +0000 (20:01 +0000)]
r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
(This used to be commit d0f0d4600acad71ea4993f4e356735433d9bc5f0)

16 years agor18227: Recognize Samba3 in-tree builds.
Jelmer Vernooij [Thu, 7 Sep 2006 19:46:23 +0000 (19:46 +0000)]
r18227: Recognize Samba3 in-tree builds.
(This used to be commit 5055430ddfca02a962827bbedf7fbd9987992953)

16 years agor18223: the perl array of dependecies is in reversed order
Stefan Metzmacher [Thu, 7 Sep 2006 14:24:18 +0000 (14:24 +0000)]
r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order

metze
(This used to be commit 49b555b876493e4d05bd69328f9a4e0585aa8076)

16 years agor18222: filter out double entries from CFLAGS
Stefan Metzmacher [Thu, 7 Sep 2006 14:00:40 +0000 (14:00 +0000)]
r18222: filter out double entries from CFLAGS

metze
(This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)

16 years agor18221: moved more configure checks into lib/replace/
Andrew Tridgell [Thu, 7 Sep 2006 13:11:47 +0000 (13:11 +0000)]
r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)

16 years agor18220: $#foo returns the index of the last element not the count of elements,
Stefan Metzmacher [Thu, 7 Sep 2006 12:40:29 +0000 (12:40 +0000)]
r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.

as 0 means one element

metze
(This used to be commit d8b5d0c9a75731c8627e8fabb364ec0ad0e9decd)

16 years agor18219: move some more portability checks out of samba4 and info lib/replace
Andrew Tridgell [Thu, 7 Sep 2006 12:10:06 +0000 (12:10 +0000)]
r18219: move some more portability checks out of samba4 and info lib/replace
(This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)

16 years agor18218: setenv() is guaranteed by libreplace
Andrew Tridgell [Thu, 7 Sep 2006 11:48:53 +0000 (11:48 +0000)]
r18218: setenv() is guaranteed by libreplace

also, putenv() cannot take a const char *
(This used to be commit 03c9f9dc3668d43983e0e6d7b87d9d3bbf8869f0)

16 years agor18217: use shorter perl
Stefan Metzmacher [Thu, 7 Sep 2006 11:17:56 +0000 (11:17 +0000)]
r18217: use shorter perl

metze
(This used to be commit 4ce7b4e45c016215a84a70b677d55cc6e79a2473)

16 years agor18216: a special override for the broken HP-UX C compiler. It does support
Andrew Tridgell [Thu, 7 Sep 2006 10:50:33 +0000 (10:50 +0000)]
r18216: a special override for the broken HP-UX C compiler. It does support
C99 initialisers without any flags, but if you don't give it -AC99
then it dies when those initialisers are very complex
(This used to be commit 46f72d7e3f285d08a043b4e8551f22c4dffe65e5)

16 years agor18215: use a shorter version
Stefan Metzmacher [Thu, 7 Sep 2006 10:32:49 +0000 (10:32 +0000)]
r18215: use a shorter version

metze
(This used to be commit 239a2607ab1a725dcbbfc03103006d2a3bf6b41e)

16 years agor18214: don't add empty elements
Stefan Metzmacher [Thu, 7 Sep 2006 10:25:55 +0000 (10:25 +0000)]
r18214: don't add empty elements

metze
(This used to be commit 9695a4bd530d0f49e6a87c6bb56502c6d2d3bdbd)

16 years agor18213: don't list LIBREPLACE depdendecies explicit and
Stefan Metzmacher [Thu, 7 Sep 2006 10:02:32 +0000 (10:02 +0000)]
r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)

16 years agor18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
Jelmer Vernooij [Thu, 7 Sep 2006 09:59:39 +0000 (09:59 +0000)]
r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
(This used to be commit d03aaecdcd62ecf2910f0d0570184a0c42874574)

16 years agor18211: wct is not a size, so don't use size_t
Andrew Tridgell [Thu, 7 Sep 2006 09:49:34 +0000 (09:49 +0000)]
r18211: wct is not a size, so don't use size_t

this should fix a pile of printf format warnings
(This used to be commit fe209e360e3857f39355335e4fa6a43b2db23038)

16 years agor18210: - reenable autodependencies
Stefan Metzmacher [Thu, 7 Sep 2006 09:38:49 +0000 (09:38 +0000)]
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 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)

16 years agor18209: fix the ifdef for HAVE_HISTORY_LIST
Andrew Tridgell [Thu, 7 Sep 2006 09:05:50 +0000 (09:05 +0000)]
r18209: fix the ifdef for HAVE_HISTORY_LIST
(This used to be commit bda5c3c0e39de0ae2d4686a8746cc7ee1cc9d18f)

16 years agor18208: Mac OS X also doesn't have history_list()
Andrew Tridgell [Thu, 7 Sep 2006 08:34:12 +0000 (08:34 +0000)]
r18208: Mac OS X also doesn't have history_list()

must be a pretty old readline lib!
(This used to be commit ba901e6820c02bc696c0bd3e9e0788801fd0795b)

16 years agor18207: not all readline libs have rl_event_hook
Andrew Tridgell [Thu, 7 Sep 2006 07:56:41 +0000 (07:56 +0000)]
r18207: not all readline libs have rl_event_hook

this should help with coreserverbuild (Mac OS X)
(This used to be commit b0efbdfa98cfda87a78874c2a71a52cc091e4021)

16 years agor18206: need rep_ macro for setlinebuf
Andrew Tridgell [Thu, 7 Sep 2006 07:26:02 +0000 (07:26 +0000)]
r18206: need rep_ macro for setlinebuf
(This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)

16 years agor18205: need rep_ macros for seteuid and setegid
Andrew Tridgell [Thu, 7 Sep 2006 07:23:58 +0000 (07:23 +0000)]
r18205: need rep_ macros for seteuid and setegid
(This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)

16 years agor18204: darn, compilers always look in the directory the source is in for
Andrew Tridgell [Thu, 7 Sep 2006 07:13:35 +0000 (07:13 +0000)]
r18204: darn, compilers always look in the directory the source is in for
headers with "" even with a -I override. That means our heimdal_build/
roken override doesn't work.

Switching to <> style includes in roken fixes this. lha, would be be
acceptable upstream? I notice that half your includes of roken.h are
with <> now anyway, so should be harmless (and even more consistent!)
(This used to be commit 92742b899941687c861a85683ad2c2c6a3083fb6)

16 years agor18203: rearranged the overrides in heimdal_build/*.h to avoid the use of
Andrew Tridgell [Thu, 7 Sep 2006 04:52:06 +0000 (04:52 +0000)]
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 84335903ceaf2242e43a0c5464e33408daec44b4)

16 years agor18202: moved the overrides for HAVE_xxx from heimdal_build/config.h to
Andrew Tridgell [Thu, 7 Sep 2006 04:24:54 +0000 (04:24 +0000)]
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 dc2580f0fd67687cbe4b590a7fed9fde0db4a4a0)

16 years agor18198: Fix callbacks to use allocated or constant memory, not the stack.
Andrew Bartlett [Thu, 7 Sep 2006 03:24:08 +0000 (03:24 +0000)]
r18198: Fix callbacks to use allocated or constant memory, not the stack.
These values are used by SASL at a later time, and must remain valid.

Make the password callback actually return the password.

Andrew Bartlett
(This used to be commit 8e12f92bbe3aa878292169f4699502e241ef6c0b)

16 years agor18194: Allow empty bitmap {} declarations.
Jelmer Vernooij [Wed, 6 Sep 2006 22:25:54 +0000 (22:25 +0000)]
r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9a8c9790ce81480fe26d57e52789dbb)

16 years agor18190: Add more NET tests to be run on the build farm.
Rafal Szczesniak [Wed, 6 Sep 2006 19:43:39 +0000 (19:43 +0000)]
r18190: Add more NET tests to be run on the build farm.

rafal
(This used to be commit 8657bd437a13513632650a192509fc98c686c69d)

16 years agor18184: make clear that autodepencies are disabled currently
Stefan Metzmacher [Wed, 6 Sep 2006 16:33:07 +0000 (16:33 +0000)]
r18184: make clear that autodepencies are disabled currently

metze
(This used to be commit a2eee3c6dbe14fc8fc6ee2f5581f2d9a33e25def)

16 years agor18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
Stefan Metzmacher [Wed, 6 Sep 2006 15:28:20 +0000 (15:28 +0000)]
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 159f74570233a8707dc1deb70fb1917a854213f8)

16 years agor18181: use:
Stefan Metzmacher [Wed, 6 Sep 2006 15:01:25 +0000 (15:01 +0000)]
r18181: use:
 CC and CFLAGS
 LD and LDFLAGS
 STLD and STLD_FLAGS
 SHLD and SHLD_FLAGS

all controled by configure
and import the values from samba3 which are more recent

metze
(This used to be commit 5e59153735102df6fae2eaaac6a7c3db86c95f8f)

16 years agor18179: - move CC specific stuff to check_cc.m4
Stefan Metzmacher [Wed, 6 Sep 2006 14:29:57 +0000 (14:29 +0000)]
r18179: - move CC specific stuff to check_cc.m4
- add some AC_DEFINES to rewrite.m4
  (I'll remove them from check_ld.m4 soon)
  (I've also merged new values from samba3)

metze
(This used to be commit de0c8d1b1729daef984d5b44e0224481cf9e2164)

16 years agor18178: another place needs LIBREPLACE to get strndup
Andrew Tridgell [Wed, 6 Sep 2006 13:29:25 +0000 (13:29 +0000)]
r18178: another place needs LIBREPLACE to get strndup

metze or jelmer, is there some way we can get LIBREPLACE in globally?
We're going to be chasing these forever!
(This used to be commit 7a9d41dd5b71f79ec10c2d3774d01dba696728fd)

16 years agor18176: reg_util.c needs LIBREPLACE for strndup
Andrew Tridgell [Wed, 6 Sep 2006 13:15:37 +0000 (13:15 +0000)]
r18176: reg_util.c needs LIBREPLACE for strndup
(This used to be commit dc1369b2ad1f55e1acfcc2ddd99ec6ac8b115da9)

16 years agor18173: PICSUFFIX isn't used anymore
Stefan Metzmacher [Wed, 6 Sep 2006 12:59:44 +0000 (12:59 +0000)]
r18173: PICSUFFIX isn't used anymore

metze
(This used to be commit 647f3b140c77a2a01ff0c9fadf45e080659844d1)

16 years agor18171: Generate prototypes for functions returning bool.
Jelmer Vernooij [Wed, 6 Sep 2006 12:30:26 +0000 (12:30 +0000)]
r18171: Generate prototypes for functions returning bool.
(This used to be commit 587a681c19a2747faaf83157e94dba998b6caf42)

16 years agor18169: Remove accidentally committed bits
Jelmer Vernooij [Wed, 6 Sep 2006 12:29:05 +0000 (12:29 +0000)]
r18169: Remove accidentally committed bits
(This used to be commit 51faeff2fa8050190ce0c3608f7936414fe2ea15)

16 years agor18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
Jelmer Vernooij [Wed, 6 Sep 2006 12:28:01 +0000 (12:28 +0000)]
r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)

16 years agor18166: Fix build with external popt.
Jelmer Vernooij [Wed, 6 Sep 2006 12:18:15 +0000 (12:18 +0000)]
r18166: Fix build with external popt.
(This used to be commit b34310029a02402bf5f5bd8690a67a3d746906ee)

16 years agor18164: enable the SASL library if found
Stefan Metzmacher [Wed, 6 Sep 2006 12:12:42 +0000 (12:12 +0000)]
r18164: enable the SASL library if found

metze
(This used to be commit 675541f24e4681161fcc85422c14f9ecbf30e048)

16 years agor18163: Remove defines for BOOL, False and True
Jelmer Vernooij [Wed, 6 Sep 2006 12:10:25 +0000 (12:10 +0000)]
r18163: Remove defines for BOOL, False and True
(This used to be commit 6f5e7df6f2cf67731e596b1d1d6fafbb76123e89)

16 years agor18161: Fix LDB build after popt changes.
Jelmer Vernooij [Wed, 6 Sep 2006 11:48:24 +0000 (11:48 +0000)]
r18161: Fix LDB build after popt changes.
(This used to be commit 849fa935401b8d846e5e9c92267dc1cbabd3ae55)

16 years agor18160: - pread and pwrite replacements need to be non-static
Andrew Tridgell [Wed, 6 Sep 2006 11:31:59 +0000 (11:31 +0000)]
r18160: - pread and pwrite replacements need to be non-static

- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
(This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)

16 years agor18159: always recreate the the archive and use -s (which does the same as ranlib)
Stefan Metzmacher [Wed, 6 Sep 2006 11:20:43 +0000 (11:20 +0000)]
r18159: always recreate the the archive and use -s (which does the same as ranlib)
and see how portable it is

metze
(This used to be commit 47b4509db909e0848842c1601f2058183d36bda7)

16 years agor18157: Fix building with external popt.
Jelmer Vernooij [Wed, 6 Sep 2006 10:50:52 +0000 (10:50 +0000)]
r18157: Fix building with external popt.
(This used to be commit 72e71de3e591091d71e43a3c9efd1cafd82d6c89)

16 years agor18156: fix platforms that need timegm replacement
Andrew Tridgell [Wed, 6 Sep 2006 10:40:36 +0000 (10:40 +0000)]
r18156: fix platforms that need timegm replacement
(This used to be commit 859fefc3b9d4241c3db2b2642e3340dffd93f1dd)

16 years agor18155: Add my work in progress, a module to link with Cyrus-SASL, for a
Andrew Bartlett [Wed, 6 Sep 2006 10:34:18 +0000 (10:34 +0000)]
r18155: Add my work in progress, a module to link with Cyrus-SASL, for a
DIGEST-MD5 implemenation in particular.

However, I can't make this work:  Cyrus-SASL isn't loading the mech...

Andrew Bartlett
(This used to be commit 0b193d28c896c9d212a536da7d87634543d971a5)

16 years agor18154: try to get the heimdal_build code to use libreplace in a better way
Andrew Tridgell [Wed, 6 Sep 2006 10:30:17 +0000 (10:30 +0000)]
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 d52aaccdf8a537dc8de8db7c30ff0ab076c4c63f)

16 years agor18153: html/ isn't needed
Stefan Metzmacher [Wed, 6 Sep 2006 10:14:01 +0000 (10:14 +0000)]
r18153: html/ isn't needed

metze
(This used to be commit 39dc57a50280889a56fa27638b9f56574883a487)

16 years agor18152: move our AC macros into lib/replace/libreplace_macros.m4
Stefan Metzmacher [Wed, 6 Sep 2006 09:52:16 +0000 (09:52 +0000)]
r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)

16 years agor18151: remove testfile
Stefan Metzmacher [Wed, 6 Sep 2006 09:47:02 +0000 (09:47 +0000)]
r18151: remove testfile

metze
(This used to be commit 6ffebfb9b7b8175eb312df6b9bc9fbd0db61b2e1)

16 years agor18150: fix make *clean
Stefan Metzmacher [Wed, 6 Sep 2006 09:44:12 +0000 (09:44 +0000)]
r18150: fix make *clean

metze
(This used to be commit e354cd0fae7ad87be30a820954dc840271301177)

16 years agor18149: fix make *clean
Stefan Metzmacher [Wed, 6 Sep 2006 09:26:47 +0000 (09:26 +0000)]
r18149: fix make *clean

metze
(This used to be commit 477c83c9834fa4dde0b69f6413336144ea5d5bdb)

16 years agor18148: - use PHONY for test
Stefan Metzmacher [Wed, 6 Sep 2006 09:06:49 +0000 (09:06 +0000)]
r18148: - use PHONY for test
- don't try to install with make test
- add make distclean and realdistclean

metze
(This used to be commit 67cb692a48726075f70b55e18e71d8fae6303d34)

16 years agor18147: add make realdistclean
Stefan Metzmacher [Wed, 6 Sep 2006 08:47:32 +0000 (08:47 +0000)]
r18147: add make realdistclean

metze
(This used to be commit 20543e0306b129ee89c6ad21dd41205ac0263d7d)

16 years agor18146: we need signal.h in some places
Andrew Tridgell [Wed, 6 Sep 2006 08:43:33 +0000 (08:43 +0000)]
r18146: we need signal.h in some places
(This used to be commit f226645d73c85011fea32a9b6e26eb41dd2c4336)

16 years agor18145: rename cc_feature.m4 into libreplace_macros.m4
Stefan Metzmacher [Wed, 6 Sep 2006 08:30:56 +0000 (08:30 +0000)]
r18145: rename cc_feature.m4 into libreplace_macros.m4

metze
(This used to be commit d0f40dd3e5ca8b46ee9b2c4332b393f519383aae)

16 years agor18144: make the logic a bit more cut&paste friendly
Stefan Metzmacher [Wed, 6 Sep 2006 08:27:07 +0000 (08:27 +0000)]
r18144: make the logic a bit more cut&paste friendly

metze
(This used to be commit da9be10dc602d21871d970a10015e970650942fe)

16 years agor18143: the 'showflags' convention from Samba is useful for the other packages
Andrew Tridgell [Wed, 6 Sep 2006 07:11:09 +0000 (07:11 +0000)]
r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)

16 years agor18142: add make distclean to talloc build
Stefan Metzmacher [Wed, 6 Sep 2006 06:47:10 +0000 (06:47 +0000)]
r18142: add make distclean to talloc build

metze
(This used to be commit c8342c9ae5b37acd72271e025f0ee735a95cf8e5)

16 years agor18141: an accidental nested C comment!
Andrew Tridgell [Wed, 6 Sep 2006 06:20:29 +0000 (06:20 +0000)]
r18141: an accidental nested C comment!
(This used to be commit 47c305c7dc5d2b2b61afe9f42f77ee3652c61a79)

16 years agor18140: and this reduces warnings about toupper()
Andrew Tridgell [Wed, 6 Sep 2006 06:14:40 +0000 (06:14 +0000)]
r18140: and this reduces warnings about toupper()
(This used to be commit 41419e54d5e79d08a71cd9c94585be3448b1e9fc)

16 years agor18139: irix needs system/network.h here
Andrew Tridgell [Wed, 6 Sep 2006 06:12:36 +0000 (06:12 +0000)]
r18139: irix needs system/network.h here
(This used to be commit f46ab799b41c0ec520739ec11979771316781ce4)

16 years agor18138: LIBREPLACE provides stuff from -ldl so it should depend on it
Stefan Metzmacher [Wed, 6 Sep 2006 06:05:58 +0000 (06:05 +0000)]
r18138: LIBREPLACE provides stuff from -ldl so it should depend on it

metze
(This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)

16 years agor18137: more LIBREPLACE deps
Andrew Tridgell [Wed, 6 Sep 2006 05:59:10 +0000 (05:59 +0000)]
r18137: more LIBREPLACE deps
(This used to be commit 2d813d1e6deb99b06e43462885be848a5399b9a8)

16 years agor18136: put lib/replace in the default include path
Stefan Metzmacher [Wed, 6 Sep 2006 05:57:21 +0000 (05:57 +0000)]
r18136: put lib/replace in the default include path

metze
(This used to be commit 2b51391470d0ecf001cd869e4ab9ba7a3474a7fe)

16 years agor18135: almost there ....
Andrew Tridgell [Wed, 6 Sep 2006 05:54:43 +0000 (05:54 +0000)]
r18135: almost there ....
(This used to be commit cefcccb51948fb17fbc803325e8ab13103164f93)