1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

525 Commits

Author SHA1 Message Date
Jeremy Allison
9f5c443972 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.

(lib/replace part of 657bf8c347 metze)
2008-01-15 14:02:34 +01:00
Volker Lendecke
8db9e19650 Fix bug 5055
(lib/replace part of 8bcd2df841 metze)
2008-01-15 13:42:53 +01:00
Jeremy Allison
db4eabf7cd Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.

(lib/replace part of a1725f4ff7 metze)
2008-01-15 13:41:37 +01:00
Jeremy Allison
ebc08d23f7 Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.

(lib/replace part from e203ba2227 metze)
2008-01-15 13:37:37 +01:00
Jelmer Vernooij
df36c78549 libreplace: Escape asterisk. 2008-01-14 22:24:07 +01:00
Jelmer Vernooij
bba8914af5 Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system. 2008-01-13 04:46:11 +01:00
Jelmer Vernooij
37c7b65546 r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev. 2007-12-21 06:28:52 +01:00
James Peach
188156228b r26551: Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
2007-12-21 06:28:50 +01:00
Stefan Metzmacher
11bdc9bed8 r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
metze
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Stefan Metzmacher
3d64338f3c r26533: libreplace: hopefully fix the share library/module build on darwin
metze
2007-12-21 05:51:55 +01:00
Jelmer Vernooij
4fa04924ab r26512: Another attempt at fixing darwin 2007-12-21 05:51:18 +01:00
Jelmer Vernooij
5dbe3aff3c r26510: attempt to fix shld flags for darwin. 2007-12-21 05:51:14 +01:00
Jelmer Vernooij
cc873bdd2e r26507: Fix function signature for freeifaddrs. 2007-12-21 05:51:13 +01:00
Jelmer Vernooij
8c65053f51 r26497: Fix return type for freeifaddrs(). 2007-12-21 05:50:51 +01:00
Jelmer Vernooij
c9e5a3078f r26495: Add defines for getifaddrs/freeifaddrs. 2007-12-21 05:50:49 +01:00
Jelmer Vernooij
c4cd935ee7 r26492: Some hosts have a define called ifa_dstaddr. 2007-12-21 05:50:47 +01:00
Jelmer Vernooij
2513230e28 r26491: Fix syntax. 2007-12-21 05:50:45 +01:00
Jelmer Vernooij
56080469ab r26487: Cope with systems that don't have struct sockaddr.sa_len. 2007-12-21 05:50:44 +01:00
Jelmer Vernooij
51a78cfc3e r26470: Update README. 2007-12-21 05:50:32 +01:00
Jelmer Vernooij
fa9e3b6fa8 r26469: Fix paths, only include IPv4 addresses for now. 2007-12-21 05:50:32 +01:00
Jelmer Vernooij
92898c043b r26468: Match getifaddrs more closely, add trivial test. 2007-12-21 05:50:31 +01:00
Jelmer Vernooij
9b4924fbd8 r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace. 2007-12-21 05:50:31 +01:00
Michael Adam
df3e151992 r26255: Work around another broken aspect of sys/capability.h on RHEL5.
This is synced from samba3 v3-2-test/11bcdf780e164659b89:

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 in Samba3.

This commit adds a configure check and a workaround for this.

Michael
2007-12-21 05:47:30 +01:00
Michael Adam
dfdfac2b57 r26254: Add check for PPC statfs.h to workaround for broken capability.h.
Synced from Samba3.

Michael
2007-12-21 05:47:30 +01:00
Michael Adam
4d1df9c0b4 r26253: Add check for broken RedHat 7.2 system header files to lib/replace.
This is taken (with slight reformatting) from samba3:configure.in.
It is already used in lib/replace/system/capablity.h.

Michael
2007-12-21 05:47:30 +01:00
Stefan Metzmacher
1ecb4ec01b r26102: libreplace: remove system/printing.h as it only contains samba3 stuff
metze
2007-12-21 05:46:04 +01:00
Stefan Metzmacher
8ec94633c4 r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG
metze
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
cc8692265d r26026: libreplace: split some linker macros
create:
AC_LIBREPLACE_LD_SHLIB_LINKER
AC_LIBREPLACE_LD_SHLIB_FLAGS
AC_LIBREPLACE_LD_SHLIB_DISALLOW_UNDEF_FLAG

and prerequire them for:
AC_LIBREPLACE_SHLD
AC_LIBREPLACE_SHLD_FLAGS
AC_LIBREPLACE_MDLD
AC_LIBREPLACE_MDLD_FLAGS

metze
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
d2fb7d876b r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG
metze
2007-12-21 05:45:44 +01:00
Jelmer Vernooij
df10de4295 r26002: Use osf rather than tru64 - pointed out by metze. 2007-12-21 05:45:35 +01:00
Jelmer Vernooij
6cd3a3a46a r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols. 2007-12-21 05:45:35 +01:00
Stefan Metzmacher
c7b0b4c21e r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
metze
2007-12-21 05:45:33 +01:00
Jelmer Vernooij
b2355857ba r25998: Add test for run time library path environment variable. 2007-12-21 05:45:33 +01:00
Stefan Metzmacher
2abae42d70 r25988: libreplace: add AC_LIBREPLACE_SHLD
metze
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
410cdf789a r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
7bee9a62ff r25986: libreplace: warn about unresolved symbols when link shared libraries
On Tru64 and Mac OS X this hopefully works

Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want
      on Linux.

metze
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
bfde13b70b r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
metze
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
128b4e1a51 r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
They define the linker and link flags for building shared modules

metze
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
d19ab62081 r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

metze
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
d42f2e5759 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
2007-12-21 05:45:26 +01:00
Stefan Metzmacher
05b4619c5b r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
2007-12-21 05:45:24 +01:00
Stefan Metzmacher
a07c983fde r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.h
metze
2007-12-21 05:45:23 +01:00
Stefan Metzmacher
e145accfc2 r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
metze
2007-12-21 05:45:20 +01:00
Jelmer Vernooij
5fea6e0d9a r25956: Try metze's suggestion for Mac OS X shld flags. 2007-12-21 05:45:17 +01:00
Stefan Metzmacher
403c5521d1 r25955: libreplace: add a useful link about linking shared libraries
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

metze
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
b01303b567 r25945: Fix flags for MacOS X. 2007-12-21 05:45:12 +01:00
Jelmer Vernooij
228dd6830e r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that. 2007-12-21 05:45:12 +01:00
Jelmer Vernooij
fd762b01ed r25943: Fix soname on hpux. 2007-12-21 05:45:11 +01:00