1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/buildtools/wafsamba
Martin Schwenke 769e889e0e build: Do not recurse on symlinks to directories when building tarballs
DIST_FILES() causes all files in any specified directory to be
recursively added to the tarball.  However, a symbolic link to a
directory is detected as a regular directory so is also subject to
recursion.  This means that a symbolic link to a directory is
dereferenced and the directory of files beyond it are added to the
tarball under a directory corresponding to the link.  This is almost
certainly not what is intended because it will usually result in
duplicate files.  This is because the contents of a symbolic link's
target directory will already be present in the tarball.

Instead, do not treat symbolic links to directories as directories,
but add them to the tarball like normal files.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2017-08-10 06:43:13 +02:00
..
tests wafsamba.abi: Fix abi_match with both excludes and includes. 2012-11-06 08:27:44 +11:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
generic_cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
hpuxcc.py build: hpux didn't support -Bdynamic 2010-12-15 12:07:32 +03:00
irixcc.py wafsamba/irixcc: next try to inject '-c99' the the build 2012-06-20 12:58:57 +02:00
nothreads.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
pkgconfig.py talloc: use the system pytalloc-util for python3 as well 2017-03-10 07:31:10 +01:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py wafsamba: Move command line option function labelled as 'samba3' to the common set of functions 2017-02-09 20:04:12 +01:00
samba_abi.py build:wafsamba: Specify whether node objects or flat lists in ant_glob 2015-11-24 05:00:27 +01:00
samba_autoconf.py wafsamba: add -Werror=format-security to the developer build 2016-09-05 20:22:59 +02:00
samba_autoproto.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_bundled.py wafsamba: add maxversion and version_blacklist to CHECK_BUNDLED_SYSTEM[_PKG]() 2017-07-02 17:35:18 +02:00
samba_conftests.py waf: Fix a typo 2017-03-01 20:33:18 +01:00
samba_cross.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_deps.py buildtools: Work around a . being in the target name when building python3 helpers 2017-03-10 07:31:11 +01:00
samba_dist.py build: Do not recurse on symlinks to directories when building tarballs 2017-08-10 06:43:13 +02:00
samba_git.py Factor out submodule presence checking. 2015-05-19 22:17:47 +02:00
samba_headers.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_install.py build:wafsamba: Ensure that target clones get a different name 2015-11-24 05:00:27 +01:00
samba_optimisation.py build:wafsamba: Moved samba_before_apply_obj_vars to samba_utils 2015-11-06 10:37:24 +01:00
samba_patterns.py s3: drop build_env 2017-07-14 18:48:07 +02:00
samba_perl.py build: Fix build with perl on debian sid. 2016-10-29 09:32:36 +02:00
samba_pidl.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_python.py wafsamba: move -L/some/path from LINKFLAGS_PYEMBED to LIBPATH_PYEMBED 2017-04-04 16:10:18 +02:00
samba_third_party.py wafsamba: Add CHECK_CMOCKA function 2017-04-10 07:45:24 +02:00
samba_utils.py wafsamba: Remove 2010 comments that seems not accurate anymore 2017-02-09 20:04:12 +01:00
samba_version.py build:wafsamba: Close file handles in the build scripts too 2015-09-02 00:47:18 +02:00
samba_wildcard.py build:wafsamba: Replace Options.is_install by bld.is_install 2015-11-16 11:48:14 +01:00
stale_files.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
symbols.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
test_duplicate_symbol.sh test_duplicate_symbol: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
tru64cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
wafsamba.py wafsamba: Pass down the install argument for samba modules 2017-06-06 18:36:06 +02:00
wscript wafsamba: add source directory define SRCDIR to config.h 2017-04-20 16:53:16 +02:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf