summaryrefslogtreecommitdiff
path: root/source4/dynconfig
AgeCommit message (Collapse)AuthorFilesLines
2011-06-20build: Put lockdir and cachedir in FHS-like locations by defaultAndrew Bartlett1-2/+2
This does not move statedir, leaving it in PREFIX/var/locks because state files such as idmap are dangerous to move, as they might re-create, causing chaos. This isn't ideal, but I don't have a better solution right now. Andrew Bartlett
2011-06-20s4-build Change default paths and --with flags for a 4.0 releaseAndrew Bartlett1-58/+20
The following changes are made since Samba 3.6: * --with-ncalrpcdir and --with-nmbdsocketdir are replaced with --with-socket-dir (with ntp_signd, winbindd, nmbd subdirs) * This moves the winbind socket out of /tmp. Distributions have moved this out of /tmp for quite some time now, and /var/run in the FHS blessed location these days. --with-socketdir should point to /var/run in a distribution package. * Configuration files are expected in PREFIX/etc instead of PREFIX/lib (they need to be moved manually) * SWAT data files have moved to PREFIX/share/swat (alongside PREFIX/share/setup containing samba4 provision templates). * The --with-fhs option is no longer available (it was never very useful, and major distributions (Debian, OpenSuSE, Fedora) either specified every option (overriding the effect) or didn't specify it at all. * PID files are now in PREFIX/var/run, moved from PREFIX/var/locks * The ncalrpc and nmbd sockets are now in PREFIX/var/run by default The following changes are made for users of Samba3 binaries built with the top level build in master * 'state' files are now expected to be in their Samba 3.6 location PREFIX/var/locks (and will need to be moved manually) Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-27dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett3-174/+1
2011-02-24s4:dynconfig: fix segfault in the set_dyn_*() functionsStefan Metzmacher1-12/+25
We should not try to call free on a const string (the default one). Now we make sure that the dyn_* variable is never NULL and only allocated if it's not the default value. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104
2011-02-24s4:dynconfig: add prototypes for *dyn_LOCALEDIRStefan Metzmacher1-0/+1
metze
2011-02-18s3build: added NMBDSOCKETDIR to dynconfigAndrew Tridgell3-1/+5
this is needed for the s3 top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17s4-build: added LOCALEDIR config optionAndrew Tridgell2-1/+3
s3 needs dyn_LOCALEDIR
2011-02-15Fix private libdir and codepages pathsSimo Sorce1-1/+1
The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
2011-02-07s4-build: fixed uses of os.path.relpath()Andrew Tridgell1-2/+2
these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
2011-02-07s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell1-0/+1
this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-waf Add PYTHONDIR and PYTHONARCHDIR to the 'different on install' listAndrew Bartlett1-0/+2
This allows the C code to rely on PYTHONDIR and PYTHONARCHDIR to always be correct, and so not to cause problems when forcing these into sys.path. Andrew Bartlett
2011-02-07s4-build: fixed install of version.h from source4 buildAndrew Tridgell1-2/+1
2011-02-07build: fixed make install for top level buildAndrew Tridgell1-1/+2
2011-02-07s4-dynconfig: fixed dyn_SETUPDIR to point to the right directoryAndrew Tridgell1-2/+2
this make dyn_SETUPDIR correct for both source4/ build and a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell3-1/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
2011-01-12s4:dynconfig/dynconfig.h - fix ending newline warningMatthias Dieter Wallnöfer1-1/+1
2011-01-04dynconfig: Add extern to header, try to unbreak imini buildfarm host.Brad Hards1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 4 05:39:57 CET 2011 on sn-devel-104
2011-01-03s4:dynconfig: Add prototypes to match dynconfig.cBrad Hards2-20/+36
Also, SCRIPTSBINDIR isn't really common with Samba3 dynconfig Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 13:25:04 CET 2011 on sn-devel-104
2010-11-24s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell3-6/+13
this ensures consistency between binaries and scripts when testing as a developer
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-30/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-13s4: don't rebuild all of heimdal when dynconfig options changeAndrew Tridgell1-1/+3
only 2 files in heimdal depend on dynconfig variables
2010-10-13s4-dynconfig: use the build modules when running from build directoryAndrew Tridgell1-3/+7
we need to use the newly built modules when running from the build directory to ensure we don't run tests against a stale install Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-10-03s4-heimdal_build fix up build after heimdal importAndrew Bartlett1-2/+5
Heimdal has it's own dynconfig like system, and so we need the LIBDIR etc in the CFLAGS here. We also need to define build rules for the new files imported in the merge commit, and fix up some header files. This includes the work by Matthieu Patou <mat@matws.net> Andrew Bartlett
2010-05-18s4:dynconfig: let the autoconf build compile againStefan Metzmacher1-1/+6
metze
2010-05-14s3compat: use right variable for STATEDIRAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-05-14s4-dynconfig: make dynconfig more compatible with s3Andrew Tridgell2-54/+55
2010-05-14Revert "s4: remove unused references to swat"Andrew Bartlett4-0/+8
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
2010-04-29s4: remove unused references to swatStefan Metzmacher4-8/+0
metze
2010-04-29s4:dynconfig: fix fhs variables and list them all explicitStefan Metzmacher1-9/+12
This adds 'samba' subdirs to smb.conf and setup. metze
2010-04-29s4:dynconfig: reorder non fhs variablesStefan Metzmacher1-10/+10
metze
2010-04-20s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\"Stefan Metzmacher1-2/+2
metze
2010-04-20s4-dynconfig: added dyn_PYTHONDIRAndrew Tridgell3-0/+6
2010-04-15s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ includedStefan Metzmacher1-3/+3
metze
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-2/+2
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06s4-waf: install in /usr/local/samba by defaultAndrew Tridgell1-1/+1
2010-04-06s4-waf: added --enable-fhs configure optionAndrew Tridgell1-4/+39
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: move the gnu dirs check to the generic wafsamba codeAndrew Tridgell1-2/+0
2010-04-06s4-waf: enable the pc_files in the build rulesAndrew Tridgell1-0/+1
2010-04-06s4-waf: install the rest of the headersAndrew Tridgell1-0/+2
2010-04-06s4-waf: started adding auto-install of include filesAndrew Tridgell1-6/+10
2010-04-06build: split out the base waf rules into buildtools/wafsamba/wscriptAndrew Tridgell1-1/+0
this stops lib/replace becoming a mess
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+82
2010-04-06build: nearly there on samba4 buildAndrew Tridgell1-2/+0
2010-04-06build: dynconfig build rulesAndrew Tridgell1-0/+2
2010-02-23s4-config: add dyn_SBINDIRAndrew Tridgell3-0/+5
2010-02-22More spelling fixes across source4/Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-12-07s4:build torturedir and -DTORTUREDIR is unusedAndrew Bartlett1-1/+0
(And made building RPMs much more difficult for JHT)
2008-09-30Fix installation of misc files.Jelmer Vernooij1-3/+0
2008-09-29Consistently use lower case variable names for path variables.Jelmer Vernooij1-6/+6
Patch by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> and me.