mplayer: Apply 4 security patches for various vulnerabilities.

This commit is contained in:
Brett Goulder 2008-02-05 11:24:18 -05:00
parent 172f84477b
commit 5cd017c5b9
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,7 @@
7e27e535c2d267637df34898f1b91707 MPlayer-1.0rc2.tar.bz2
543a5d8441e11e585062ade2014a1fad demux_audio_fix_20080129.diff
9b60da1a0f2b6d2e2d2158ec1f5656c0 demux_mov_fix_20080129.diff
1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2
c64631601912913f3e5dfbecc3b79d44 mplayer.conf
2060511669714e02d4df2ed008b9deee stream_cddb_fix_20080120.diff
06bba9f77e66ac7199ea2be604395309 url_fix_20080120.diff

View File

@ -12,14 +12,23 @@
name=mplayer
version=1.0rc2
release=1
release=2
source=(http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-$version.tar.bz2 \
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
http://www.mplayerhq.hu/MPlayer/patches/demux_audio_fix_20080129.diff \
http://www.mplayerhq.hu/MPlayer/patches/demux_mov_fix_20080129.diff \
http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff \
http://www.mplayerhq.hu/MPlayer/patches/url_fix_20080120.diff \
mplayer.conf)
build() {
cd MPlayer-$version
patch -d libmpdemux -i $SRC/demux_audio_fix_20080129.diff
patch -d libmpdemux -i $SRC/demux_mov_fix_20080129.diff
patch -d stream -i $SRC/stream_cddb_fix_20080120.diff
patch -d stream -i $SRC/url_fix_20080120.diff
# mplayer decides optimizations at configure time, don't use CRUX's
unset CFLAGS
./configure --prefix=/usr \