summaryrefslogtreecommitdiffstats
path: root/wscript
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5Alexander Bokovoy2012-05-281-2/+17
| | | | | | | | | | | | | | | | | | | | | | System-provided Heimdal Kerberos in FreeBSD 9 lacks proper support for parsing MS PAC. This leaves us with MIT krb5 package from ports or embedded Heimdal in source4. MIT krb5 from ports is 1.9.2, it supports all needed features for AD support in smbd, as well as WAF MIT krb5 build. In order to use it, one needs to install 'krb5' package. Autoconf build: --with-krb5=/usr/local WAF build: --with-system-mitkrb5 /usr/local or otherwise krb5-config from system Heimdal will overtake and break the detection, leaving you with a mixture of Kerberos libraries from different locations. WAF build accepts multiple paths as sub-arguments of the --with-system-mitkrb5 and searches through them for krb5-config, i.e. /usr/local /usr/kerberos ... Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Mon May 28 23:40:30 CEST 2012 on sn-devel-104
* build: Remove all references to libuuidAndrew Bartlett2012-05-271-1/+0
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-2/+13
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* allow to use system iniparser library.Günther Deschner2012-05-091-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
* waf: move krb5 checks to a separate waf fileAlexander Bokovoy2012-04-231-1/+8
| | | | | | | | | | | | | | | | | With PROCESS_SEPARATE_RULE in wafsamba it is now possible to simplify configuration and checks for MIT/Heimdal Kerberos implementations. 1. Move MIT krb5 checks from source3/wscript to wscript_configure_krb5 2. Make sure they are called same way (--with-mit-krb5-checks) 3. If no configure checks identified MIT krb5 in system (or were disabled), make sure Heimdal build is selected, embedded (default) or system-provided. This makes logic of configuration unchanged for Heimdal builds but adds less hacky way to use MIT krb5 builds. The latter does not work yet as we need to untangle more subsystems from HDB/Heimdal-specific details but lays out a foundation for that. Signed-off-by: Simo Sorce <idra@samba.org>
* build: Remove support for a system libsmbclientAndrew Bartlett2012-04-231-1/+0
| | | | | | | | | | | | | | | With the new --private-libraries option, there is no longer the need to have this support, which was aimed at avoiding the duplication between two different libsmbclient binaries in a packaged distribution. By using --private-libraries instead, we do not introduce a dependency between Samba 4.0 packages and whatever other packages are on the system. This effectivly reverts part of e3ffb31554927a24df35576bd753ee4eb2dc2a3c while kpeeing the improved SAMBA_LIBRARY declaration. Andrew Bartlett
* build: Remove support for system libwbclientAndrew Bartlett2012-04-231-1/+0
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* waf: Add possibility to build with system libwbclient.Andreas Schneider2012-04-171-0/+1
|
* s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider2012-04-171-0/+1
|
* waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure localGünther Deschner2012-04-121-1/+2
| | | | | | | | heimdal. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* build: Add configure summary checking to waf buildAndrew Bartlett2012-04-051-0/+7
| | | | | | | | | | When we remove the autoconf build, this can be re-expressed in python, but for now it is good to share this double-check. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 04:11:45 CEST 2012 on sn-devel-104
* util: Add --disable-fault-handling.Ira Cooper2012-03-151-0/+1
| | | | | | On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler.
* wscript: Include talloc, tdb and ldb in pydoctor output.Jelmer Vernooij2012-03-101-1/+10
|
* pydoctor: Specify --project-name.Jelmer Vernooij2012-03-101-1/+1
|
* addns: Fix the Solaris/Illumos build.Ira Cooper2012-03-071-0/+1
| | | | | | uuid_t is not defined without including sys/uuid.h, configure+waf checks added. Signed-off-by: Jeremy Allison <jra@samba.org>
* wafsamba: exclude '.brzignore' from "make dist"Michael Adam2012-02-161-1/+1
| | | | | | | | .bzrignore can cause unwanted effects, if one e.g. maintains a packaging (like debian) of the generated distribution in bzr. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 16 13:47:52 CET 2012 on sn-devel-104
* wafsamba: exclude '.gitignore' from "make dist"Michael Adam2012-02-161-0/+1
| | | | | .gitignore can cause unwanted effects, if one e.g. maintains a packaging (like debian) of the generated distribution in git
* crypto: Use libbsd md5 header, if available.Jelmer Vernooij2012-02-071-0/+1
|
* Add 'make pep8' target.Jelmer Vernooij2011-12-091-0/+8
|
* waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij2011-11-131-9/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
* build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2011-10-071-1/+0
| | | | | | The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-071-3/+0
| | | | | | | | | The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
* wscript: Also generate ctags for python filesKai Blin2011-10-021-1/+1
|