Commit graph

142 commits

Author SHA1 Message Date
drochner
497cc0cdd9 -add a patch from upstream to fix CVE-2008-3162
(stack-based buffer overflow in the str_read_packet function in
   libavformat/psxstr.c)
-add (a modified version of) the ffmpeg 4xm patch which fixes
 possible memory corruption
bump PKGREVISION
2009-02-02 19:20:48 +00:00
shattered
2fc690d1ac Unbreak build with pulseaudio support (configure check failed because
of missing glib2 dependency).
2009-01-03 15:18:18 +00:00
jmcneill
86cc8e0b1a Backport PulseAudio driver from MPlayer SVN. 2008-12-20 00:43:47 +00:00
bjs
93fc3964fc Revision bump for x264-devel. 2008-12-18 17:46:53 +00:00
bjs
2517bc1e7c Add patch for new x264. 2008-12-18 16:44:27 +00:00
bjs
a1216a3df2 PKGREVISION bump for packages using mplayer-share due to x264 update. 2008-12-18 16:40:57 +00:00
tron
b44f83d476 Add security patch from MPlayer SVN repository to fix a buffer overflow
in the TwinVQ media file decoder.
2008-12-15 15:37:58 +00:00
wiz
1f47c55f9b Add a patch for better VCD support from Sergey Svishchev.
Fixes PR 20549.
2008-10-20 07:40:00 +00:00
tron
ae280acc04 Apply patch from MPlayer subversion repository to fix CVE-2008-3827.
Bump package revisions of "mplayer", "gmplayer" and "mencoder" packages.
2008-10-02 12:32:41 +00:00
jmcneill
7802e5d74a Fix corrupt patch-vb 2008-09-09 12:13:13 +00:00
jmcneill
8ec6886932 regen 2008-09-09 12:07:58 +00:00
jmcneill
aba6b5e838 Add $NetBSD$ 2008-09-09 12:07:45 +00:00
jmcneill
ebc89222de Enable tv-v4l2 support on NetBSD. 2008-09-09 01:11:53 +00:00
joerg
a5da2db2f6 Set RESTRICTED and derive NO_* from it. 2008-09-08 14:32:42 +00:00
abs
76c83885dc Add faac option (disabled by default 2008-08-21 11:37:53 +00:00
joerg
3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00
tonnerre
634506bef2 Add a patch for CVE-2008-1558 to mplayer. This fixes a buffer overflow in
the RealRTSP SDP code which can be exploited to execute arbitrary code
remotely.
2008-05-11 03:46:24 +00:00
joerg
f0c5f1f2d9 Add fix for a crash / stack corruption with ASS. Bump revision. 2008-04-14 06:55:47 +00:00
wiz
8bda8c0d57 --enable-x264 confuses the configure script, it's better to avoid
it and let it find out for itself.

Fixes mencoder build.

Reported and fixed by David Sainty.
2008-03-25 15:35:36 +00:00
tnn
3b627b7337 If using the mplayer-ssse3 option, then include override-as.mk from binutils. 2008-03-24 23:44:19 +00:00
wiz
e22cf4bee0 Add x264-devel include, seems to be needed after all. 2008-03-16 21:22:45 +00:00
wiz
6fe43a8439 Add x264 option and default it to on (since it occurs no additional
dependencies). Bump PKGREVISION.
2008-03-16 11:56:48 +00:00
tnn
6e96c58763 Missing include of <errno.h>. PR pkg/38105 2008-02-26 18:14:30 +00:00
jdc
09275ef5bd `xvid' also works on sparc64. Rearrange the options to account for this. 2008-02-24 22:24:34 +00:00
rillig
05796a6912 Added "debug" option. 2008-02-13 00:55:55 +00:00
tnn
e3ff768630 Fix a pbulk scan failure. mplayer is only available with gcc, but
the Makefile.cflags naively checked the value of CC_VERSION which is
unset if we're not using gcc. Found with Solaris x86 and sunpro.
2008-02-08 10:17:26 +00:00
drochner
80ba1e8793 add some patches from upstream which fix CVE-2008-0485, CVE-2008-0486
and two unnamed buffer overflows, bump PKGREVISION of affected pkgs
2008-02-05 17:00:35 +00:00
gdt
c5a59a21ce Fix parallel builds by adding dependencies, and reenable them. 2008-01-03 13:34:36 +00:00
wiz
99d2459102 Add vidix option, only for Linux.
Fixes build on NetBSD/amd64.
2007-12-27 13:19:40 +00:00
drochner
84aa0c81e1 disable ssse3 in the standard case, this makes the pkg build on NetBSD
because ssse3 needs a newer assembler than we have,
add an option to enable it, which pulls in devel/binutils to get a
recent assembler
2007-12-21 17:41:12 +00:00
tron
065bec2404 Fix NetBSD-specific bug in "configure" script which broke the detection
of a lot of X11 libraries. Problem noted by Matthias Drochner in
private e-mail.

Bump package revision because of this fix.
2007-12-21 16:07:48 +00:00
tron
2bb5d9f0da Update "mplayer", "mplayer-share", "mencoder" and "gmplayer" packages
to version 1.0rc2 (as 1.0rc10).
Changes since version 1.0rc1 (known as 1.0rc9 in "pkgsrc"):
- A lot of new audio and video decoders and other improvements
- A large number of bug fixes
- Updated documentation
- Support for Mac OS X Intel

Approved by Thomas Klausner (because it fixes the Darwin-i386 build).
2007-12-21 11:31:11 +00:00
tron
8102d31ba4 Fix inconsistency (using "#pragma pack()" without ever using
"#pragma pack(<n>)". This brings us one step closer to building the
"mplayer" package under Mac OS X Intel.
2007-12-18 22:57:43 +00:00
heinz
b48feeb6d7 The ability to use DESTDIR correctly should be determined package by
package and not in commonly used Makefile fragments.
2007-12-15 15:14:26 +00:00
drochner
3a7069df43 apply a security fix from upstream CVS:
Check wLongsPerEntry before using it.
This fixes a potential crash for some values of it.
As a side effect it works around broken callocs with an integer
overflow vulnerability, but using MPlayer on such systems should
never be assumed to be safe!

This should fix SA26806 (http://secunia.com/advisories/26806/).

bump PKGREVISIONs
2007-09-13 19:16:01 +00:00
abs
3c094d56a2 If the *mplayer* packages are going to default to setting cflags
to target a pentium pro if mplayer-runtime-cpudetection is enabled
then at least put it under an option so it can be turned off:

	mplayer-default-cflags

For example, all of my machines are p3 or better, so I prefer to
use "-march=pentium3 -mfpmath=sse -msse2", but I still want
mplayer-runtime-cpudetection to handle amd64 / Intel core at runtime.
2007-09-06 18:31:00 +00:00
rillig
6e9fe3ec0d Removed the dependency on binutils. It had never been documented why
this is needed at all, and why only on NetBSD. If someone knows, please
re-add the code and _comment_ it properly.
2007-08-15 13:23:27 +00:00
tron
988e8fa521 Enable runtime CPU detection on PowerPC-based platforms, too. This allows
using an "mplayer" binary built on a G5 based Mac OS X system on e.g.
a G4 based Mac OS X system.
2007-07-11 20:39:38 +00:00
wiz
7a6acb4483 Add patch provided by Nathan Arthur in PR 34980 based on a posting by
Glenn Maynard on ffmpeg-devel that should fix the gmplayer compilation
problem on NetBSD-3.x.
2007-07-05 05:18:50 +00:00
tron
a52f45cddb Regenerate the "distinfo" for the "mplayer" package, too. Bump the
package revision again because the patch didn't get applied previously.
Problem pointed out by Geert Hendrickx.
2007-06-08 10:07:17 +00:00
tron
3c013a9fee Add patch from the MPlayer SVN repository to fix an overflow in the
CDDB code reported in CVE-2007-2948. Bump package revision.
2007-06-07 13:19:54 +00:00
drochner
c7b82234aa pull in a patch from mplayer CVS to fix buffer overflow in DMO reader, see
http://lists.grok.org.uk/pipermail/full-disclosure/2007-March/052738.html
bump PKGREVISIONs
2007-03-09 15:14:16 +00:00
drochner
e4740b51b2 normalize timeval for select() timeout in udp stream handler, from
Mihai Chelaru per PR pkg/35444
bump PKGREVISIONs
2007-02-23 19:19:39 +00:00
drochner
4c948e743f add the libdvdnav fixes we have applied to (all?) the other instances
here too, just for consistency. The code is not used, due to a
--disable-mpdvdkit configure option.
2007-01-25 18:31:16 +00:00
drochner
f412506948 add limit check to real parser (identical to CVE-2006-6172)
from mplayer svn

bump PKGREVISIONs
2007-01-09 14:49:33 +00:00
joerg
e7a8697fff Remove the external vorbis dependency as the internal implementation
based on tremor is used by default. In the long term, it might end up
replaced with the ffmpeg version as well. Noticed in PR 31587.
Bump revision.
2006-12-27 21:14:12 +00:00
drochner
a828eb4049 Move fontconfig/buildlink3.mk to a common makefile fragment, so that
mencoder gets it too. Without that, fontconfig vertions from pkg and
X11R6 get mixed which is bad. Bump mencoder's PKGREVISION.
2006-12-07 14:09:02 +00:00
joerg
f489170f57 Move extra X11 includes to Makefile.common and bump revision of mplayer. 2006-11-30 15:00:45 +00:00
abs
239253bc04 Fix path to cdda_interface.h and cdda_paranoia.h in the #ifndef
HAVE_LIBCDIO case
2006-11-30 14:03:13 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +00:00