summaryrefslogtreecommitdiffstats
path: root/wscript
Commit message (Collapse)AuthorAgeFilesLines
* 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
* build: Do not put a .distversion file into the GIT treeAndrew Bartlett2012-08-201-5/+8
| | | | | | | This places the file only in the tarball, and shows how to auto-generate other files for placement in the tarball. Andrew Bartlett
* ntdb: make --disable-ntdb work properly.Rusty Russell2012-07-041-0/+2
| | | | | | | | | As per bug #9024, make --disable-ntdb work again. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Wed Jul 4 08:11:33 CEST 2012 on sn-devel-104
* wafsamba: samba_version: add samba version suffix to vcs_fieldsBjörn Baumbach2012-07-031-1/+12
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* build: Run distcheck in the correct directoryAndrew Bartlett2012-07-031-1/+1
| | | | | | This is a leftover from the move to the top level build. Andrew Bartlett
* Add --disable-ntdb option for building.Jelmer Vernooij2012-06-211-1/+8
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Jun 21 19:59:57 CEST 2012 on sn-devel-104
* waf: Fix make etagsVolker Lendecke2012-06-191-1/+1
| | | | | | | | | | | vlendec@host:~/git/s3> make etags WAF_MAKE=1 ./buildtools/bin/waf etags Running: etags $(find /home/vlendec/git/s3 -name "*.[ch]" | egrep -v \.inst\.) sh: /usr/bin/etags: Argument list too long 'etags' finished successfully (0.368s) Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 19 18:56:53 CEST 2012 on sn-devel-104
* ntdb: put it back into the build.Rusty Russell2012-06-191-2/+4
| | | | | | | This doesn't do anything with it yet, just wires it back into the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-071-3/+3
| | | | | | --without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).