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

470 Commits

Author SHA1 Message Date
Jelmer Vernooij
1e19c859a3 Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.
(This used to be commit bba8914af5)
2008-01-13 04:46:11 +01:00
Jelmer Vernooij
6890891b5f r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(This used to be commit 37c7b65546)
2007-12-21 06:28:52 +01:00
James Peach
bf20aa02e6 r26551: Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
(This used to be commit 188156228b)
2007-12-21 06:28:50 +01:00
Stefan Metzmacher
6afef7d624 r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
metze
(This used to be commit 11bdc9bed8)
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebe)
2007-12-21 05:52:05 +01:00
Stefan Metzmacher
9d71dba42e r26533: libreplace: hopefully fix the share library/module build on darwin
metze
(This used to be commit 3d64338f3c)
2007-12-21 05:51:55 +01:00
Jelmer Vernooij
fe6faa4df2 r26512: Another attempt at fixing darwin
(This used to be commit 4fa04924ab)
2007-12-21 05:51:18 +01:00
Jelmer Vernooij
93378b9893 r26510: attempt to fix shld flags for darwin.
(This used to be commit 5dbe3aff3c)
2007-12-21 05:51:14 +01:00
Jelmer Vernooij
89f34bb213 r26507: Fix function signature for freeifaddrs.
(This used to be commit cc873bdd2e)
2007-12-21 05:51:13 +01:00
Jelmer Vernooij
83655ec0dd r26497: Fix return type for freeifaddrs().
(This used to be commit 8c65053f51)
2007-12-21 05:50:51 +01:00
Jelmer Vernooij
7c34f48827 r26495: Add defines for getifaddrs/freeifaddrs.
(This used to be commit c9e5a3078f)
2007-12-21 05:50:49 +01:00
Jelmer Vernooij
af3c0b9324 r26492: Some hosts have a define called ifa_dstaddr.
(This used to be commit c4cd935ee7)
2007-12-21 05:50:47 +01:00
Jelmer Vernooij
463d1f68d5 r26491: Fix syntax.
(This used to be commit 2513230e28)
2007-12-21 05:50:45 +01:00
Jelmer Vernooij
70cea01a9e r26487: Cope with systems that don't have struct sockaddr.sa_len.
(This used to be commit 56080469ab)
2007-12-21 05:50:44 +01:00
Jelmer Vernooij
9c80da07bf r26470: Update README.
(This used to be commit 51a78cfc3e)
2007-12-21 05:50:32 +01:00
Jelmer Vernooij
958864ccdf r26469: Fix paths, only include IPv4 addresses for now.
(This used to be commit fa9e3b6fa8)
2007-12-21 05:50:32 +01:00
Jelmer Vernooij
41e45d690f r26468: Match getifaddrs more closely, add trivial test.
(This used to be commit 92898c043b)
2007-12-21 05:50:31 +01:00
Jelmer Vernooij
be4decb2b7 r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.
(This used to be commit 9b4924fbd8)
2007-12-21 05:50:31 +01:00
Michael Adam
cbdad76b0d 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
(This used to be commit df3e151992)
2007-12-21 05:47:30 +01:00
Michael Adam
b08a82de58 r26254: Add check for PPC statfs.h to workaround for broken capability.h.
Synced from Samba3.

Michael
(This used to be commit dfdfac2b57)
2007-12-21 05:47:30 +01:00
Michael Adam
9e367b13d9 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
(This used to be commit 4d1df9c0b4)
2007-12-21 05:47:30 +01:00
Stefan Metzmacher
b24e7a1505 r26102: libreplace: remove system/printing.h as it only contains samba3 stuff
metze
(This used to be commit 1ecb4ec01b)
2007-12-21 05:46:04 +01:00
Stefan Metzmacher
b41a25c104 r26027: libreplace: rename AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG into AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG
metze
(This used to be commit 8ec94633c4)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
c5e16f339c 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
(This used to be commit cc8692265d)
2007-12-21 05:45:45 +01:00
Stefan Metzmacher
662cda2138 r26025: libreplace: AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG should fill LD_ALLOW_SHLIB_UNDEF_FLAG
metze
(This used to be commit d2fb7d876b)
2007-12-21 05:45:44 +01:00
Jelmer Vernooij
b7c5d2b0c9 r26002: Use osf rather than tru64 - pointed out by metze.
(This used to be commit df10de4295)
2007-12-21 05:45:35 +01:00
Jelmer Vernooij
4b546eada1 r26001: Share some code between macros, add macro specifically for testing the ld flag that allows undefined symbols.
(This used to be commit 6cd3a3a46a)
2007-12-21 05:45:35 +01:00
Stefan Metzmacher
25f1ea1269 r25999: libreplace: add AC_LIBREPLACE_STLD and AC_LIBREPLACE_STLD_FLAGS
metze
(This used to be commit c7b0b4c21e)
2007-12-21 05:45:33 +01:00
Jelmer Vernooij
413e992ae4 r25998: Add test for run time library path environment variable.
(This used to be commit b2355857ba)
2007-12-21 05:45:33 +01:00
Stefan Metzmacher
0aa43592cb r25988: libreplace: add AC_LIBREPLACE_SHLD
metze
(This used to be commit 2abae42d70)
2007-12-21 05:45:30 +01:00
Stefan Metzmacher
676bb230fc r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
metze
(This used to be commit 410cdf789a)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
896e46aa6c 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
(This used to be commit 7bee9a62ff)
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
31fe478cec r25982: libreplace: try to ignore unresolved symbols in modules on Tru64
metze
(This used to be commit bfde13b70b)
2007-12-21 05:45:28 +01:00
Stefan Metzmacher
b415712d3f r25977: libreplace: add AC_LIBREPLACE_MDLD and AC_LIBREPLACE_MDLD_FLAGS macros
They define the linker and link flags for building shared modules

metze
(This used to be commit 128b4e1a51)
2007-12-21 05:45:27 +01:00
Stefan Metzmacher
f744d3bc9f r25976: libreplace: not all platforms like _XOPEN_SOURCE=600
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific

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

metze
(This used to be commit 403c5521d1)
2007-12-21 05:45:17 +01:00
Jelmer Vernooij
3e0efe2383 r25945: Fix flags for MacOS X.
(This used to be commit b01303b567)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830e)
2007-12-21 05:45:12 +01:00
Jelmer Vernooij
5adade2f2f r25943: Fix soname on hpux.
(This used to be commit fd762b01ed)
2007-12-21 05:45:11 +01:00
Stefan Metzmacher
88f0c3bfa7 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
(This used to be commit 4087731e1b)
2007-12-21 05:44:51 +01:00
Stefan Metzmacher
2baec5a557 r25911: Remove more fstring/pstring bad useage. Go talloc !
Jeremy.

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

merge from v3-2-test commit a68bbea0d4
(This used to be commit b833dce5e6)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
a4a7447f13 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
(This used to be commit e562832ad1)
2007-12-21 05:44:50 +01:00
Stefan Metzmacher
92897b1153 r25906: libreplace: we need to link to make sure the functions are available
metze
(This used to be commit 895d2644fb)
2007-12-21 05:44:48 +01:00