diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-11 13:30:53 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-11 13:30:53 +0100 |
commit | 9a662942b1f1138b8466ea5909cca2716327e8fb (patch) | |
tree | 48c08a834a74d5467a6e2e5b5ad964d12c6a2a19 /debian/patches/0020-secure_script_scons.patch | |
parent | 7895cb65d6b3b89dd914d1108a8de37a72c70f8d (diff) |
Remove the search of libs in local source dirs for security reasons
Diffstat (limited to 'debian/patches/0020-secure_script_scons.patch')
-rw-r--r-- | debian/patches/0020-secure_script_scons.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0020-secure_script_scons.patch b/debian/patches/0020-secure_script_scons.patch new file mode 100644 index 0000000..7463f32 --- /dev/null +++ b/debian/patches/0020-secure_script_scons.patch @@ -0,0 +1,21 @@ +Description: Comment out the search for libs in local source dirs +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Forwarded: https://pairlist2.pair.net/pipermail/scons-dev/2014-November/002008.html +Last-Update: 2015-02-11 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/script/scons +=================================================================== +--- trunk.orig/script/scons ++++ trunk/script/scons +@@ -75,8 +75,8 @@ if "SCONS_LIB_DIR" in os.environ: + + # - running from source takes priority (since 2.3.2), excluding SCONS_LIB_DIR settings + script_path = os.path.abspath(os.path.dirname(__file__)) +-source_path = os.path.join(script_path, '..', 'engine') +-libs.append(source_path) ++# source_path = os.path.join(script_path, '..', 'engine') ++# libs.append(source_path) + + local_version = 'scons-local-' + __version__ + local = 'scons-local' |