Volker Lendecke
d64b19e77a
NetBSD needs LD_LIBRARY_PATH
2008-02-01 23:32:51 +01:00
Volker Lendecke
fb3f7f4046
NetBSD does not support AI_ADDRCONFIG
2008-02-01 14:49:34 +01:00
Stefan Metzmacher
2f46091511
libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_t
...
metze
2008-01-22 12:21:55 +01:00
Stefan Metzmacher
b8a57a24c3
Revert "Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage"
...
This reverts commit e33286f4a6 .
393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix
for the same problem.
metze
2008-01-18 17:02:13 +01:00
Jelmer Vernooij
174a45ec18
libreplace: Escape asterisk.
...
(cherry picked from commit df36c78549 )
2008-01-18 17:02:13 +01:00
Jelmer Vernooij
a0e663ff2c
Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
...
(cherry picked from commit bba8914af5 )
2008-01-18 17:02:12 +01:00
Stefan Metzmacher
c11122afda
r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
...
metze
(cherry picked from commit 11bdc9bed8 )
2008-01-18 17:02:12 +01:00
Stefan Metzmacher
ff8a001f0d
r26102: libreplace: remove system/printing.h as it only contains samba3 stuff
...
metze
(cherry picked from commit 1ecb4ec01b )
2008-01-18 17:02:11 +01:00
Stefan Metzmacher
dbff70b2eb
r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
...
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
(cherry picked from commit d19ab62081 )
2008-01-18 17:02:11 +01:00
Stefan Metzmacher
af3772e22f
r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600
...
On Tru64 this brings in socklen_t and some other socket stuff
metze
(cherry picked from commit d42f2e5759 )
2008-01-18 17:02:11 +01:00
Stefan Metzmacher
58932ca791
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
...
metze
(cherry picked from commit 05b4619c5b )
2008-01-18 17:02:10 +01:00
Stefan Metzmacher
3db37038b3
r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
...
metze
(cherry picked from commit a07c983fde )
2008-01-18 17:02:10 +01:00
Jelmer Vernooij
5a30f6377d
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
2008-01-05 23:09:38 +01:00
Jelmer Vernooij
64ff1dad86
selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's smbtorture.
2008-01-05 23:09:25 +01:00
Volker Lendecke
e33286f4a6
Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage
2007-12-25 18:37:42 +01:00
Jeremy Allison
545cd2139c
Fix bug #5121 (unix passwd sync not working on a streams based
...
system).
Jeremy.
2007-12-17 10:44:09 -08:00
Jeremy Allison
657bf8c347
Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM>
...
- slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars.
Jeremy.
2007-12-11 13:16:35 -08:00
Michael Adam
834a16225a
Reformat configure checks for broken capabilities.h.
...
Michael
2007-12-03 16:54:12 +01:00
Michael Adam
8ec10c4ab1
Move check for broken system capabilites.h headers to lib/replace.
...
Michael
2007-12-03 16:54:12 +01:00
Michael Adam
07e6cfdc62
Add check for ppc statfs.h header to workaround for broken capabilities.h.
...
Taken from s3:lib/system.c
Michael
2007-12-03 16:54:12 +01:00
Volker Lendecke
8bcd2df841
Fix bug 5055
2007-11-26 15:28:13 +01:00
Jeremy Allison
a1725f4ff7
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
...
Jeremy.
2007-11-15 18:27:26 -08:00
Michael Adam
11bcdf780e
Fix the build on RHEL5, when libcap-devel is installed.
...
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.
This commit adds a configure check and a workaround for this.
Michael
2007-11-16 00:45:59 +01:00
Jeremy Allison
e203ba2227
Always define PATH_MAX. Makes code simpler (removes
...
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
2007-11-10 22:31:34 -08:00
metze
95dfbd3a6c
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:53:00 +01:00
metze
77900d2ba0
libreplace: solaris has different prototypes for getpwent_r and getgrent_r
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:59 +01:00
metze
8e81dd7356
libreplace: check for nss passwd|group get*_r functions
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:59 +01:00
jelmer
4642af8026
Try to fix building dso's on hpux with gcc
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:31:26 +01:00
jelmer
ccb39b1844
Try to get some more flags right.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:30:28 +01:00
jelmer
81167d8f38
Add libreplace macro for soname flags.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:29:16 +01:00
jelmer
8d1f54f45d
Try to fix the build on some HPUX machines.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:27:03 +01:00
Jeremy Allison
2a0173743d
Remove more fstring/pstring bad useage. Go talloc !
...
Jeremy.
2007-11-08 17:25:45 -08:00
Stefan Metzmacher
130de20d64
libreplace: we need to link to make sure the functions are available
...
metze
2007-11-08 12:20:16 +01:00
Jeremy Allison
ef8da16983
Fix bug where tdb lock call interrupted with
...
an alarm sig would not terminate and could lead
to runaway smbd processes.
Thanks to Dave Daugherty @ Centrify for pointing
this out to us.
Jeremy.
2007-11-06 21:47:57 -08:00
metze
760f24f10c
libreplace: we should only have one location where we check for required functions
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:59 +01:00
metze
20ec1f4725
libreplace: we need include <unistd.h> before nss_wrapper.h
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:59 +01:00
jelmer
4d02b1344b
Fix export dynamic for HPUX.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:59 +01:00
jelmer
57bea8cd02
Remove flag that causes problems on some hosts.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:59 +01:00
jelmer
0ec1672929
Wrap native HPUX functions in dl implementation.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
9f862e9faf
Check for HPUX dl functions.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
322cf8002b
Move SHLIBEXT determination into a test as well.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
63b7690335
Move system-specific ldflags checks to libreplace so they can be used by ldb.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
48c70f6040
Add macro for picflag.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
4904af51cd
Add configure test for -Wl,--export-dynamic.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:57 +01:00
metze
809fee4bef
libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:57 +01:00
Jeremy Allison
494bf6293b
Fix the snprintf checks, and fix a typo in pointer indirection.
...
These fixes are needed for a working getaddrinfo etc. replacement.
Fixes from Wayne Davison <wayned@samba.org > from rsync.
Jeremy.
2007-11-02 14:23:10 -07:00
Volker Lendecke
e17d3e10e8
Two patches
...
Hi!
Can you check and push them?
Thanks,
Volker
From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de >
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
2007-10-27 12:50:36 -07:00
Jeremy Allison
a68bbea0d4
Try and fix the Solaris build by adding a missing define
...
(from Jerry).
Jeremy
2007-10-25 15:43:44 -07:00
metze
11a977aa07
[libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-10-25 15:55:47 +02:00
metze
de01c503f4
[libreplace] move and fix getaddrinfo configure checks
...
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25726 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-10-25 15:55:19 +02:00