summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba
Commit message (Collapse)AuthorAgeFilesLines
...
* build(waf): support AIX 6.1Christian Ambach2012-11-091-1/+1
| | | | | on AIX6.1, we need to define _ALL_SOURCE as well, otherwise system headers with BSD types like u_int cannot be used
* wafsamba.abi: Fix abi_match with both excludes and includes.Jelmer Vernooij2012-11-062-3/+20
| | | | | | | | | | | This fixes a regression introduced by 9c3e294400234ebdf9b98031bae583524fd0b0ac which caused internal symbols in libldb to be exposed. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9357 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
* wafsamba.samba_abi: Add basic unit tests.Jelmer Vernooij2012-11-062-1/+51
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
* buildtools: Remove extra space from global: lineAndrew Bartlett2012-11-061-1/+1
| | | | | | | | | | | | This makes it easier to put the expected values in a file as we will not have trailing whitespace that is against git style. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* wafsamba.samba_abi: Refactor abi_write_vscript to take file argument.Jelmer Vernooij2012-11-061-9/+13
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
* build: Remove support for IDL-generated files in git treeAndrew Bartlett2012-10-281-24/+2
| | | | | | | This was added in a9ea3d6fa510286b83c4bda42c9a857da3625451 but is no longer required, as we do not store IDL-generated files in GIT. Andrew Bartlett
* wafsamba: If we define a realname and a soname create a symlink.Andreas Schneider2012-10-221-0/+2
| | | | | This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a corresponding symlinks.
* buildtools/wafsamba: only display 'ok' if the result is TrueStefan Metzmacher2012-10-191-2/+2
| | | | | | | | Otherwise we print the raw value. metze Signed-off-by: Michael Adam <obnox@samba.org>
* wafsamba: Ignore some more symbols when checking for dupes.Jelmer Vernooij2012-10-111-1/+1
|
* build: Remove --disable-sharedAndrew Bartlett2012-10-112-15/+2
| | | | | | | | | | | This does not work, and has no known use cases. Remove it so we do not waste time trying to support it. This also removes it for ldb/tdb/ntdb/talloc, but as these are first shared libraries, and then tools on top of those, rpath or (for emergency tools) --nonshared-binary= seems more appropriate. Andrew Bartlett
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-2713-27/+28
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* docs-xml: convert smb.conf.5 build to wafAlexander Bokovoy2012-09-171-2/+4
| | | | | | | | | | | | | | | | | | smb.conf(5) is different from other manpages because before it is built, it gets merged together from a number of smaller files, one per parameter. So we first create a parameters.all.xml file that references all these files and then include it into master smb.conf.5.xml One small issue is how to handle generated files in WAF build from xi:include perspective as the files are generated in bin/default/docs-xml rather than in docs-xml. We solve this by further expanding use of XML catalogs and rewriting virtual path http://www.samba.org/samba/smbdotconf/ to proper location. Both docs-xml autoconf and waf builds work correctly now. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Mon Sep 17 14:18:31 CEST 2012 on sn-devel-104
* build:dist: extend meaning of DIST_FILES to also recurse into directoriesMichael Adam2012-09-121-2/+16
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* build:dist: make use of file / distfile more obvious in handling of ↵Michael Adam2012-09-121-5/+2
| | | | | | DIST_FILES in "make dist" Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build:dist: extend samba_dist.DIST_FILES() to take optional parameter ↵Michael Adam2012-09-121-1/+3
| | | | | | | | | extend(=False) This allows to do multpile DIST_FILES() calls that will extend the list rather than only setting it initially. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* build:waf dist: factor out function to add list of files to the tarballMichael Adam2012-09-121-22/+29
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* wafsamba: Add a SAMBAMANPAGES function.Andreas Schneider2012-09-121-1/+15
|
* wafsamba/samba_abi: allow negative matches in abi_matchAlexander Bokovoy2012-09-071-3/+12
| | | | | | | | | abi_match keyword for samba libraries allows to selectively apply ABI versions. samba_abi.py implied !sym to be used to say 'all symbols but this one' but the actual demotion of !sym to the local scope was not implemented. Now abi_match='!sym' properly moves symbol to a local scope.
* wafsamba/samba_abi: fix signature parsing for structuresAlexander Bokovoy2012-09-071-2/+3
| | | | | | Signature parsing for structure objects was broken. Existing regexp was greedingly cutting off additional curly brackets that belonged to the first and last structure member.
* waf: Create catalog file for manpage generation.Andreas Schneider2012-09-071-1/+2
|
* wafsamba: Add a CONFIGURE_FILE option.Andreas Schneider2012-09-072-1/+52
|
* wafsamba: Add support for manpages in SAMBA_MODULE.Andreas Schneider2012-09-071-0/+2
|
* build: Remove special case for the build farmAndrew Bartlett2012-08-211-1/+1
| | | | | | | | | | | 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: Remove accidentily added line in samba_version.pyAndrew Bartlett2012-08-211-1/+0
| | | | | | | | | This was incorrectly added in 0e441636afd5923a92f7eb29d66dfa52e2f0a5c3. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 03:11:16 CEST 2012 on sn-devel-104
* WHATSNEW: Remove over-caution on s3fs and explain browsing betterAndrew Bartlett2012-08-201-0/+1
|
* build: Ensure -Werror=format works with -Wformat=2 on NULL format stringsAndrew Bartlett2012-08-171-1/+1
| | | | | | | | | | | | | This should fix the build on some gcc versions, (noticed on FreeBSD by Volker). We want the protection of -Werror=format without the errors extending to the format string itself being NULL, because that is valid for ldb_search(). Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 14:50:16 CEST 2012 on sn-devel-104
* build: Make -Werror=format check only run where NULL is still acceptedAndrew Bartlett2012-08-061-3/+18
| | | | | | | | This is needed because ldb_search() allows a NULL parameter for the format string and this needs to be permitted by the format string checker before we want to make this error fatal. Andrew Bartlett
* build: Add more -Werror flags now the tree is clean of these errorsAndrew Bartlett2012-07-301-1/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jul 30 08:23:24 CEST 2012 on sn-devel-104
* build: Add -Werror=address to the developer buildAndrew Bartlett2012-07-241-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* wafsamba: samba_version: add samba version suffix to vcs_fieldsBjörn Baumbach2012-07-032-0/+62
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* wafsamba/irixcc: next try to inject '-c99' the the buildStefan Metzmacher2012-06-201-1/+3
| | | | metze
* Revert "wafsamba/irixcc: add '-c99' option to cc"Stefan Metzmacher2012-06-201-3/+1
| | | | | | | | This reverts commit 59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5. Doesn't seem to work :-( metze
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-191-11/+4
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* wafsamba/irixcc: add '-c99' option to ccStefan Metzmacher2012-06-191-1/+3
| | | | | | | | | Lets see if this fixes the build on IRIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 19 02:42:21 CEST 2012 on sn-devel-104
* wafsamba: try to fix the build on AIX with xlc_rStefan Metzmacher2012-06-101-1/+10
| | | | | | | | | | | | | | | bld.env['CPP'] can be 'None' or '[]', bld.CONFIG_SET("CPP") should return False File "./buildtools/wafsamba/samba_pidl.py", line 131, in SAMBA_PIDL_LIST bld.SAMBA_PIDL(name, p, options=options, output_dir=output_dir, symlink=symlink, generate_tables=generate_tables) File "./buildtools/wafsamba/samba_pidl.py", line 65, in SAMBA_PIDL cpp = 'CPP="%s"' % bld.CONFIG_GET("CPP")[0] IndexError: list index out of range metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jun 10 20:18:49 CEST 2012 on sn-devel-104
* build: try to fix large file support for AIXBjörn Jacke2012-06-081-0/+8
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Jun 8 00:37:00 CEST 2012 on sn-devel-104
* VERSION: prepare for beta1 by setting and parsing the beta versionAndrew Bartlett2012-06-051-1/+8
|
* build: Add option to specify where gettext is (/usr/local by default)Andriy Syrovenko2012-05-271-1/+5
| | | | | This should help configure script to find gettext on FreeBSD and (possibly) some other systems as well.
* wafsamba: ensure TO_LIST does not fail with empty stringAlexander Bokovoy2012-05-231-0/+2
|
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-232-1/+17
| | | | | | | | | | | | | | | | | 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.
* build: Also look for iconv in /usr/local by defaultAndrew Bartlett2012-05-181-2/+2
| | | | | | | This should help the build find iconv on FreeBSD and similar systems, and make it possible to operate with 8-bit character sets. Andrew Bartlett
* Add include/lib folders from the commandlineThomas Nagy2012-05-182-1/+71
| | | | | | By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
* build: Add explicit mention of --abi-check-disable to ABI checkerAndrew Bartlett2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | This information has always been in the linked wiki page, but put it in the build to unblock developers using platforms with slightly different GDB output. We can also assist this by improving the string normalisiation in the ABI checker when example errors are provided. It is better to build with the waf build and the full testsuite than to avoid the waf build or not to use the developer options simply to skip the ABI checker. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 16 01:53:42 CEST 2012 on sn-devel-104
* build: Avoid printing the ABI signature normalisation during the default buildAndrew Bartlett2012-05-101-1/+1
| | | | | | | | | This appears to have been accidentily left in acd63fdb86769ff4328ccb6a4096181e65e4d30f Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 10 09:00:20 CEST 2012 on sn-devel-104
* build:ignore solaris _GLOBAL_OFFSET_TABLE_ in duplicate symbol checkerAndrew Bartlett2012-05-101-0/+2
|
* allow to use system iniparser library.Günther Deschner2012-05-091-0/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-251-1/+3
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett2012-04-203-0/+12
| | | | | | | | | | | | | | | This will help installations where the Samba4 libraries must be used but the main system is not using the system libs that would normally be installed. This in particular impacts on libwbclient, which is a core dep, but is different to that used by the rest of a Samba 3.x based system. Use eg: ./configure --private-libraries=wbclient Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 03:27:22 CEST 2012 on sn-devel-104
* waf: Fix mispellingSimo Sorce2012-04-193-10/+10
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
* build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵Andrew Bartlett2012-04-181-6/+0
| | | | -DCONFIGFILE