summaryrefslogtreecommitdiff
path: root/wscript
Commit message (Collapse)AuthorAgeFilesLines
* Remove PYTHONDIR and PYTHONARCHDIR in a single placeThomas Nagy2015-06-261-5/+0
|
* Make waf fail if submodules are out of date.Jelmer Vernooij2015-05-191-1/+10
| | | | | | | | | | | | | | | | | | Instead, suggest the user run 'git submodule update'. This should prevent users from accidentally building Samba against outdated or too new versions of the bundled third party libraries after switching branches. I've opted to make this an error rather than actually running 'git submodule update' directly, as the latter could cause unpredictable behaviour. If we find that manually updating submodules is too cumbersome, we can always change this. The normal mode of operation for developers should not involve any submodules at all, but system versions of these libraries. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Move configure part of third party to third_party/wscript.Jelmer Vernooij2015-03-301-2/+1
| | | | | | Change-Id: I34875a8bde99df2e0a2659677e88640bb0ec1816 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Move systemd checks to lib/utilChristof Schmitt2015-03-231-22/+0
| | | | | | | | | Only lib/util uses the systemd library, so it makes sense to have the checks there. This also removes the need for the ctdb build script to specify an empty tag for the systemd library. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* texpect: Do not depend on ccanVolker Lendecke2015-03-171-1/+0
| | | | | | | texpect is the only remaining user of ccan code. Copy in the two routines Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* waf: Do not recurse into ntdbVolker Lendecke2015-03-171-3/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Transition to waf 1.8: wrapped conf.check_cfgThomas Nagy2015-03-161-1/+1
| | | | | | | | Reviewed-By: Jelmer Vernooij <jelmer@samba.org> (forward ported to current master by abartlet) Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Require at least Python 2.6.Jelmer Vernooij2015-03-161-1/+1
| | | | | | | | | Per discussion on the list earlier this year. Change-Id: I085c6e8253b2b8183749c2b0962714c350b2d440 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Inline outputting of subunit in libtorture.Jelmer Vernooij2015-03-061-1/+0
| | | | | | Change-Id: I2c7045c530183a6961cb253540579312c2767330 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: Only build the wrappers if we enable selftestAndreas Schneider2015-02-231-4/+5
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Feb 23 22:31:22 CET 2015 on sn-devel-104
* packaging: Include CTDB man pages in the tarballAmitay Isaacs2014-12-151-0/+3
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib: Add resolv_wrapper version 1.0.0.Andreas Schneider2014-12-051-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Remove tabs in python file, unnecessary 'pass'.Jelmer Vernooij2014-11-191-2/+1
| | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
* build: Simplify check for building with ctdbAmitay Isaacs2014-10-281-2/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* Fix pydoctor invocation.Jelmer Vernooij2014-10-141-3/+7
| | | | | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=10754 Change-Id: I1ca311dcba52350dc284439119a8166dee1de50a
* build: Hook CTDB into top level build using --with-cluster-supportMartin Schwenke2014-10-081-0/+4
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Oct 8 09:42:08 CEST 2014 on sn-devel-104
* build: do full SAMBA_CHECK_PERL() check in configureMichael Adam2014-09-051-1/+1
| | | | | | | | | | | ...instead of only checking for the perl binary This autodetects PERL_LIB_INSTALL_DIR and removes the need of the --with-perl-lib-install-dir when using a --prefix!=/usr. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Michael Adam <obnox@samba.org>
* lib/texpect: add texpect binary based on heimdals rkpty.Günther Deschner2014-09-011-0/+1
| | | | | | | | Guenther Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
* Don't build iniparser anymore.Jeremy Allison2014-08-141-6/+0
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
* third_party/popt: Initial support for popt.Ira Cooper2014-08-091-2/+7
| | | | | | | ctdb, ldb, and samba are supported builds for third_party popt. Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* third_party/zlib: Initial support for zlibIra Cooper2014-08-091-1/+6
| | | | | Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* third_party/iniparser: Initial support for iniparser.Ira Cooper2014-08-091-1/+9
| | | | | | | | This is the initial support for iniparser, as well the basic third_party framework. Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* WAF: use libsystemd-daemon only if linking actually succeedsAlexander Bokovoy2014-06-051-1/+2
| | | | | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Jun 5 17:16:22 CEST 2014 on sn-devel-104
* wscript: set conf.env.replace_add_global_pthread = TrueStefan Metzmacher2014-05-221-0/+1
| | | | | | | | | | In Samba we currently add PTHREAD CFLAGS/LDFLAGS globally. The following changes will move the configure checks to lib/replace and the the default of adding the flags globally will change there. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* selftest: Add tests for dbcheck detection and removal of partial objectsAndrew Bartlett2014-05-031-1/+1
| | | | | | | | | | | To avoid listing all the provision snapshots, we use a broader blacklist for waf dist and a whitelist for dbcheck-oldrelease.sh Andrew Bartlett Change-Id: Iab0ff4be0b4287dc128a49302836a6f0f7b39678 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* waf: fetch and use some exit codes of called processesBjörn Baumbach2014-05-031-5/+15
| | | | | | | | | Without this patch for example "make ctags" reports "Success", also if ctags fails or is not available. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* add systemd integrationAlexander Bokovoy2014-04-231-3/+23
| | | | | | | | | | | | | | | Add --with-systemd / --without-systemd options to check whether libsystemd-daemon library is available and use it to report service startup status to systemd for smbd/winbindd/nmbd and AD DC. The problem it solves is correct reporting of the Samba services at the point when they are ready to serve clients, important for high availability software integration. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10517 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* lib: Change socket_wrapper to preloadable version.Andreas Schneider2014-04-171-1/+0
| | | | | | | This imports socket_wrapper 1.0.1. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib: Change nss_wrapper to preloadable version.Andreas Schneider2014-04-171-1/+0
| | | | | | | This imports nss_wrapper version 1.0.2. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* lib: Change uid_wrapper to preloadable version.Andreas Schneider2014-04-171-1/+0
| | | | | | | This imports version 1.0.1 of uid_wrapper. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* build: Exclude source4/selftest/provisions/release-4-1-0rc3 from the tarballAndrew Bartlett2014-03-211-1/+1
| | | | | | | | | Change-Id: Id4ddaabb91363174d2fbef09e823f53b13912a51 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Mar 21 10:06:04 CET 2014 on sn-devel-104
* build: don't execute tests/summary.cGustavo Zacarias2014-02-121-1/+0
| | | | | | | | | | | tests/summary.c will never be able to be executed when cross compiling. Use #error and #warning directives to fail or warn accordingly when compiling it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
* waf: Build with RELRO if supported by the compiler.Andreas Schneider2013-07-091-0/+18
| | | | | | | | | | | | | Make sure we create binaries with full RELocation Read-Only support. See https://isisblogs.poly.edu/2011/06/01/relro-relocation-read-only/ for more details. The default is to check if the compiler supports RELRO and then enable it. Specifying '--with-relro' will make it mandatory and '--without-relro' will disable it. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* waf: build PIEs if supported by the compilerDavid Disseldorp2013-05-291-6/+12
| | | | | | | | | | | Currently waf performs a mandatory check for compiler PIE support, unless --without-pie is specified. This change makes Waf only perform the mandatory check if --with-pie is specified. If neither --with-pie nor --without-pie are specified, then PIEs are only built if compiler support is available. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: No longer run autogen.sh during tarball creationAndrew Bartlett2013-05-281-7/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* waf: add --with[out]-pie configure argumentsDavid Disseldorp2013-05-281-0/+11
| | | | | | The arguments do not currently have any effect. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* More generic check for OpenBSD platformVadim Zhukov2013-05-171-1/+1
| | | | | | | | | | | | | | | | OpenBSD versioning is different from many other projects, and, say, 5.0 does not differ from 4.9 more than from 5.1. So the right approach will be to check that platform name starts with "openbsd" instead. This is also the thing OpenBSD developers do when patching other software, so this patch is consistent with already existing practicies. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9888 Reviewed-by: Lars Müller <lars@samba.org> Reviewed-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri May 17 17:58:16 CEST 2013 on sn-devel-104
* build: Blacklist the release-4-0-0 provision as wellAndrew Bartlett2013-05-161-1/+1
| | | | | | | | | This reduces the size of the published tarball while ensuring we test with it during autobuild. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ntdb: remove --disable-ntdb.Rusty Russell2013-04-131-9/+1
| | | | | | | | | | | Remove DISABLE_NTDB option, and --disable-ntdb from waf build. This just means that it will always get built: it isn't used by default yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Apr 13 02:01:02 CEST 2013 on sn-devel-104
* build: Raise minimum python version to 2.5.0 for samba buildAndrew Bartlett2013-04-111-1/+1
| | | | | | | | | | | | | | | | RHEL5 has a python26 package for a modern python, and was the main reason we kept python 2.5 support. However, this support never actually worked for AD DC installations, as samba-tool uses a feature only in 2.5 and above. Very few folks noticed and those were on RHEL5, and moving to 2.5 allows us to remove some other workarounds. Andrew Bartlett Reviewed-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: Remove extra space in shebangAndrew Bartlett2013-04-101-1/+1
| | | | Reviewed-by: Michael Adam <obnox@samba.org>
* build: Replace #!/usr/bin/env python with passed in PYTHON=Andrew Bartlett2013-04-101-4/+1
| | | | | | | | | | This means that if we were forced to use a specific python for the build, we will put that binary into the top of samba-tool, so it continues to work after the install. Andrew Bartlett Reviewed-by: Michael Adam <obnox@samba.org>
* wscript: Removed executable bit.Ricky Nance2012-09-261-0/+0
| | | | Removed the executable for both wscript and wscript_build.
* build:dist: call source3/autogen.sh and packaged generated filesMichael Adam2012-09-121-0/+7
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build:dist: call build-manpages-nogit for make dist and package generated filesMichael Adam2012-09-121-0/+3
| | | | | | | so that we always have generated manpages under docs/manpages in the release tarball Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build:dist: for snapshot builds, call DIST_DIRS with extend=TrueMichael Adam2012-09-121-1/+1
| | | | | | to allow the distversion file to be an addition to the list Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build: skip shipping the alpha13 provision in the release tarballsAndrew Bartlett2012-09-031-1/+1
| | | | | | | | | | This test is important, but it is not important enough to include this volume of data in every tarball. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 3 13:01:58 CEST 2012 on sn-devel-104
* build: Only make bin/ if it does not existAndrew Bartlett2012-09-031-1/+2
|
* build: Create bin/ when doing 'waf dist' from a fresh checkoutAndrew Bartlett2012-08-211-0/+1
| | | | | | | | | As suggested by Amitay. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 09:03:02 CEST 2012 on sn-devel-104
* build: Remove special case for the build farmAndrew Bartlett2012-08-211-6/+0
| | | | | | | | | | | Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104