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

188 Commits

Author SHA1 Message Date
Stefan Metzmacher
1779e80bfb r19276: remove unused file
metze
(This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
2007-10-10 14:21:01 -05:00
Andrew Tridgell
69eed6a4ba r18604: fixed shell syntax
(This used to be commit 61104953c82442b9ef0817c077f4b91741fa3aa8)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
e84ee4a6fd r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
(This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
2007-10-10 14:18:55 -05:00
Andrew Tridgell
550834c9df r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace
(This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
182ab7107c r18539: 'make distclean' should delete config.cache
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
fafa8c3e47 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10 14:18:42 -05:00
Stefan Metzmacher
d08fb7b1cc r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10 14:18:36 -05:00
Andrew Tridgell
513568b7e2 r18400: move MAP_FAILED define to lib/replace/system/shmem.h
(This used to be commit 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
2007-10-10 14:18:23 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10 14:18:04 -05:00
Andrew Tridgell
8d923ab30f r18285: tdb now needs install-sh
(This used to be commit 007da6115a4af137cfb774c35767a9073130e4bf)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
c2387587cb r18280: more portability tidyups, ensuring we use libreplace everywhere
(This used to be commit 4860d0256547b33709cdc109bdf7bb0310c2a5b6)
2007-10-10 14:18:00 -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 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
3ca73facc5 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)
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
6150443532 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
8915c36b3f r18149: fix make *clean
metze
(This used to be commit 477c83c9834fa4dde0b69f6413336144ea5d5bdb)
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
db7de36b70 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)
2007-10-10 14:17:41 -05:00
Andrew Tridgell
ed356c7989 r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
2007-10-10 14:17:40 -05:00
Andrew Tridgell
886d020dbf r18131: fixed tdb subsystem to use right tdb.h
fixed LIBREPLACE dep in lib/charset
(This used to be commit 2f6cd41f40cf1625918f272458b6e103e4f3e00e)
2007-10-10 14:17:37 -05:00
Andrew Tridgell
a983b06d37 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
(This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10 14:17:36 -05:00
Andrew Tridgell
1bd0211698 r18108: move tdb to use the same build methods
(This used to be commit 05521650c622c933a742b833dc38b7e9b32836be)
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
99b2e8fdc9 r18098: use m4_include() instead of sinclude()
this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken
anyway

metze
(This used to be commit 816fa197a73f5f309b6a113d997d21a70423361e)
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
e9c109d21e r18090: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze
(This used to be commit 57531074439140da75e2d279b052224e6809a79d)
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 fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10 14:17:05 -05:00
Stefan Metzmacher
071582898c r17960: try to use gmake if present on IRIX
metze
(This used to be commit 18b4ae591a3a137dd25edd16a574e489cd5552bf)
2007-10-10 14:16:57 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
39b2377f90 r17781: fix compiler warning
metze
(This used to be commit bbe641f23676961972ac337304ece1116b0219b6)
2007-10-10 14:16:41 -05:00
Andrew Tridgell
36cb569e9b r17737: fixed a 'declaration in code' error
(This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
04d5c4aefd r17686: tdb.pc is in the build directory
(This used to be commit 01b76c7aa118f853593d006803796e50e8821533)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
67c5ccbd93 r17684: and we need -Iinclude for tdb
(This used to be commit 3a22b28f2b6d960e00acf1038d8cd3b820cf0be7)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
9a883a6336 r17680: make standalone tdb support building and testing in a different
directory to source
(This used to be commit a81a3874e1a40131cbba22d14d7b68fd0f5b54c5)
2007-10-10 14:16:23 -05:00
Stefan Metzmacher
999015bfbe r17532: merge from SAMBA_3_0 Revision: 17460
First step at fixing the build breakage with the groupmapping test. On Linux,
 F_RDLCK is defined to 0, for example NetBSD has it at 1.

 Still does not work fully though. Still investigating.

metze
(This used to be commit af08e56442367b5d803f61b8554d85e2fe0ce7e9)
2007-10-10 14:15:34 -05:00
Simo Sorce
c017cb1461 r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_PWRITE_DECL
and common/io.h already defines pread and pwrite as static if they are not.

remove unneded defines
(This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
2007-10-10 14:15:30 -05:00
Stefan Metzmacher
3ff21a0cd7 r17114: print some sizes for debugging
metze
(This used to be commit fa04ef88e5875c58fdfc7cbd2b24587bb740970d)
2007-10-10 14:10:14 -05:00
Stefan Metzmacher
4611244abd r17113: build tdb and ldb standalone with the same sizes of 'off_t' as from samba
metze
(This used to be commit 5c1e6c08c7cce233ca5798a325bdd17c2640286f)
2007-10-10 14:10:13 -05:00
Andrew Bartlett
43f6d7d189 r16938: Fix breakage of TDB on VOS (declaration after statement)
Andrew Bartlett
(This used to be commit d0ed7cd241e0e7889406f62fd620d8fe39d4498c)
2007-10-10 14:10:02 -05:00
Andrew Bartlett
fabc6ae74d r16917: Fix compile errors found by the testing of tdb on the build farm.
Andrew Bartlett
(This used to be commit a6e0846d9b5f1adc2ff137247a5c3f32746e43b5)
2007-10-10 14:10:00 -05:00
Andrew Bartlett
35fda6c5f3 r16916: Implement metze's proposed changes to the tdb logging API.
This clearly links the log function with its private pointer, and
makes the argument list for tdb_open_ex a bit shorter.

Andrew Bartlett
(This used to be commit 5d5503e8d8a10ead3ef21a5ffda52cadb9a07727)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
af04a37ce7 r16776: fix typo
metze
(This used to be commit 249bf24a40f78aab181a4cce8c42902859e43238)
2007-10-10 14:09:45 -05:00
Andrew Bartlett
d3fee429ae r16774: This patch modifies the tdb API to allow the logging function to be used
as part of ldb.

This allows tdb failures to be passed all the way up to Samba's DEBUG
system, which allowed easier debugging.

Unfortunately I had to extend the tdb API, as the logging function
didn't have a context pointer.

I've worked over the 'debug levels' in TDB.  Most of them were 0,
which didn't seem right, as some were trace-like messages.  We didn't
see any of these previously, except when accessing TDB directly.

Andrew Bartlett
(This used to be commit 58898092c1ce043f6d698db5065f372b79109e22)
2007-10-10 14:09:45 -05:00
Simo Sorce
68a06bf37e r16043: Fix error message
(This used to be commit 2898df2cee22f2d478440e9576bec15140909e45)
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
172a83d724 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10 14:05:58 -05:00
Tim Potter
1bf908c062 r15339: Signature for tdb_reopen_all() has changed.
(This used to be commit 4d8fff52360645df12b35cea45fceaa66d6594bf)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
ab8fd44603 r15300: Only enable SWIG shared libs if python is available
(This used to be commit d9f1c19f58578f97e7a20a54c474abfe6525849f)
2007-10-10 14:05:04 -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
James Peach
7b8e8daa53 r15143: Pull in GNU extensions right at the start of the configure process. This
prevents a warning on comparison_fn_t redefinition every time replace.h
is included.
(This used to be commit 9140a2d266a59c24c1bc101d4cdd7da3cb141106)
2007-10-10 14:04:11 -05:00
Volker Lendecke
de17570446 r15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
keywords. Change "private" -> "private_data".

Volker
(This used to be commit 047671567173e808fece41485bbeaaeebab7d4a2)
2007-10-10 14:04:10 -05:00
Volker Lendecke
fce0dcf245 r15100: Port the bugfix for #3569 to Samba4
(This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5)
2007-10-10 14:04:09 -05:00
Tim Potter
6aa32f4217 r15090: Since we wrap the swig wrapper in another layer of Python, there isn't
much point in doing lots of %rename calls in tdb.i so get rid of them.
(This used to be commit 983321f769a6ebc298f1f69bca1ac41ddc860606)
2007-10-10 14:04:07 -05:00
Andrew Tridgell
4b6cec88ae r14972: fix an uninitialised warning from ibm checker
(This used to be commit 9b867d2acffdfdcd5dc1dd5341db19daf11b5e96)
2007-10-10 14:00:48 -05:00