1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

469 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
4087731e1b r25912: 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

merge from v3-2-test commit e17d3e10e8
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
cb0eca66dc r25911: Remove more fstring/pstring bad useage. Go talloc !
Jeremy.

merge from v3-2-test commit 2a0173743d
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
b833dce5e6 r25910: Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy

merge from v3-2-test commit a68bbea0d4
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
e562832ad1 r25909: 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.

from v3-2-test commit 494bf6293b
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
895d2644fb r25906: libreplace: we need to link to make sure the functions are available
metze
2007-12-21 05:44:48 +01:00
Jeremy Allison
cb6c663fa8 r25892: Keep the tdb code in sync between 3.2.x and 4.0.
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
2007-12-21 05:44:42 +01:00