summaryrefslogtreecommitdiff
path: root/wscript
AgeCommit message (Collapse)AuthorFilesLines
2013-07-09waf: Build with RELRO if supported by the compiler.Andreas Schneider1-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>
2013-05-29waf: build PIEs if supported by the compilerDavid Disseldorp1-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>
2013-05-28build: No longer run autogen.sh during tarball creationAndrew Bartlett1-7/+0
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
2013-05-28waf: add --with[out]-pie configure argumentsDavid Disseldorp1-0/+11
The arguments do not currently have any effect. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-17More generic check for OpenBSD platformVadim Zhukov1-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
2013-05-16build: Blacklist the release-4-0-0 provision as wellAndrew Bartlett1-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>
2013-04-13ntdb: remove --disable-ntdb.Rusty Russell1-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
2013-04-11build: Raise minimum python version to 2.5.0 for samba buildAndrew Bartlett1-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>
2013-04-10build: Remove extra space in shebangAndrew Bartlett1-1/+1
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-10build: Replace #!/usr/bin/env python with passed in PYTHON=Andrew Bartlett1-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>
2012-09-26wscript: Removed executable bit.Ricky Nance1-0/+0
Removed the executable for both wscript and wscript_build.
2012-09-12build:dist: call source3/autogen.sh and packaged generated filesMichael Adam1-0/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: call build-manpages-nogit for make dist and package generated filesMichael Adam1-0/+3
so that we always have generated manpages under docs/manpages in the release tarball Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12build:dist: for snapshot builds, call DIST_DIRS with extend=TrueMichael Adam1-1/+1
to allow the distversion file to be an addition to the list Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-03build: skip shipping the alpha13 provision in the release tarballsAndrew Bartlett1-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
2012-09-03build: Only make bin/ if it does not existAndrew Bartlett1-1/+2
2012-08-21build: Create bin/ when doing 'waf dist' from a fresh checkoutAndrew Bartlett1-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
2012-08-21build: Remove special case for the build farmAndrew Bartlett1-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
2012-08-20build: Do not put a .distversion file into the GIT treeAndrew Bartlett1-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
2012-07-04ntdb: make --disable-ntdb work properly.Rusty Russell1-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
2012-07-03wafsamba: samba_version: add samba version suffix to vcs_fieldsBjörn Baumbach1-1/+12
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-07-03build: Run distcheck in the correct directoryAndrew Bartlett1-1/+1
This is a leftover from the move to the top level build. Andrew Bartlett
2012-06-21Add --disable-ntdb option for building.Jelmer Vernooij1-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
2012-06-19waf: Fix make etagsVolker Lendecke1-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
2012-06-19ntdb: put it back into the build.Rusty Russell1-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>
2012-06-07waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy1-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).
2012-05-28freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5Alexander Bokovoy1-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
2012-05-27build: Remove all references to libuuidAndrew Bartlett1-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
2012-05-23Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy1-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.
2012-05-09allow to use system iniparser library.Günther Deschner1-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
2012-04-23waf: move krb5 checks to a separate waf fileAlexander Bokovoy1-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>
2012-04-23build: Remove support for a system libsmbclientAndrew Bartlett1-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
2012-04-23build: Remove support for system libwbclientAndrew Bartlett1-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
2012-04-17waf: Add possibility to build with system libwbclient.Andreas Schneider1-0/+1
2012-04-17s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider1-0/+1
2012-04-12waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure localGünther Deschner1-1/+2
heimdal. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-05build: Add configure summary checking to waf buildAndrew Bartlett1-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
2012-03-15util: Add --disable-fault-handling.Ira Cooper1-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.
2012-03-10wscript: Include talloc, tdb and ldb in pydoctor output.Jelmer Vernooij1-1/+10
2012-03-10pydoctor: Specify --project-name.Jelmer Vernooij1-1/+1
2012-03-07addns: Fix the Solaris/Illumos build.Ira Cooper1-0/+1
uuid_t is not defined without including sys/uuid.h, configure+waf checks added. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-02-16wafsamba: exclude '.brzignore' from "make dist"Michael Adam1-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
2012-02-16wafsamba: exclude '.gitignore' from "make dist"Michael Adam1-0/+1
.gitignore can cause unwanted effects, if one e.g. maintains a packaging (like debian) of the generated distribution in git
2012-02-07crypto: Use libbsd md5 header, if available.Jelmer Vernooij1-0/+1
2011-12-09Add 'make pep8' target.Jelmer Vernooij1-0/+8
2011-11-13waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij1-9/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-10-07build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett1-1/+0
The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett1-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
2011-10-02wscript: Also generate ctags for python filesKai Blin1-1/+1
2011-09-23build: Fix waf build on MacOS XAndrew Bartlett1-0/+4
The -framework CoreFoundation is required by the charset_macosxfs module The system/time.h header is required to access the replacement clock_gettime() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104