1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

896 Commits

Author SHA1 Message Date
Jelmer Vernooij
d86f38bef3 find_unused_macros: Remove obsolete script that finds unused macros.
There are various static checkers that can do this nowadays, with
better accuracy.

Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2014-08-31 21:21:13 +02:00
Jelmer Vernooij
b97248297c source4: Remove script to find unused makefile variables.
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2014-08-31 21:21:13 +02:00
Garming Sam
cc6a77835b lib/param: generate the param_functions.h containing the prototypes
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>
2014-02-12 13:17:13 +13:00
Andrew Bartlett
b21b012756 lib/param move source4 param code to the top level
This is done so that the lpcfg_ functions are available across the whole
build, either with the struct loadparm_context loaded from an smb.conf directly
or as a wrapper around the source3 param code.

This is not the final, merged loadparm, but simply one step to make
it easier to solve other problems while we make our slow progress
on this difficult problem.

Andrew Bartlett
2011-10-11 13:41:34 +11:00
Andrew Bartlett
45c580575f script/librelease.sh: automate Samba4 alpha releases 2011-09-13 15:58:01 +10:00
Amitay Isaacs
d847f62161 s3-param: Add a dump() method to output parameters
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26 10:06:32 +10:00
Andrew Bartlett
7c9ecf35fa param: Add smb.conf loading support to s3/s4 loadparm bridge 2011-08-13 12:30:49 +10:00
Andrew Bartlett
0e4a4c8b19 s4-param finish services hooks for s4->s3 loadparm context 2011-07-14 15:06:45 +10:00
Andrew Bartlett
cda8686940 lib/param: Merge struct loadparm_service into common
This is handled by a common header and a .c file that is included into
both loadparm.c files.

In the process, _lp functions were renamed to lp__ to allow the common
function definition declarations to be used by source3 and source4
(which have different macro definitions).

The only parameter to change type is 'strict_locking' which was a
bool, and is now an int, to accommodate the 'Auto' value from source3.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jul  8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08 12:35:56 +02:00
Andrew Bartlett
6b2749f8a9 param: Add hooks to s3 parm_struct and the parameters void * pointer
This is to that the pyparam hooks can use the hooks to connect with
the s3 loadparm system.  This now also includes per-service
parameters.

Andrew Bartlett
2011-07-08 11:23:23 +02:00
Andrew Bartlett
4f3a155fb5 s3-param Generate parameter tables 2011-07-02 12:31:34 +10:00
Andrew Bartlett
233a6223b2 s4-param Autogenerate the loadparm_globals and loadparm_service tables
This makes it much easier and less error prone to add new parameters
as we merge the s3 and s4 loadparm systems.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jun 21 04:41:54 CEST 2011 on sn-devel-104
2011-06-21 04:41:54 +02:00
Andrew Bartlett
5db2041511 s4-param Add my authorship to this script 2011-06-21 09:35:34 +10:00
Andrew Bartlett
b9108cac52 s3-s4-param: Add hooks for parametric options in the s3/s4 glue layer
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun  6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06 10:48:53 +02:00
Andrew Bartlett
1dfc6fa558 s4-param Add hook between Samba3 and Samba4 loadparm systems.
In the top level build, this allows calls to code that requires a
lpcfg_ style loadparm_context, while using the global parameters
loaded from the source3 loadparm code.

Andrew Bartlett
2011-06-06 17:37:51 +10:00
Jelmer Vernooij
febc4a730a Fix release script to cope with moved Samba 4 build tools. 2011-04-24 02:14:17 +02:00
Andrew Tridgell
e196e52640 s4-build: remove a bunch of unused build scripts
these were leftover from the autoconf build

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Feb  7 04:09:40 CET 2011 on sn-devel-104
2011-02-07 04:09:40 +01:00
Andrew Bartlett
eab493b7ea Remove unused installmisc.sh script, from old build system 2011-02-02 15:19:03 +11:00
Jelmer Vernooij
1a20d597f2 mkrelease: Simplify further.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 24 02:01:10 CET 2010 on sn-devel-104
2010-12-24 02:01:09 +01:00
Jelmer Vernooij
9ebb55d1cb s4: Remove obsolete mkversion.sh 2010-11-12 17:42:13 +00:00
Jelmer Vernooij
0866e2dad2 autobuild-remote: Support autobuild.py rather than land.py.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct  1 09:46:37 UTC 2010 on sn-devel-104
2010-10-01 09:46:37 +00:00
Jelmer Vernooij
1adece8c8d Remove land.py - it's been obsoleted by autobuild.py. 2010-10-01 11:05:10 +02:00
Jelmer Vernooij
94f84da1f6 s4-land: Print commands that are being run. 2010-09-21 22:54:32 -07:00
Jelmer Vernooij
93c95824c7 s4: Add script for landing a branch through a remote server, such as sn. 2010-09-21 15:54:34 -07:00
Jelmer Vernooij
fd25d67d0d s4: Add convenience script for building and landing a tree in the
background, sending results by email.
2010-09-21 14:18:21 -07:00
Jelmer Vernooij
db67f43aef s4-mkrelease: Update for waf. 2010-09-20 14:41:29 -07:00
Jelmer Vernooij
cd7335abd3 s4-mkrelease: Update to use waf build. 2010-09-20 13:07:27 -07:00
Andrew Tridgell
2a93814592 s4-param: move back to auto-generation of loadparm prototypes 2010-09-11 22:32:43 +10:00
Andrew Tridgell
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Andrew Bartlett
e5fca6aebf s4:build Don't automatically mark as 'not a git snapshot'.
If we generate a tarball, it may well be a git snapshot - we will
change the VERSION file if it really is a release.

Andrew Bartlett
2010-05-28 21:59:14 +10:00
Andrew Bartlett
b088a27551 s4:build use autotools for mkrelease.sh
The mkrelease.sh script only works with the autotools build.  However,
it isn't recommended.

Andrew Bartlett
2010-05-28 21:59:12 +10:00
Andrew Tridgell
6eb839cd16 s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
2010-05-04 11:45:43 +02:00
Stefan Metzmacher
1765732f82 s4: remove unused references to swat
metze
2010-04-29 12:36:47 +02:00
Marcel Ritter
e6f59613fe Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-04-27 21:05:00 +02:00
Andrew Tridgell
b5b8e6b6ad s4-dns: install samba_spnupdate 2010-04-27 19:27:19 +10:00
Stefan Metzmacher
d19033e1e9 Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
This reverts commit a34eafc693.

This commit was correct.

metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d8c3541ca8 Revert "s4:"dns_update_list" file: install it properly into the private directory"
This reverts commit fde707aa0c.

This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.

metze
2010-04-15 18:37:39 +02:00
Jelmer Vernooij
472860c9a7 Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
36474e5867 s4: Remove unused pkg-config replacement in perl. 2010-04-07 22:53:39 +02:00
Jelmer Vernooij
c63440e040 s4-python: Ensure __init__ exists in samba.external, or importing will fail. 2010-04-01 15:33:08 +02:00
Jelmer Vernooij
84891b048d s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
2010-04-01 15:33:07 +02:00
Jelmer Vernooij
5f3fcf7a77 s4-python: Install external included packages only if they're not present on the system. 2010-03-31 03:56:24 +02:00
Jelmer Vernooij
0e77bea165 installmisc: Support DESTDIR for Python directories. 2010-03-31 03:47:10 +02:00
Matthias Dieter Wallnöfer
c8fe49b2d3 s4:installmisc.sh - fix location of "dnspython" library 2010-03-29 22:35:16 +02:00
Matthias Dieter Wallnöfer
fde707aa0c s4:"dns_update_list" file: install it properly into the private directory
This is what the "samba_dnsupdate" script requests (line 220).
2010-03-08 20:37:36 +01:00
Matthias Dieter Wallnöfer
a34eafc693 Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder"
This reverts commit b49276e291.
2010-03-08 20:30:06 +01:00
Andrew Tridgell
25a0750b81 s4-python: only install external python libs that are missing 2010-03-05 11:54:37 +11:00
Andrew Tridgell
8c7cf499ab s4-python: allow us to have samba copies of python libraries we depend on
For python libraries like dns.resolver it is useful to be able to install 
a copy of the library with Samba. This set of functions allows us to do that
while using the locally installed version if it is available

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-05 11:54:36 +11:00
Matthias Dieter Wallnöfer
b49276e291 s4:script/installmisc.sh - install "dns_update_list" to target setup folder 2010-02-26 20:41:38 +01:00
Andrew Tridgell
ad7223b9bd dns: install samba_dnsupdate 2010-02-26 13:59:16 +11:00