summaryrefslogtreecommitdiff
path: root/dynconfig
Commit message (Collapse)AuthorAgeFilesLines
* dynconfig: Fix code spellingAndreas Schneider2023-04-111-1/+1
| | | | | | Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
* dynconfig: Introduce and expose SAMBA_LIBEXECDIRVolker Lendecke2021-04-013-0/+9
| | | | | | | | Right now the smbspool_krb5_wrapper lives there, but we'll have more in the future. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* build: Remove workaround for missing os.path.relpath in Python < 2.6Andrew Bartlett2019-11-131-2/+2
| | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
* dynconfig/wscript: typo fixesBjörn Jacke2019-10-311-5/+5
| | | | | Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
* build: add SAMBA_DATADIR as "samba" subdirectory of DATADIRRalph Boehme2019-10-093-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | DATADIR should have been set to this path from the beginning, too late to change that now as ut's used as parent for two other directory varialbles: SETUPDIR and CODEPAGEDIR. From <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>: datadir The directory for installing idiosyncratic read-only architecture-independent data files for this program. This is usually the same place as ‘datarootdir’, but we use the two separate variables so that you can move these program-specific files without altering the location for Info files, man pages, etc. This should normally be /usr/local/share, but write it as $(datarootdir). (If you are using Autoconf, write it as ‘@datadir@’.) The definition of ‘datadir’ is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/. Currently Samba doesn't install any application specific data files, but I'm going to do just that in a subsequent commit. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
* dynconfig/wscript: python3 fix string.find instanceNoel Power2018-12-141-1/+1
| | | | | | | | string.find doesn't exist in python3. Instead use the 'find' method of the string instance itself Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dynconfig/wscript: update to handle waf 2.0.4Alexander Bokovoy2018-09-051-5/+9
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dynconfig: Fix location of the default 'binddns dir'Andreas Schneider2017-09-161-6/+6
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* param: Add 'binddns dir' parameterAndreas Schneider2017-09-053-0/+9
| | | | | | | | | | This allows to us to have restricted access to the directory by the group 'named' which bind is a member of. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
* dynconfig: Change permission of the private dir to 0700Andreas Schneider2017-09-051-1/+1
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
* dynconfig: Use INSTALL_DIR to create directoriesAndreas Schneider2017-08-241-3/+6
| | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 24 09:29:05 CEST 2017 on sn-devel-144
* param: Remove winbindd privileged socket directory optionAndrew Bartlett2017-01-223-7/+0
| | | | | | | | | | | | This option is unused and has not been used since before Samba 4.3 when the source4/ winbindd code went away. The associated dynconfig parameters used for the default are also removed. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10066 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* wscript: remove executable bits for all wscript* filesStefan Metzmacher2017-01-111-0/+0
| | | | | | | | | | These files should not be executable. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jan 11 20:21:01 CET 2017 on sn-devel-144
* Add build option for default smbpasswd locationIvo De Decker2016-05-031-0/+2
| | | | | | | | | Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue May 3 04:42:24 CEST 2016 on sn-devel-144
* build:wafsamba: Replace Options.is_install by bld.is_installThomas Nagy2015-11-161-2/+2
| | | | | | | | | Options.is_install is a deprecated module variable that is more verbose than bld.is_install and complicates the Waf 1.8 upgrade. Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* build:wafsamba: Remove the unnecessary intltool module dependencyThomas Nagy2015-11-061-1/+1
| | | | | | | | | The 'intltool' module is completely unnecessary for the build process, and it does not exist in waf 1.8 Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Uri Simchoni uri@samba.org Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dynconfig: Use replace.h and memory.h directly, not via includes.hAndrew Bartlett2015-10-211-5/+2
| | | | | | | | | | includes.h brings in talloc.h, but this was recently removed as a dependency. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Oct 21 11:26:38 CEST 2015 on sn-devel-104
* dynconfig: Fix deps, no talloc requiredVolker Lendecke2015-10-121-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Oct 12 17:06:04 CEST 2015 on sn-devel-104
* dynconfig: Remove include of nsswitch/winbind_struct_protocol.hMartin Schwenke2014-09-191-1/+0
| | | | | | | | Nothing declared in this file is used in dynconfig.c. It appears that WINBINDD_SOCKET_DIR used to come from there. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
* dynconfig: implement PERL_ARCH_INSTALL_DIRMichael Adam2014-09-051-0/+5
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* dynconfig: implement PERL_LIB_INSTALL_DIR.Michael Adam2014-09-051-0/+5
| | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* dynconfig/wscript: add dynconfig_varnames()Stefan Metzmacher2014-09-051-0/+10
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* docs: define and include entities for the docsGarming Sam2014-01-311-8/+27
| | | | | | | | | | This allows for dynamic default settings to be generated. Change-Id: If8b93d233fb941bc7e3073ccf4b5ec0b0a231bd9 Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* dynconfig: Remove last s3 markers now we have just one build systemAndrew Bartlett2013-07-242-5/+0
| | | | | | | | 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): Wed Jul 24 16:29:15 CEST 2013 on sn-devel-104
* build: Remove feature tests for variables now always providedAndrew Bartlett2013-05-281-11/+0
| | | | | | | | | | | These #ifdef statements were added in replacement for #if (_SAMBA_BUILD_ >= 4) in fbe7ed79b0f056a9a8f44a9b42e887441d2f00d5 Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* build: Remove autoconf build systemAndrew Bartlett2013-05-281-299/+0
| | | | | | | | | | | We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* swat: Remove swat.Kai Blin2013-05-184-9/+0
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
* ntp_signd: move socket directory to var/lib not var/run for permissions changeAndrew Bartlett2012-11-121-2/+2
| | | | | | | | | | | | | | | | | | | With the next patch, this becomes a socket directory on which we must maintain administrator-specified permissions we will need to move it away from directories that wipe at boot. This means the ntp.conf will need to change from (eg) ntpsigndsocket /usr/local/samba/var/run/ntp_signd/ to ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/ Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* dynconfig/config.m4: disallow --prefix=/usr and --prefix=/usr/local without ↵Stefan Metzmacher2012-09-211-0/+4
| | | | | | | | | --enable-fhs This matches the waf configure behavior and catches the case where old build scripts try '--with-fhs' instead of '--enable-fhs'. metze
* build: fix typoAndrew Bartlett2012-08-031-1/+1
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 3 03:56:38 CEST 2012 on sn-devel-104
* dynconfig/wscript: correctly cleanup PRIVATELIBDIR and MODULESDIR defaultsStefan Metzmacher2012-01-191-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 19 00:47:50 CET 2012 on sn-devel-104
* dynconfig: overwrite --with-privatelibdir as a Samba optionStefan Metzmacher2012-01-171-1/+8
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 17 17:17:56 CET 2012 on sn-devel-104
* dynconfig: --with-modulesdir should be a Samba optionStefan Metzmacher2012-01-172-11/+29
| | | | | | | This also restores the defaults from Samba 3.6.x: "${libdir}" or "${libdir}/samba" in FHS mode. metze
* dynconfig/config.m4: expand prefix, exec_prefix, sysconfdir, localstatedir ↵Stefan Metzmacher2012-01-171-18/+18
| | | | | | | | and datarootdir in Makefile Otherwise $prefix is "NONE" without explicit --prefix metze
* dynconfig: added SBINDIR and BINDIR as updated dynconfig variablesAndrew Tridgell2011-12-151-0/+2
| | | | | this allows these to work correctly in a build environment, pointing at bin/
* s3: Use autotools to set the winbind socket directory.Andreas Schneider2011-11-091-0/+31
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104
* dynconfig: replace #if (_SAMBA_BUILD_ >= 4) by feature testsStefan Metzmacher2011-10-221-2/+10
| | | | metze
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-071-2/+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
* dynconfig/wscript: use $libdir/security for PAMMODULESDIR as in config.m4Stefan Metzmacher2011-07-131-3/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 17:44:01 CEST 2011 on sn-devel-104
* s3:configure: use the same dynconfig options and default values as the ↵Stefan Metzmacher2011-07-131-0/+256
| | | | | | toplevel build metze
* dynconfig: rework the logic to support --enable-fhsStefan Metzmacher2011-07-131-119/+275
| | | | | | | | | | | This reorders the data structure which represents the options to build a more useful hierachy. This makes it more obvious which defaults values are used in the 'STD' and 'FHS' flavors. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 09:33:21 CEST 2011 on sn-devel-104
* dynconfig: add SambaIndentedHelpFormatter in order to support \n in option ↵Stefan Metzmacher2011-07-131-1/+54
| | | | | | help text metze
* dynconfig: remember which options still have their default valueStefan Metzmacher2011-07-131-2/+10
| | | | | | | If the values are explicit specified on the command line, we need to keep them. metze
* dynconfig: use an option group for the samba specific optionsStefan Metzmacher2011-07-131-2/+4
| | | | metze
* Revert "s4-build Change default paths and --with flags for a 4.0 release"Stefan Metzmacher2011-07-131-20/+58
| | | | This reverts commit edd3e8b03aa0bca85d4a9a62b35471e76a1f9390.
* Revert "build: Put lockdir and cachedir in FHS-like locations by default"Stefan Metzmacher2011-07-131-2/+2
| | | | This reverts commit 6c9a78074a429773cefd1a3c798b7e3ad7d4c325.
* s3-waf: remove s3-waf specific dynconfig.Günther Deschner2011-06-281-1/+4
| | | | | | | | | | | This merge finally makes --with-logfilebase=foo and friends work appropriately. Andrews, Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104
* build: move dynconfig for top level build upAndrew Bartlett2011-06-211-0/+115
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett2011-04-272-0/+179