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

430 Commits

Author SHA1 Message Date
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
Jeremy Allison
2cb22d93ae 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.
(This used to be commit cb6c663fa8)
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
2109bf0515 r25886: Try to fix building dso's on hpux with gcc
(This used to be commit 146c5226e6)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
2ca86c7769 r25880: Try to get some more flags right.
(This used to be commit bbc36fd3f6)
2007-12-21 05:44:37 +01:00
Jelmer Vernooij
414e5eca2e r25877: Add libreplace macro for soname flags.
(This used to be commit 25aa875119)
2007-12-21 05:44:36 +01:00
Jelmer Vernooij
a564ca1c73 r25875: Try to fix the build on some HPUX machines.
(This used to be commit 773a7cf234)
2007-12-21 05:44:35 +01:00
Stefan Metzmacher
37f6b948b7 r25870: libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze
(This used to be commit c6b6466c33)
2007-12-21 05:44:34 +01:00
Stefan Metzmacher
49cb694041 r25867: libreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze
(This used to be commit 44250ac6f9)
2007-12-21 05:44:33 +01:00
Stefan Metzmacher
29598b83e0 r25865: libreplace: check for nss passwd|group get*_r functions
metze
(This used to be commit 98095b3425)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
046cd2512e r25864: libreplace: we should only have one location where we check for required functions
metze
(This used to be commit 8748516d16)
2007-12-21 05:44:32 +01:00
Stefan Metzmacher
9ed91eabdd r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
metze
(This used to be commit a16f0e3cdb)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
eea596951d r25861: Fix export dynamic for HPUX.
(This used to be commit 45ccf09bf9)
2007-12-21 05:44:31 +01:00
Jelmer Vernooij
0cab8cc79f r25860: Remove flag that causes problems on some hosts.
(This used to be commit 85b3326500)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
3d6d80daba r25859: Wrap native HPUX functions in dl implementation.
(This used to be commit bf1685faa1)
2007-12-21 05:44:30 +01:00
Jelmer Vernooij
145bc26a0f r25855: Check for HPUX dl functions.
(This used to be commit 478b5ac8d9)
2007-12-21 05:44:29 +01:00
Jelmer Vernooij
26c3cad60f r25852: Move SHLIBEXT determination into a test as well.
(This used to be commit aaaed5edc0)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
dd66e34d41 r25851: Move system-specific ldflags checks to libreplace so they can be used by ldb.
(This used to be commit d28c8b822e)
2007-12-21 05:44:27 +01:00
Jelmer Vernooij
6e561c7f7d r25850: Add macro for picflag.
(This used to be commit 9ebc6f2d17)
2007-12-21 05:44:26 +01:00
Jelmer Vernooij
48ed51e61e r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0)
2007-12-21 05:44:24 +01:00
Stefan Metzmacher
4d354fd583 r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
metze
(This used to be commit 17f9189fb4)
2007-12-21 05:44:19 +01:00
Stefan Metzmacher
74a2b05793 r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
(This used to be commit 5648c8a0de)
2007-12-21 05:43:31 +01:00
Stefan Metzmacher
805eb06209 r25726: [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
(This used to be commit b594d9c9fa)
2007-12-21 05:43:30 +01:00
Stefan Metzmacher
79affaf37a r25725: merge commit bc9008aa1d from v3-2-test:
Author:     Jeremy Allison <jra@samba.org>
AuthorDate: Wed Oct 24 14:40:24 2007 -0700

We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.

Jeremy.
(This used to be commit 25a892f2ad)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
88f6c5a1d2 r25724: - include getaddrinfo.h after we have defined struct addrinfo
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions

metze
(This used to be commit 57d5cf4b5f)
2007-12-21 05:43:29 +01:00
Stefan Metzmacher
31569f1c88 r25718: [libreplace] if we replace types define the HAVE_<type> macro
this is needed as heimdal's roken.h also tries to replace the types

metze
(This used to be commit 8b92b81101)
2007-12-21 05:43:26 +01:00
Stefan Metzmacher
582496f5d0 r25715: [libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
(This used to be commit 12cec014c4)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
c01f61340b r25714: [libreplace] move define of a constant to near to the others
metze
(This used to be commit 8bd2cf71be)
2007-12-21 05:43:25 +01:00
Stefan Metzmacher
1cfd89c6aa r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
(This used to be commit a3657a4e71)
2007-12-21 05:43:24 +01:00
Stefan Metzmacher
1a766af41e r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 95462d614d)
2007-12-21 05:43:18 +01:00
Stefan Metzmacher
9f53479997 r25687: Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(cherry picked from commit 0ffdf4fdee)
(This used to be commit facb811bb3)
2007-12-21 05:43:14 +01:00
Stefan Metzmacher
1b73fcadb2 r25686: Added in missing def for AI_ADDRCONFIG.
Jeremy.
(cherry picked from commit 3ef3c3afc3)
(This used to be commit 5d2995c413)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
c68e3d8d65 r25685: rename getsmbpass -> rep_getpass and provide the function prototype
metze
(cherry picked from commit 96820f8d8f)
(This used to be commit cd5069a8ca)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
de0343b77b r25684: use "system/*.h" to get the system includes
metze
(cherry picked from commit d20c2fa274)
(This used to be commit ee85577835)
2007-12-21 05:43:13 +01:00
Stefan Metzmacher
2367364094 r25683: fix the compilation of getpass.c and it's configure test
metze
(cherry picked from commit f4c0961a16)
(This used to be commit 5d747fcad0)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
190039a378 r25682: r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(cherry picked from commit 33ee0cfb19)
(This used to be commit 3910d06941)
2007-12-21 05:43:12 +01:00
Stefan Metzmacher
066f56bfef r25681: r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(cherry picked from commit 46c12de07f)
(This used to be commit 7099dde3fd)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
50a749404b r25680: Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
(cherry picked from commit 0cd1ed0424)
(This used to be commit 249d69fd85)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
2627603506 r25679: reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(cherry picked from commit d4ae42b1b2)
(This used to be commit a11d21790f)
2007-12-21 05:43:11 +01:00
Stefan Metzmacher
090015a6fb r25678: reformat getpass() replacement code
metze
(cherry picked from commit 3e8f43e3cf)
(This used to be commit 78da4477a7)
2007-12-21 05:43:10 +01:00
Stefan Metzmacher
ce7a3abcd8 r25677: add missing stuff from samba3
metze
(This used to be commit d286c0533d)
2007-12-21 05:43:09 +01:00
Stefan Metzmacher
a3e5710eda r25602: don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking

metze
(This used to be commit 507d5ca7d9)
2007-12-21 05:42:47 +01:00