summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
AgeCommit message (Collapse)AuthorFilesLines
2013-03-06waf: add -fstack-protector to LDFLAGS if detected.Ira Cooper1-0/+1
If we compile with -fstack-protector, we should link with it. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Mar 6 04:06:04 CET 2013 on sn-devel-104
2013-03-05waf: Correctly check for prctl in just one place.Andreas Schneider1-1/+14
Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-02-22build: use -fstack-protector if availableBjörn Jacke1-0/+3
Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Matthieu Patou <mat@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Feb 22 15:38:21 CET 2013 on sn-devel-104
2013-02-22Revert "wafbuild: use -Wstack-protector if available"Björn Jacke1-3/+0
This reverts commit e6643fbf48afccd0acedb65fbe24d3ce84d44c40. Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Matthieu Patou <mat@samba.org>
2013-01-15build(waf)-libreplace: remove redundant check for flistea functionBjörn Baumbach1-1/+1
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2013-01-15lib/replace: Add ucontext configure waf checks.Jeremy Allison1-1/+10
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-14Fix bug 9548: Correctly detect O_DIRECTVolker Lendecke1-0/+11
Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jan 14 21:16:23 CET 2013 on sn-devel-104
2012-12-03replace: Remove deprecated getpass() support.Andreas Schneider1-12/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2012-10-30wafbuild: use -Wstack-protector if availableBjörn Jacke1-0/+3
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Oct 30 15:04:30 CET 2012 on sn-devel-104
2012-10-30wafbuild: reorder the Werror checks so that the ambigous w2 option is being ↵Björn Jacke1-1/+5
checked last
2012-10-30wafbuild: merge the missing IBM compiler Werror flag "-qhalt=w" to wafBjörn Jacke1-1/+1
2012-10-30wfabuild: fix the -errwarn compile flag testBjörn Jacke1-1/+1
as in the autoconf build this must be "-errwarn=%all"
2012-10-23lib/replace: Fix configure on FreeBSD: define_ret is not correct hereAndrew Bartlett1-1/+0
define_ret is for when the output of the compiled and run program should be put into the configure define. This is not the case here. Andrew Bartlett
2012-10-23lib/replace: Fix detection of rpcsrv/yp_prot.h on FreeBSDAndrew Bartlett1-1/+4
2012-09-29lib/replace: Add test for what flag we need for -Werror behaviourAndrew Bartlett1-0/+9
2012-09-24replace: Support setproctitle().Jelmer Vernooij1-0/+2
This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
2012-09-24lib/replace: Look for special flags needed for c99Andrew Bartlett1-0/+10
This is normally handled by the waf core, but for HP-UX we currently fail. The autoconf code hard-codes a case for HP-UX, but I want to try testing it using a generic system first. Andrew Bartlett
2012-09-24lib/replace: Improve mkstemp test in autoconf and wafAndrew Bartlett1-1/+16
On the Sernet-solaris8 host, this test passed in the autoconf build, then failed in the recursive waf build. This newer test should probe the behaviour more closely, by checking we get two distinct, secure files. Andrew Bartlett
2012-09-11lib/replace: remove duplicate check for inotifyMichael Adam1-1/+1
2012-09-07build: define _BSD_TYPES on IRIX to have types like u_shortBjörn Jacke1-0/+1
why the hell do IRIX systems headers like quota.h use types that are available only with such a define...?
2012-07-26s3/aio_fork: fix build on irixBjörn Jacke1-0/+4
IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available
2012-06-29Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison1-2/+2
AIO lost wakeup problem. See this post: https://lists.samba.org/archive/samba-technical/2012-June/085101.html for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
2012-06-16attr: Look for attr/attributes.h too.Jelmer Vernooij1-1/+1
Fixes finding of ATTR_ROOT on GNU/kFreeBSD. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Jun 16 18:54:27 CEST 2012 on sn-devel-104
2012-06-14lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIMEStefan Metzmacher1-8/+11
That makes the logic in 'wscript' simpler. metze
2012-06-14lib/replace: execute strptime.c testsStefan Metzmacher1-0/+1
They need runtime verification. metze
2012-06-14Revert "replace: use replace for non 'samba' compliant strptime"Stefan Metzmacher1-19/+0
This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze
2012-06-14lib/replace: add more condition to add snprintf.cStefan Metzmacher1-1/+3
metze
2012-06-14Revert "lib/replace: Fix snprintf() override for systems with a broken ↵Stefan Metzmacher1-1/+1
snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze
2012-06-14lib/replace: s/execute=1/execute=TrueStefan Metzmacher1-1/+1
metze
2012-06-06lib/replace: Fix snprintf() override for systems with a broken snprintf()Andrew Bartlett1-1/+1
This ensures we provide the replacement functions that we need. Andrew Bartlett
2012-06-04libreplace: Ensure we link xattr.c on MacOSAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 4 02:36:55 CEST 2012 on sn-devel-104
2012-06-02libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAPAndrew Bartlett1-0/+10
2012-06-02lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett1-6/+8
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
2012-06-02s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett1-0/+6
2012-06-02lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett1-1/+29
This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison1-0/+2
libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-0/+10
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-2/+2
2012-03-22lib/replace: test for incoherent mmap.Rusty Russell1-0/+7
We test for other mmap features here, and both tdb1 and tdb2 want this check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-02-20build: Add libbsd as a dep for LIBREPLACE_HOSTCCAndrew Bartlett1-4/+5
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
2012-02-02replace: Only add bsd dependency when bsd library was found.Jelmer Vernooij1-1/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
2012-01-31replace: Only include C files from which there are actually functions used.Jelmer Vernooij1-2/+21
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 31 15:21:04 CET 2012 on sn-devel-104
2012-01-31replace: use libbsd for strlcat/strlcpy when available.Jelmer Vernooij1-15/+21
2011-10-27replace: Add checks for setreuid and setregid.Andreas Schneider1-2/+2
2011-10-27replace: Make sure we compile without uid_wrapper.Andreas Schneider1-1/+1
2011-10-13config.h: define HAVE_LIBREPLACERusty Russell1-0/+1
tdb2 wants to know if it should use replace.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner1-0/+1
already used). Bjoern, Metze, please check. Guenther
2011-02-28libreplace: poll based on selectVolker Lendecke1-0/+4
2011-02-17s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell1-8/+0
this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner1-1/+17
Guenther