summaryrefslogtreecommitdiff
path: root/extra/ogle/ogle-vuln-scripts-makefile.patch
blob: f25964378c484d797f9a2b2a2a9d778d6af7897f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This patch inhibits the installation of debug scripts vulnerable to a symlink
attack, see bug 245921 for reference.

--- scripts/Makefile.in.orig	2009-04-04 18:13:33.000000000 +0200
+++ scripts/Makefile.in	2009-04-04 18:15:46.000000000 +0200
@@ -133,10 +133,10 @@
 subdir = scripts
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES = ogle
-SCRIPTS = $(bin_SCRIPTS) $(dist_pkglib_SCRIPTS)
+SCRIPTS = $(bin_SCRIPTS)
 
 DIST_SOURCES =
-DIST_COMMON = $(dist_pkglib_SCRIPTS) Makefile.am Makefile.in ogle.in
+DIST_COMMON = Makefile.am Makefile.in ogle.in
 all: all-am
 
 .SUFFIXES:
@@ -279,7 +279,7 @@
 
 install-data-am:
 
-install-exec-am: install-binSCRIPTS install-dist_pkglibSCRIPTS
+install-exec-am: install-binSCRIPTS
 
 install-info: install-info-am
 
@@ -295,7 +295,7 @@
 
 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
-uninstall-am: uninstall-binSCRIPTS uninstall-dist_pkglibSCRIPTS \
+uninstall-am: uninstall-binSCRIPTS \
 	uninstall-info-am
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \