summaryrefslogtreecommitdiffstats
path: root/MPlayer
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-06-09 00:01:37 +0000
committer Eric Hameleers <alien@slackware.com>2007-06-09 00:01:37 +0000
commite62a3621cb14d76e1db99fe4f03bd52277773b70 (patch)
tree1f818cc2041845faba328b83578d142120148ed0 /MPlayer
parentf110aece593aa6cdeed0b442124b73e74fe74c4f (diff)
downloadasb-e62a3621cb14d76e1db99fe4f03bd52277773b70.tar.gz
asb-e62a3621cb14d76e1db99fe4f03bd52277773b70.tar.xz
Patch for a security issue CVE-2007-2948
Diffstat (limited to 'MPlayer')
-rwxr-xr-xMPlayer/build/MPlayer.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/MPlayer/build/MPlayer.SlackBuild b/MPlayer/build/MPlayer.SlackBuild
index ea938d1a..13cd7a81 100755
--- a/MPlayer/build/MPlayer.SlackBuild
+++ b/MPlayer/build/MPlayer.SlackBuild
@@ -29,6 +29,8 @@
# * Differentiate between versions of X11 (modular X has another
# install-prefix); update default skin; enable mplayer menu;
# add security fix
+# 1.0rc1-5: 07/jun/2007 by Eric Hameleers <alien@slackware.com>
+# Add security fix.
#
# Run 'sh SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -42,7 +44,7 @@
PRGNAM=MPlayer
VERSION=${VERSION:-"1.0rc1"}
ARCH=${ARCH:-"i486"}
-BUILD=${BUILD:-"4"}
+BUILD=${BUILD:-"5"}
DOCS="AUTHORS ChangeLog Copyright LICENSE README DOCS/HTML DOCS/tech"
@@ -98,10 +100,14 @@ SRCURL[0]="http://www4.mplayerhq.hu/${PRGNAM}/releases/${PRGNAM}-${VERSION}.tar.
SOURCE[1]="$SRCDIR/${DEFSKIN}-${SKINVER}.tar.bz2"
SRCURL[1]="http://www.mplayerhq.hu/MPlayer/skins/${DEFSKIN}-${SKINVER}.tar.bz2"
-# Security fix:
+# Security fix DSA 1244-1:
SOURCE[2]="$SRCDIR/asmrules_fix_20061231.diff"
SRCURL[2]="http://www.mplayerhq.hu/MPlayer/patches/asmrules_fix_20061231.diff"
+# Security fix CVE-2007-2948:
+SOURCE[3]="$SRCDIR/cddb_fix_20070605.diff"
+SRCURL[3]="http://www.mplayerhq.hu/MPlayer/patches/cddb_fix_20070605.diff"
+
##
## --- with a little luck, you won't have to edit below this point --- ##
##
@@ -185,6 +191,9 @@ chmod -R a-s,u+rw,go+r-w *
# Fix a security problem: read http://www.debian.org/security/2006/dsa-1244
patch -p0 < ${SOURCE[2]} 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+# Fix a security problem: read http://secunia.com/advisories/24302/
+patch -p0 < ${SOURCE[3]} 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
+
# Remove potentially illegal dvdcss code (in which case, make sure you have
# libdvdread installed before you start the compile!):
[ "$REMOVECSS" == "yes" ] && rm -rf libmpdvdkit2