summaryrefslogtreecommitdiff
path: root/community/ogle/ogle-vuln-scripts-makefile.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-11 00:07:28 -0700
committerroot <root@rshg054.dnsready.net>2013-10-11 00:07:28 -0700
commitc38c20f4261c973628038df011b526c6ad4e0489 (patch)
tree177946f9ec2d7ef5e23b9ffdd749442d18923aa6 /community/ogle/ogle-vuln-scripts-makefile.patch
parent361f95d1ff881daf5f87cb14917bd524511abfc5 (diff)
Fri Oct 11 00:07:27 PDT 2013
Diffstat (limited to 'community/ogle/ogle-vuln-scripts-makefile.patch')
-rw-r--r--community/ogle/ogle-vuln-scripts-makefile.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/ogle/ogle-vuln-scripts-makefile.patch b/community/ogle/ogle-vuln-scripts-makefile.patch
new file mode 100644
index 000000000..f25964378
--- /dev/null
+++ b/community/ogle/ogle-vuln-scripts-makefile.patch
@@ -0,0 +1,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 \