Commit graph

62 commits

Author SHA1 Message Date
joerg
929d912653 At least the esound support requires pkg-config, so pull it in. 2008-08-10 16:21:40 +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
drochner
2153d2a2e4 Remove inclusion of freetype2, this is already done
in mplayer-share/Makefile.depends. Now we are where we were some
PKGREVISIONs ago. If you think there is a problem to fix, please
tell details.
2008-04-28 14:32:11 +00:00
tron
485e03d299 This package needs "freetype2" and not "freetype-lib". Tested under
NetBSD-i386 4.0_STABLE. Bump package revision again.
2008-04-27 15:22:10 +00:00
darcy
51d4e31fe5 Include freetype-lib library and bump PKGVERSION.
Discussed on tech-pkg.  No arguments against the patch.
2008-04-26 14:54:31 +00:00
joerg
f0c5f1f2d9 Add fix for a crash / stack corruption with ASS. Bump revision. 2008-04-14 06:55:47 +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
joerg
fb4567998b Mark again as supporting destdir. 2008-02-26 17:16:24 +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
gdt
f8d6764912 Add link to bug about make -j4 failure in mplayer bugzilla. 2007-12-23 16:02:27 +00:00
gdt
de0624266a # pci_ids.c is created and then used without adequate dependencies
# being expressed.
MAKE_JOBS_SAFE=		no
2007-12-23 14:36:30 +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
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
tron
b5d4491d21 Only try to build with "libXvMC" support if we use modular X.org.
This unbreaks the build under NetBSD using native X11.
2007-09-07 10:06:22 +00:00
abs
0a69cc0730 Update mplayer to 1.0rc9nb8 and gmplayer to 1.0rc9nb3
sync mplayer and gmplayer buildlink includes. Add the following:
   - to gmplayer to match mplayer: libXinerama libXv
   - to gmplayer only:             libdvdnav
   - to both:                      libXvMC libXxf86dga libXxf86vm
2007-09-06 18:11:57 +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
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +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
joerg
43692cdf60 DESTDIR support and convert to mdular buildlinks. 2006-11-06 14:06:17 +00:00
wiz
043872066e Update mplayer-share, mplayer, mencoder, and gmplayer to 1.0rc9 (which
is upstream 1.0rc1, but we already used rc for the previous versions).

With valuable help from drochner, thanks!

ChangeLog:
MPlayer 1.0rc1: "Codename intentionally left blank"

DOCS:

    * German documentation translation finished
    * Russian documentation translation synced and almost finished

Drivers:

    * IVTV hardware MPEG audio/video decoder output
    * ALSA audio output: AC3 passthrough now works even when the device name of the digital output port has been set by the user
    * bicubic OpenGL scaling works with ATI cards
    * md5sum switched to the libavutil MD5 implementation
    * support for libcaca 1.0 via compatibility layer

Decoders:

    * liba52 updated to 0.7.4 (slightly faster)
    * SSE optimizations for mp3lib
    * removed support for obsolete and non-free divx4 libraries

Demuxers:

    * audio stream switching in MPEG-TS/PS, Matroska and streams supported by libavformat
    * audio stream switching between streams with different codecs
    * libavformat demuxer now honors -alang
    * chapter seeking in Matroska files
    * fixed seeking to absolute and percent position for libavformat demuxer
    * NUT demuxer using libnut
    * Matroska SimpleBlock support

Inputs:

    * split of stream layer from libmpdemux to new stream library
    * PVR input for hardware MPEG encoder based cards, such as Hauppauge WinTV PVR-150/250/350/500 AKA IVTV but also pvrusb2 and cx88 (requires Linux >= 2.6.18 kernel, featuring native V4L2 MPEG API)
    * native RTSP input (handles MPEG-TS over RTP) for generic RTSP servers
    * support for seeking to chapters in dvd:// and dvdnav:// streams
    * radio support (radio://)

FFmpeg/libavcodec:

    * VC-1/WMV3/WMV9 video decoder
    * Vorbis decoding speedup, now default Vorbis decoder
    * VMware Video decoder
    * On2 VP50 and VP62 decoder
    * lossless audio decoders: WavPack, TTA, Shorten
    * CAVS decoder
    * GXF muxer/demuxer
    * MXF demuxer
    * much improved FLAC encoder
    * more H.264 decoding speed improvements, plus support for -lavdopts fast
    * Theora decoder fixes
    * preliminary Vorbis encoder
    * MTV demuxer

GUI:

    * Windows version added
    * drag-and-drop ignored last file
    * save and load cache setting correctly
    * working audio stream selection for Ogg and Matroska files
    * executable names like gmplayer_old etc. will now start GUI as well
    * -gui/-nogui options
    * xinerama fixes, now behaves similar to MPlayer without GUI

Filters:

    * MMX-optimizations for -vf yadif
    * MMX-optimizations for -vf zrmjpeg

MEncoder:

    * support of x264 encoding via libavcodec
    * rewrite -x264encopts option parser to use the 264 option parser; likely breaks 3rd party tools as the syntax of some options has changed
    * removed support for obsolete and non-free divx4 libraries

Ports:

    * partial Intel Mac support, --disable-win32 --disable-mp3lib is needed
    * OpenGL can now create windows > screen size under Windows
    * allow filenames starting with \\ for remote paths on Windows

Others:

    * SSA/ASS subtitle renderer
    * -endpos option for MPlayer
    * -correct-pts option
    * UTF-8 used for OSD and subtitles, some bitmap fonts will no longer work correctly and -subcp must be set for all non-UTF-8 subtitles
    * more audio-truncation fixes
    * libavutil mandatory for MPlayer compilation
    * more intuitive -edlout behaviour
    * -nortc is now default since -rtc has disadvantages with recent kernels
2006-10-31 22:33:28 +00:00
grant
9559dd50da fix Xv support on Solaris, as the Xv header files live in /usr/X11R6,
not ${X11_BASE}.
2006-10-11 00:01:00 +00:00
drochner
775b0fecf3 normalize a "struct timeval" before use as timeout in select(2),
suggested by Mihai Chelaru per PM
(affects RTP)
bump PKGREVISIONs
2006-06-14 10:30:06 +00:00
drochner
9ee10a6401 update to 1.0pre8
too many changes to list here, see the ChangeLog
most visible: security patches and DragonFly support were intrgrated
upstream, new gmplayer look&feel (like it or not...)
2006-06-13 17:25:00 +00:00
wiz
89f17d05a2 Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable)
for SDL shlib changes.
2006-06-12 16:57:06 +00:00
drochner
229196596e -use the "try2" distfile, it already contains the fix for the PCM decoder
which we had a patch for
-add another patch from the Mplayer site which fixes CVE-2006-0579
 (ASF demuxer overflows)

bump PKGREVISIONS of mplayer, mencoder and gmplayer
2006-04-13 14:05:34 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
salo
ff0f7770ff Security fix for SA17892:
"A vulnerability in FFmpeg libavcodec can be exploited by malicious people
to cause a DoS (Denial of Service) and potentially to compromise a user's
system."

http://secunia.com/advisories/17892/

Fix from ffmpeg CVS repository, libavcodec/utils.c rev. 1.162:

"default_get_buffer() cleanup
fixes probably exploitable heap overflow
heap overflow found by (Simon Kilvington)"
2005-12-10 23:34:41 +00:00
ben
cd86c568f9 Add mplayer-internal-faad option to use mplayer's internal faad library.
The default is to depend on an external faad library, so bump PKGREVISION.
2005-11-26 01:31:50 +00:00
minskim
5da1da8799 Call isspace(3) with unsigned char, instead of char, to handle
non-ASCII characters properly.  Based on patches provided by Kevin Kim

Bump PKGREVISION for mplayer and gmplayer.
2005-10-24 19:46:05 +00:00
minskim
57ee461c3a Include buildlink3 files of fontconfig and freetype2 so that configure
always detects them.

Bump PKGREVISION.
2005-10-20 03:47:37 +00:00
dogcow
cc5659358e Security fix for mplayer as given in
http://www.sven-tantau.de/public_files/mplayer/mplayer_20050824.txt .
bump PKGREVISION of affected pkgs.
2005-08-27 06:59:52 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
jmmv
cbe4100202 Convert the mplayer* and mencoder* packages to the options framework.
This means that the MPLAYER_ENABLE_RUNTIME_CPU_DETECTION,
MPLAYER_DISABLE_DRIVERS and MPLAYER_USE_MEDIALIB become deprecated
(although still recognized).

Visible changes in the resulting binary packages should be minimum by
default (everything that was enabled before still is, and the same
dependencies are kept).  A notable addition, though, is the support for
user-defined menus, closing PR pkg/29784.

Also note that (almost) all dependencies have now a corresponding option
to disable them in case you want to get a minimalist mplayer package.
'make show-options' is your friend ;)

With thanks to wiz@ and dillo@ for their comments and help.
2005-06-01 18:45:45 +00:00
drochner
74bd544634 update to 1.0pre7
some relevant changes:
-RTSP/MMST security patches now in main distribution
-documentation improvements
-x86_64 support fixes
-integrated Tremor decoder for Ogg/Vorbis
-expose support for 422P and 444P raw formats
-dropped support of old FAAD2 versions (<= 1.1)
-support for 32 bit float and extended WAV files
-support for multichannel WAV files
-ALAC (QuickTime lossless audio) support via lavc
-vqf demuxer
-support for Real multirate files
-more user-friendly info about audio and subtitle tracks in Ogg files
-streaming improvements
-ffmpeg updates
-MEncoder usability improvements
-many fixes and cleanups
2005-04-18 17:49:41 +00:00
drochner
2f23636dfa two security patches: Real RTSP heap overflow, MMST heap overflow
(both patches published on the mplayer website)
bump PKGREVISION of affected pkgs
2005-04-16 17:43:09 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
1f2ba12d0f PKGREVISION bump for glut dependency removal (SDL/buildlink3.mk). 2005-03-27 15:43:32 +00:00
tron
8dae087d36 Update "mplayer" packages to version 1.0pre5try2 (as 1.0rc5pl2).
Changes since version 1.0pre5:
- buffer overflow in mp3lib fixed
- heap overflow in Real rtsp streaming code fixed
- stack overflow in mmst streaming code fixed
- unnecessary bmp demuxer removed because of buffer overflows
- heap overflow in pnm streaming code fixed
This fixes the vulnerabilities reported by iDEFENSE recently.
2004-12-17 22:33:13 +00:00
wiz
2a65b48bea Fix faad2 test in configure script on -current;
based on PR 26412 by Tom Spindler.
Bump PKGREVISION on all affected packages.
2004-11-06 00:47:34 +00:00
wiz
69106eb2a0 Add dependency on libtheora; bump PKGREVISION. 2004-08-18 13:35:06 +00:00