Jeremy Allison
5df1d8d550
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 9dabde1f3e5ba3d98e4e02d8c2a0706dc4f48c18)
2008-02-21 11:03:35 -08:00
Karolin Seeger
7428f00d22
Change option name.
...
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)
Karolin
(This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
2008-02-21 19:34:48 +01:00
Jeremy Allison
3a376f1cfa
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit beb0a76b93f9dd054dbc4192516e7008e59b27d9)
2008-02-21 09:53:00 -08:00
Michael Adam
bf6dbf8e1b
libreplace: fix compile errors in getifaddrs.c
...
Michael
(This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-21 18:16:10 +01:00
Michael Adam
357659b1d0
Try and fix getifaddrs check on irix: dont't try to include config.h
...
The missing header file is judged "catastrophic" on irix.
Michael
(This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
2008-02-21 17:56:33 +01:00
Michael Adam
0d7f555335
Move the definition of SMB_LIBRARY to aclocal.m4.
...
Michael
(This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
2008-02-21 14:07:45 +01:00
Michael Adam
d29c816b61
configure: Abstract configuration of internal libs into an m4 macro.
...
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).
Michael
(This used to be commit 54d73769c49eb87ecb33e3229a01214972b53858)
2008-02-21 12:59:42 +01:00
Volker Lendecke
21387a4c5e
fix typo
...
(This used to be commit 2d51bf67fc33e1f8f28151277fc254b82a04b664)
2008-02-21 11:40:22 +01:00
Michael Adam
63592eebbb
Remove check for secure mkstemp from configure.in.
...
It has moved to libreplace.
Michael
(This used to be commit b5e894cb3b4d447bd8e8c3f461508c4cf3f630c1)
2008-02-21 10:27:56 +01:00
Michael Adam
48302a28a9
Remove mmap check from configure.in
...
It is available in libreplace.
Michael
(This used to be commit 310c121faf5effeca9ab0df3591c486dd4982749)
2008-02-21 10:27:56 +01:00
Michael Adam
e823c9f237
Fix the build on irix: Prevent empty line in TDB_OBJ
...
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!
Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)
2008-02-21 10:27:56 +01:00
Jeremy Allison
94ed19c4a8
From: David Disseldorp <ddiss@sgi.com>
...
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.
Patch for Samba 3.2 Test branch below.
Cheers, David D
(This used to be commit d9b72282c63b57c8e54131306b2a3028a1ea41dc)
2008-02-20 22:10:54 -08:00
Tim Potter
34eef81d2a
Fix double free bugs after calling regfio_close()
...
(This used to be commit 737bb950d50ac6c5d4f99279bf535ae3a9963b2f)
2008-02-20 18:28:41 -08:00
Tim Potter
441de75e58
Fix memory leaks on error path
...
(This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)
2008-02-20 18:27:40 -08:00
Tim Potter
abf8465659
Fix possible close of invalid fd if call to socket() returns -1.
...
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
2008-02-20 17:58:50 -08:00
Michael Adam
ec1576e346
Fix build with static libs: place tdb static lib after tdb-util objects.
...
Michael
(This used to be commit 39eef8e86cfab60c1328d2335a737b41d8fd6db0)
2008-02-20 23:44:17 +01:00
Michael Adam
d2e63399d3
configure: add --enable-shared-libs to control overall internal use of shared libs.
...
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.
Michael
(This used to be commit 63bff18f3f6396736910a8e1f5f2abf453c4f89a)
2008-02-20 23:38:27 +01:00
Michael Adam
443f8ed260
configure: Move assemblage of samba version strings to m4 include file.
...
Michael
(This used to be commit 8b220717e8dd62455716d4aaf6728087d04fb71b)
2008-02-20 21:33:24 +01:00
Michael Adam
e0f4573de2
Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
...
These tests are in libreplace.
Michael
(This used to be commit 2e6b66eda4dc30f03f1309a1dbef3eb87a4f7d1e)
2008-02-20 21:33:24 +01:00
Jelmer Vernooij
9c3f0170b3
Support dlopen(NULL, ...) on HPUX.
...
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
(This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)
2008-02-20 21:12:54 +01:00
Michael Adam
4f5a888067
Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
...
These are tested in libreplace.
Michael
(This used to be commit 9b9495d3672e3a8e74d153dbef62825e6b5d5170)
2008-02-20 17:26:39 +01:00
Michael Adam
3ac36c3caf
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
...
Michael
(cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
(This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)
2008-02-20 14:14:50 +01:00
Michael Adam
9ba696cb68
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
...
Michael
(cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
(This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
2008-02-20 14:14:41 +01:00
Michael Adam
2356cc6586
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
...
Michael
(cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
(This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)
2008-02-20 14:14:31 +01:00
Michael Adam
b277aa2893
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
...
Michael
(cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
(This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)
2008-02-20 14:14:20 +01:00
Michael Adam
9e5be586af
Remove the getifaddrs checks from configure.in: they are now in lib/replace.
...
Michael
(This used to be commit 53c9098253f5a7f84ea8079a755b9d4f0b28fb2c)
2008-02-20 00:44:40 +01:00
Michael Adam
31a356420d
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
...
To fix the build (make test) after merging libreplace changes.
Michael
(This used to be commit af5ec88ece3ecca2b3c5d6585deec10fe851339b)
2008-02-20 00:17:31 +01:00
Michael Adam
89ad7e4ed1
libreplace: Remove double item in case statement.
...
This was by accident introduced in cherry-pick commit
7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion
had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88.
MIchael
(This used to be commit 69b2ebc797fa986bf395f4d045ea663240e9ec2c)
2008-02-19 22:29:34 +01:00
Michael Adam
3e02cdcaa8
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
...
Michael
(cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
(This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
2008-02-19 22:14:12 +01:00
Jelmer Vernooij
c4265bd3e8
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
...
(cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
(This used to be commit bc523382aef16b1260799000650bbebe132799eb)
2008-02-19 22:12:50 +01:00
James Peach
5dd51159df
r26551: Make sure NULL is defined before using it to test for getifaddrs().
...
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
(cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb)
(This used to be commit b4a2ec01fc3c8174cba2a7bda876270fcce90491)
2008-02-19 22:12:32 +01:00
Jelmer Vernooij
f75d7a6992
r26507: Fix function signature for freeifaddrs.
...
(cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
(This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)
2008-02-19 22:00:15 +01:00
Jelmer Vernooij
f822f4150b
r26497: Fix return type for freeifaddrs().
...
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1)
(This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
2008-02-19 21:59:51 +01:00
Jelmer Vernooij
1caa9cbd9d
r26495: Add defines for getifaddrs/freeifaddrs.
...
(cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
(This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)
2008-02-19 21:59:27 +01:00
Jelmer Vernooij
ea9ce8f9ac
r26492: Some hosts have a define called ifa_dstaddr.
...
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
(This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
2008-02-19 21:58:50 +01:00
Jelmer Vernooij
5fb2d5b086
r26491: Fix syntax.
...
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0)
(This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
2008-02-19 21:58:12 +01:00
Jelmer Vernooij
1de665002c
r26487: Cope with systems that don't have struct sockaddr.sa_len.
...
(cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6)
(This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)
2008-02-19 21:57:46 +01:00
Jelmer Vernooij
621983ed6d
r26470: Update README.
...
(cherry picked from commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908)
(This used to be commit 556b6b9a2fe5dd9da85b1605d91a7216a6c6d308)
2008-02-19 21:57:15 +01:00
Jelmer Vernooij
7728a23d43
r26469: Fix paths, only include IPv4 addresses for now.
...
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
(This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
2008-02-19 21:56:52 +01:00
Jelmer Vernooij
d0d4fc5f54
r26468: Match getifaddrs more closely, add trivial test.
...
(cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
(This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)
2008-02-19 21:56:41 +01:00
Jelmer Vernooij
2235ffe2f7
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
...
(lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael)
(This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)
2008-02-19 21:55:09 +01:00
Michael Adam
27b711414f
configure: Move path (and debug) checks to an m4 include file check_path.m4.
...
This is inspired by metze's check_path.m4 of Samba4.
Michael
(This used to be commit d1db2b78c9dacddc0e24304624a6a0d0a817f774)
2008-02-19 17:39:40 +01:00
Michael Adam
07f4f95b14
build: change selftest_prefix from ./ to ./st .
...
It was used as ${selftest_prefix}/st anyways...
Michael
(This used to be commit 1f3bfa024d61ccb87655db2c616b28adb50d6783)
2008-02-19 17:39:40 +01:00
Michael Adam
3b3b80a365
configure: move debug check to developer check
...
...thereby grouping test checks and debug/developer checks together, respectively.
Michael
(This used to be commit bf1bb2c0906dd5e518c3f35ef97d69eba0e2efdf)
2008-02-19 17:39:40 +01:00
Michael Adam
53d5624205
configure: Also set debug=yes for --enable-developer and --enable-krb5developer.
...
Michael
(This used to be commit ad45d056df64aeed2e2c97ab69f82013791616ab)
2008-02-19 17:39:40 +01:00
Michael Adam
12239ef505
configure: add default for developer and krb5developer
...
Michael
(This used to be commit e9b06ac113e375de11bb847c6f625f7861502853)
2008-02-19 17:39:40 +01:00
Michael Adam
b40d1b131b
configure: move more developer/test related checks up before the compiler checks.
...
Michael
(This used to be commit 05e3095e21330c162624338160ab48d197cf0507)
2008-02-19 17:39:40 +01:00
Michael Adam
5073bd1349
Move the --enable-debug check up above all compiler checks.
...
Michael
(This used to be commit fb74f8dd6a612db0d79b091dd9972bb3204818fb)
2008-02-19 17:39:40 +01:00
Michael Adam
90ea8ae9b1
configure: Introduce "debug" variable set to yes by --enable-debug.
...
Michael
(This used to be commit b33db84c222af21cc3dd8233d6ff96e6f32ea3cd)
2008-02-19 17:39:40 +01:00
Michael Adam
86e758e246
configure: move AC_SUBST's of certain directories to the corresponding checks.
...
Michael
(This used to be commit 28c862704c27aaffc858650d0a4f4cc7893bb406)
2008-02-19 17:39:40 +01:00