summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-04-04 16:30:06 +0000
committerAlex Legler <a3li@gentoo.org>2009-04-04 16:30:06 +0000
commita563187bbaa91cd94e6711fff1c51bcaeb012676 (patch)
treecc1d7c76b8e40703d0ef9c495121e8937d1d4c3e /media-video/ogle/files/ogle-vuln-scripts-makefile.patch
parentMarking powerpc stabilizations for 264504 (diff)
downloadgentoo-2-a563187bbaa91cd94e6711fff1c51bcaeb012676.tar.gz
gentoo-2-a563187bbaa91cd94e6711fff1c51bcaeb012676.tar.bz2
gentoo-2-a563187bbaa91cd94e6711fff1c51bcaeb012676.zip
Non-maintainer commit: Removing vulnerable scripts, bug 245921.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'media-video/ogle/files/ogle-vuln-scripts-makefile.patch')
-rw-r--r--media-video/ogle/files/ogle-vuln-scripts-makefile.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-video/ogle/files/ogle-vuln-scripts-makefile.patch b/media-video/ogle/files/ogle-vuln-scripts-makefile.patch
new file mode 100644
index 000000000000..f25964378c48
--- /dev/null
+++ b/media-video/ogle/files/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 \