summaryrefslogtreecommitdiff
path: root/wscript_build
Commit message (Collapse)AuthorAgeFilesLines
* Split oLschema2ldif into library and binaryMichael Hanselmann2019-03-261-1/+1
| | | | | | | | | | | | | The oLschema2ldif program was contained in a single file, making reuse of its parsing logic elsewhere impossible. With this change the majority of the code is moved to a new file, "lib.c", while the CLI interface is now in a "main.c" file. End-of-line whitespace is also removed. Signed-off-by: Michael Hanselmann <public@hansmi.ch> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* web_server: Remove the unused Python WSGI web serverGarming Sam2019-03-071-1/+0
| | | | | | | | | | | | | SWAT was removed in Samba 4.1 and there isn't any reason to keep a web server in our codebase. The web server was not turned on by default. The web server plainly does not hold up to modern web server standards and allows for resource exhaustion (and probably generally has bugs). Credit goes to Michael Hanselmann for prompting us to remove this service entirely. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
* build:docs: Get rid of hardcoded 'bin/default'Aliaksei Karaliou2019-02-081-1/+1
| | | | | | | | | | Build scripts for documentation still contain hardcoded path to build destination rather than use proper final build path variables. Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
* lib:printer_driver: Add printer_driver library to parse printer driver inf filesGuenther Deschner2019-01-281-0/+1
| | | | | | | Pair-Programmed-With: Justin Stephenson <jstephen@redhat.com> Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Bjoern Jacke <bjacke@samba.org>
* wscript_build: update to handle waf 2.0.4Alexander Bokovoy2018-09-051-1/+1
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* lib: Add support to parse MS Catalog filesAndreas Schneider2018-08-091-0/+1
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Aug 9 19:57:02 CEST 2018 on sn-devel-144
* auth logging: Extract common audit logging codeGary Lockyer2018-05-161-0/+1
| | | | | | | | Extract the common audit logging code into a library to allow it's re-use in other logging modules. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* packaging: add configure option to preprocess and install systemd filesAurelien Aptel2018-01-081-0/+1
| | | | | | | | | | Turn the systemd service files under packaging into template (.in) files with @VAR@ substitutions and add configure options to install and tweak them. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* docs-xml: autogenerate a doc.version XML entity.Stefan Metzmacher2017-12-131-1/+4
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=9531 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Karolin Seeger <kseeger@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* build: Move pam_wrapper to third_partyAndreas Schneider2017-11-251-2/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: Move uid_wrapper to third_partyAndreas Schneider2017-11-251-2/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: Move resolv_wrapper to third_partyAndreas Schneider2017-11-251-2/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: Move nss_wrapper to third_partyAndreas Schneider2017-11-251-2/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* build: Move socket_wrapper to third_partyAndreas Schneider2017-11-251-2/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* gpo: enable gpo update with addition to build systemLuke Morrison2017-11-201-0/+1
| | | | | | | | Split from "Initial commit for GPO work done by Luke Morrison" by Garming Sam Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Luke Morrison <luke@hubtrek.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* waf: Only build unit tests with selftest enabledAndreas Schneider2017-07-051-1/+2
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12877 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* waf: Only build pam_wrapper if we build with pamAndreas Schneider2017-04-121-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
* lib: Add pam_wrapper 1.0.3Andreas Schneider2017-04-071-0/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Move pthreadpool to top of the tree.Matthieu Patou2017-02-091-0/+1
| | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Jeremy Allison <jra@samba.org>
* testsuite: Add cmocka unit test for smb_krb5_kt_open()Andreas Schneider2016-12-161-0/+1
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Dec 16 05:43:12 CET 2016 on sn-devel-144
* lib: Remove poll_funcsVolker Lendecke2016-10-051-1/+0
| | | | | | | unix_msg was the only user Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Remove unused and untested source4 ntptr and spoolss systemsAndrew Bartlett2016-07-191-1/+0
| | | | | | | These were never finished, were not tested and clearly will not be revived Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* lib: Move poll_funcs to lib/Volker Lendecke2016-06-071-0/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* wscript: Build the KDC code if we have the AD DC build enabledAndreas Schneider2016-03-171-0/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* codepages/*.dat are goneVolker Lendecke2015-03-241-1/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* 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>
* lib: Remove tdb_compatVolker Lendecke2015-03-171-1/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* waf: Do not recurse into ntdbVolker Lendecke2015-03-171-2/+0
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@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/+9
| | | | | | | | 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
* 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>
* Add samba.ensure_third_party_module() function, loading external python ↵Jelmer Vernooij2014-11-121-2/+1
| | | | | | | modules from third_party/ if the system doesn't provide them. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* build: Hook CTDB into top level build using --with-cluster-supportMartin Schwenke2014-10-081-0/+2
| | | | | | | | 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
* ncacn_http: Add http librarySamuel Cabrero2014-09-221-0/+1
| | | | | | Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@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-1/+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-1/+1
| | | | | | | 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/+1
| | | | | 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/+2
| | | | | | | | 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>
* s3:lib/afs move afs.c to common lib dirChristian Ambach2014-06-041-0/+1
| | | | | | | | | | some of the code in afs.c is needed by wbinfo that lives in the toplevel nsswitch directory, so move the afs.c file to a new top-level lib/afs directory. Use the name afs_funcs to avoid collisions with the afs.h header from OpenAFS Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* lib/param: generate the param_functions.h containing the prototypesGarming Sam2014-02-121-1/+1
| | | | | | | Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs: Always declare rule to build parameters.all.xml and do it firstAndrew Bartlett2014-01-311-6/+7
| | | | | | | | | | | This ensures this file and the rule to generate it can always be found. Andrew Bartlett Change-Id: I76d9f4470e2678fc2df4e3a13642737128938f3a Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-1/+1
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
* utils: Remove unused samba-dig toolKai Blin2012-11-161-1/+0
| | | | | Signed-off-by: Kai Blin <kai@samba.org> 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.
* 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
* waf: Fix bug #8801 - build s3fs manpages.Andreas Schneider2012-09-071-0/+1
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Sep 7 12:30:08 CEST 2012 on sn-devel-104
* waf: Create catalog file for manpage generation.Andreas Schneider2012-09-071-0/+4
|
* Add --disable-ntdb option for building.Jelmer Vernooij2012-06-211-1/+2
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Jun 21 19:59:57 CEST 2012 on sn-devel-104
* ntdb: put it back into the build.Rusty Russell2012-06-191-0/+1
| | | | | | | This doesn't do anything with it yet, just wires it back into the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>