summaryrefslogtreecommitdiff
path: root/source3/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2008-02-19r26507: Fix function signature for freeifaddrs.Jelmer Vernooij1-1/+1
(cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c) (This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)
2008-02-19r26497: Fix return type for freeifaddrs().Jelmer Vernooij2-7/+7
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1) (This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
2008-02-19r26495: Add defines for getifaddrs/freeifaddrs.Jelmer Vernooij1-0/+10
(cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f) (This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)
2008-02-19r26492: Some hosts have a define called ifa_dstaddr.Jelmer Vernooij1-0/+1
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd) (This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
2008-02-19r26491: Fix syntax.Jelmer Vernooij1-1/+1
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0) (This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
2008-02-19r26487: Cope with systems that don't have struct sockaddr.sa_len.Jelmer Vernooij2-2/+15
(cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6) (This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)
2008-02-19r26470: Update README.Jelmer Vernooij1-0/+2
(cherry picked from commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908) (This used to be commit 556b6b9a2fe5dd9da85b1605d91a7216a6c6d308)
2008-02-19r26469: Fix paths, only include IPv4 addresses for now.Jelmer Vernooij3-17/+19
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf) (This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
2008-02-19r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij2-22/+31
(cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737) (This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)
2008-02-19r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij4-0/+511
for platforms that don't have it in lib/replace. (lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael) (This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)
2008-02-13r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-0/+4
that. (cherry picked from parts of commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676) Michael (This used to be commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28)
2008-02-01NetBSD needs LD_LIBRARY_PATHVolker Lendecke1-0/+3
(This used to be commit d64b19e77aa499c1ee1aaf788ddf3d6fd36253e4)
2008-02-01NetBSD does not support AI_ADDRCONFIGVolker Lendecke1-0/+7
(This used to be commit fb3f7f4046fa195baf5116598772d9016238637f)
2008-01-22libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher1-0/+25
metze (This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)
2008-01-18Revert "Host SerNet-AIX has __ss_family instead of ss_family in ↵Stefan Metzmacher1-4/+0
sockaddr_storage" This reverts commit e33286f4a68352e55df081d06307f64f190773b3. 393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix for the same problem. metze (This used to be commit b8a57a24c390355c4950ca499c1d96aff80abad7)
2008-01-18libreplace: Escape asterisk.Jelmer Vernooij1-1/+1
(cherry picked from commit df36c78549b40ee5e47d5cc79de2eb79f58c567a) (This used to be commit 174a45ec18fff064d89f6a12b044973ab3c10c54)
2008-01-18Try to fix the build on Tru64; avoid single quotes because they get expanded ↵Jelmer Vernooij1-1/+1
by perl in the build system. (cherry picked from commit bba8914af56cb161c275fbbdea2479d6f8bd703c) (This used to be commit a0e663ff2c6548e48c9710e3fb314f3bbabb59d0)
2008-01-18r26550: libreplace: fallback to __ss_family of struct sockaddr_storageStefan Metzmacher2-0/+29
metze (cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91) (This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
2008-01-18r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher2-51/+0
metze (cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93) (This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
2008-01-18r25976: libreplace: not all platforms like _XOPEN_SOURCE=600Stefan Metzmacher1-2/+5
- Only use _XOPEN_SOURCE=600 on Tru64 - _OSF_SOURCE is also Tru64 specific metze (cherry picked from commit d19ab62081ce4ee4273ff752ad0443782a994826) (This used to be commit dbff70b2ebe7cc09f7fbe5a0319f978dfcfa1da9)
2008-01-18r25974: libreplace: see what the build-farm says if we use _XOPEN_SOURCE=600Stefan Metzmacher1-0/+1
On Tru64 this brings in socklen_t and some other socket stuff metze (cherry picked from commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016) (This used to be commit af3772e22f5e6e0158783086e9791ffc95ee5368)
2008-01-18r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINEStefan Metzmacher2-15/+2
metze (cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c) (This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
2008-01-18r25970: libreplace: fix AC_N_DEFINE() so that some appears in config.hStefan Metzmacher1-5/+12
metze (cherry picked from commit a07c983fde52607806745914bb41039afb5618cc) (This used to be commit 3db37038b3e5a59a9baa85f6bcd32ac6e5ec2da1)
2008-01-05Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testJelmer Vernooij1-0/+4
(This used to be commit 5a30f6377d37d8a5cadce4fb9a2fc19b78fc1709)
2008-01-05selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's ↵Jelmer Vernooij1-13/+154
smbtorture. (This used to be commit 64ff1dad8664f14030c7d78c252d946216798a88)
2007-12-25Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storageVolker Lendecke1-0/+4
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
2007-12-17Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2-0/+5
system). Jeremy. (This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
2007-12-11Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison2-0/+14
Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. (This used to be commit 657bf8c3479d6192f269e3daef1517e77a9fa9cb)
2007-12-03Reformat configure checks for broken capabilities.h.Michael Adam1-16/+24
Michael (This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
2007-12-03Move check for broken system capabilites.h headers to lib/replace.Michael Adam1-0/+30
Michael (This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
2007-12-03Add check for ppc statfs.h header to workaround for broken capabilities.h.Michael Adam1-1/+3
Taken from s3:lib/system.c Michael (This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
2007-11-26Fix bug 5055Volker Lendecke1-1/+1
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-11-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison1-0/+4
Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-16Fix the build on RHEL5, when libcap-devel is installed.Michael Adam1-0/+9
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 (This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
2007-11-10Always define PATH_MAX. Makes code simpler (removesJeremy Allison1-0/+4
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
2007-11-09libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in ↵metze1-2/+2
confdefs.h metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
2007-11-09libreplace: solaris has different prototypes for getpwent_r and getgrent_rmetze1-0/+32
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)
2007-11-09libreplace: check for nss passwd|group get*_r functionsmetze1-0/+2
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
2007-11-09Try to fix building dso's on hpux with gccjelmer1-1/+5
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4642af8026f086488672a51a0ecce2603e65f4ce)
2007-11-09Try to get some more flags right.jelmer1-4/+4
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)
2007-11-09Add libreplace macro for soname flags.jelmer1-0/+41
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 81167d8f38e11423bcde5305f9e77ec268b0cf2e)
2007-11-09Try to fix the build on some HPUX machines.jelmer1-3/+1
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-11-08libreplace: we need to link to make sure the functions are availableStefan Metzmacher1-1/+1
metze (This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)
2007-11-06Fix bug where tdb lock call interrupted withJeremy Allison2-0/+8
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. (This used to be commit ef8da1698371c95495add53df81a978df709c88d)
2007-11-06libreplace: we should only have one location where we check for required ↵metze1-4/+1
functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 760f24f10cbea7ce22acd0772fb5b125f718d129)
2007-11-06libreplace: we need include <unistd.h> before nss_wrapper.hmetze1-0/+3
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
2007-11-06Fix export dynamic for HPUX.jelmer1-4/+12
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25861 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4d02b1344b76c6147944188161f73ad3917b8abc)
2007-11-06Remove flag that causes problems on some hosts.jelmer1-1/+1
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25860 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 57bea8cd02cb7964bbb64ba26b83c372f0e12b94)
2007-11-06Wrap native HPUX functions in dl implementation.jelmer1-0/+16
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25859 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 0ec16729299887b4a80a7e24fbd1750632276691)