Commit graph

103 commits

Author SHA1 Message Date
Jan Beich
006180fddc multimedia/mplayer: lift BROKEN after r429960 2017-01-23 15:52:00 +00:00
Thomas Zander
e3c8a23fb6 Unbundle libass from mplayer / mencoder
Log:
- Use libass from ports instead of bundled version (this likely
  addresses some vulnerabilities since bundled libass is from 2013)
- New default OPTION ASS
- Bump portrevision

Reported by:	jbeich
MFH:		2017Q1
2017-01-02 21:15:34 +00:00
Thomas Zander
90286075f1 Simplify handling of CFLAGS, retire OCFLAGS OPTION
Log:
- Remove OCFLAGS option. This is no longer a big topic since all
  computationally expensive code is handled via external ffmpeg
  libraries now
- Remove BUILD_DEPENDS on yasm. No yasm asm files are compiled
  during mplayer / mencoder build process anymore
- Bump PORTREVISION
2017-01-01 18:55:22 +00:00
Thomas Zander
362a63e294 Log:
- Update to upstream snapshot as of 2016-12-28
- Unbundle ffmpeg; uses multimedia/ffmpeg now
- Refactor shared Makefile target
- GNU_CONFIGURE -> HAS_CONFIGURE

Differential Revision:	https://reviews.freebsd.org/D8930
2016-12-30 07:28:12 +00:00
Thomas Zander
0101602007 Port rtsp fixes from multimedia/ffmpeg changeset r427233
MFH:		2016Q4
2016-12-03 18:51:10 +00:00
Mark Linimon
6d5d36d741 Mark as broken on various tier-2 archs.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2016-11-16 00:34:36 +00:00
Jan Beich
4d4012b533 multimedia/x264: update to 0.148.2708
Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=86b71982e131eaa70125f8d0e725fcade9c4c677
Differential Revision:	https://reviews.freebsd.org/D7958
Approved by:	koobs (maintainer)
2016-09-23 13:14:29 +00:00
Thomas Zander
ad1847f8ce Update to recent upstream snapshot as of 2016-09-12
While on it:
- Add missing USE_XORG=xext for X11 OPTION
- Import patch by bar@ to deal with certain other ports
  e.g. x11/slim
2016-09-15 11:59:43 +00:00
Thomas Zander
cce31a2e11 Add DVDNAV_DESC 2016-09-05 07:14:56 +00:00
Thomas Zander
d12bd00f0b Add DVDNAV to default options to allow the mencoder package to access DVDs 2016-09-03 16:03:35 +00:00
Thomas Zander
d1f77a3d63 Fix UTF-8 subtitle rendering: Make FONTCONFIG a default OPTION
Reported by:	glebius
2016-08-20 06:04:56 +00:00
Thomas Zander
71fadc0d4f Drop support for expired port multimedia/linux-realplayer
PR:		211675
Submitted by:	rene
Reviewed by:	riggs
2016-08-09 18:03:57 +00:00
Mathieu Arnold
f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00
Dmitry Marakasov
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00
Thomas Zander
68ec7939af Update to snapshots of mplayer and ffmpeg as of 2016-05-08 2016-05-08 18:05:42 +00:00
Thomas Zander
9a3ec65015 Update to snapshots as of 2016-04-09 including bundled ffmpeg 2016-04-09 18:48:45 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Thomas Zander
0e760209ba Enable speex audio codec as non-default OPTION
Proposed by:	Stefan Ehmann <shoesoft@gmx.net>
2016-03-20 20:40:34 +00:00
Thomas Zander
46afd447a6 Update to upstream version 1.3.0 from 2016-02-16
- Use released version instead of svn snapshot for this distfile
- Update MASTER_SITES to fetch from mplayer.hq instead of LOCAL for
  this distfile
- Use bundled ffmpeg-3.0
2016-02-27 17:48:11 +00:00
Thomas Zander
2f6ab7bfa9 - Build with ffmpeg-2.8.6
- Fix CVE-2016-2213: out-of-bounds array read access in JPEG2000 decoder

MFH:		2016Q1
Security:	CVE-2016-2213
2016-02-06 10:43:29 +00:00
Thomas Zander
a61a04cd14 Build with ffmpeg-2.8.5; fix zero-day remote vulnerability
Both mentioned CVE IDs refer to vulnerabilities where a remote attacker
can read arbitrary files by using the subfile protocol in an HTTP Live
Streaming (HLS) M3U8 file. Building with 2.8.5 fixes those.

MFH:		2016Q1
Security:	CVE-2016-1897
		CVE-2016-1898
2016-01-17 10:21:21 +00:00
Thomas Zander
ba751ac7b2 Use ffmpeg 2.8.4 for mplayer / mencoder 2015-12-24 12:49:23 +00:00
Thomas Zander
e6497e21cf Update to mplayer snapshot as of 20151219 2015-12-19 20:22:02 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +00:00
Thomas Zander
3b392083a8 Build with ffmpeg 2.8.3, bump PORTREVISION 2015-11-28 09:09:10 +00:00
Thomas Zander
273dbb13c0 Build mplayer/mencoder with latest ffmpeg release 2.8.2
- Let mplayer/mencoder use the most recent multimedia/ffmpeg distfile
- Bump PORTREVISION
2015-11-14 15:37:26 +00:00
Thomas Zander
23751bf83e Use ffmpeg 2.8.1 for en/decoding, convert more OPTIONs to helpers 2015-10-23 21:48:13 +00:00
Thomas Zander
2ee299f5a2 Use ffmpeg-2.8 with mplayer / mencoder 2015-09-19 12:07:12 +00:00
Thomas Zander
1355268bfa Correct arch dependent OPTIONS for powerpc
Discovered by:	jbeich
2015-09-01 20:08:53 +00:00
Thomas Zander
d5c038ec8c Enable VDPAU by default for mplayer on i386/amd64; general port cleanup
amd64/i386:
- Enable VDPAU by default for the large NVIDIA user base,
  proposed by ehaupt
- BUILD_DEPEND on yasm only on amd64/i386

General cleanups:
- Remove REINPLACE_CMD on CONFIGURE_SCRIPT conditional for post-8.x
  machines, is now part of patch-configure
- Offer RTCPU OPTION only on archs that support it (amd64, i386, ppc)
- Update RTCPU_DESC accordingly
- Use OPTION helper for RTCPU instead of complicated conditionals
- Remove superfluous check for ARCH when setting CFLAGS for armv6
2015-08-31 21:26:40 +00:00
Thomas Zander
6ea8dbba59 - Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg
  (currently on version 2.7.2)
- Fix edge case assertion in av_free on 9.x/i386 upon stream close
  with mencoder (no change in behaviour)
- Include LICENSE_FILE
- Pet portlint
2015-08-23 16:41:23 +00:00
Thomas Zander
95f10edd34 - Retire WIN32 OPTION for win32 binary codecs support on i386, instead
- always compile in the loader code for win32 dlls on i386:
  i386 users can install multimedia/win32-codecs and just use them
  with mplayer/mencoder without compile-time knobs
- Bump PORTREVISION

Reported by:	Slawa Olhovchenkov <slw@zxy.spb.ru> via personal mail
2015-08-01 17:16:39 +00:00
Thomas Zander
30a5a15085 Fix runtime crash with certain MPEG2 files on pre-10 systems.
PR:		199283
MFH:		2015Q2
2015-04-12 14:37:50 +00:00
Thomas Zander
14912f59d4 - Update to new upstream snapshot as of 2015-04-03
(included ffmpeg snapshot as of 2015-04-03)
- Fix vulnerabilities CVE-2014-8544 and CVE-2014-9604
  with bundled ffmpeg snapshot in the process

MFH:		2015Q2
2015-04-04 07:07:20 +00:00
Thomas Zander
5db77513a2 Fix cdio support
While on it:
Remove CDPARANOIA option
- broken with cdparanoia port anyway
- move CDIO from radio button group to standard (default off) OPTION
- remove radio button group CDPARANOIA/CDIO

Reported by:	Kris Moore (kris@pcbsd.org) via mail
MFH:		2015Q1
2015-01-24 18:32:07 +00:00
Thomas Zander
dd5d1730cd Modernise compiler handling
- Retire OTCHAIN OPTION
- Retire support for gcc 4.2 from base
- Depend on c11 compliant compiler via USES=compiler:c11
- Respect CC,CXX,CPP from environment (fixes bug 196811)
- Bump PORTREVISION (default package on 8.x changes)
2015-01-18 17:00:48 +00:00
Antoine Brodin
c6faa705a5 Update graphics/giflib to 5.0.5
Differential Revision:	https://reviews.freebsd.org/D1361
Submitted by:	bapt
Reviewed by:	self
Exp-run by:	self
2015-01-14 18:19:32 +00:00
Thomas Zander
b05605bc33 - Upstream versions of mplayer and ffmpeg as of 2014-12-23
- Remove the following OPTIONS:
  - MEMALIGN (now used by default where supported)
  - PROFILE (shaky, unreliable, rarely used, nigh unsupportable)
  - DIRAC (codec support only via libschroedinger)
- Default-depends on external libdvdnav
  (mplayer no longer bundles internal dvd support libraries)
- Simplify CFLAGS handling
- Use -mstack-alignment=16 -mstackrealign on clang / i386
2014-12-29 08:39:33 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Thomas Zander
4d537e472d Enable network streaming via https and other encrypted connections
- Introduce GNUTLS OPTION and make it default
- Add extra patch for gnutls support from mplayer svn head

While on it
- Fix cflags/ldflags in mencoder: USES pkgconfig
2014-11-20 21:42:42 +00:00
Thomas Zander
fa8b448107 Correct iconv handling
Bump PORTREVISION

While on it:
- Remove @dirrm(try) from pkg-plists

PR:		195065
Submitted by:	yuri@rawbw.com
Reviewed by:	riggs
2014-11-16 17:20:32 +00:00
John Marino
e37d39a111 Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 09:34:03 +00:00
Thomas Zander
0030c323d5 - Add experimental OPTION to avoid memory alignment hacks 2014-09-13 12:46:27 +00:00
Tijl Coosemans
5850f0e383 converters/fribidi:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
2014-08-31 11:54:16 +00:00
Thomas Zander
bb6d0ade27 - Update to new upstream snapshot 2014-08-24
- GUI OPTION is no longer default
- Workaround an issue in CURRENT which prevented building
  a binary that supports profiling
- Retire no longer needed CONFIGURE_ARGS and patch for CVE-2014-4610
2014-08-29 09:55:41 +00:00
Tijl Coosemans
14e2af0516 audio/rhythmbox: drop :keepla
multimedia/banshee: add USES=libtool and INSTALL_TARGET=install-strip
multimedia/libmtp: add USES=libtool and INSTALL_TARGET=install-strip
multimedia/libaacs:
- USES=libtool pathfix
- Add INSTALL_TARGET=install-strip
- Avoid USE_AUTOTOOLS
- Remove plist target, superseded by makeplist
multimedia/libbluray:
- USES=libtool pathfix
- Add INSTALL_TARGET=install-strip
- Avoid USE_AUTOTOOLS
- Remove plist target, superseded by makeplist
- Use OPTIONS_SUB
- Replace patch with post-patch command

Bump dependent ports
2014-07-18 11:02:58 +00:00
Tijl Coosemans
b2c93db5af Add a global OPUS_DESC 2014-07-11 14:12:30 +00:00
Thomas Zander
91aeee04b4 - Fix integer overflow in mencoder (bundled ffmpeg CVE-2014-4610)
- Fix integer overflow in mplayer (bundled ffmpeg CVE-2014-4610)
- Bump PORTREVISION in both ports

Approved by:	mentors (implicit)
MFH:	2014Q2
Security:	17dfd984-feba-11e3-b938-5404a68ad561
		9ab3a22c-feb8-11e3-b938-5404a68ad561
2014-06-28 12:13:03 +00:00