Commit graph

278 commits

Author SHA1 Message Date
Thomas Zander
c28cf0a76f Fix runtime crashes on i386: enforce stack-alignment=16
PR:		205958
Submitted by:	dim (patch via ports mailing list)
Reported by:	otacilio.neto@bsd.com.br
MFH:		2016Q4 (ports-secteam fix blanket)
2016-10-09 12:19:32 +00:00
Jan Beich
ba3ffd9b12 graphics/opencv: add suffix to make room for 3.x series
To avoid confusion, the main port is to track the latest release.
Whether to rename includes/libraries as well making it possible to
install 2.x and 3.x side-by-side remains to be investigated.

PR:		210505 (for tracking)
Inspired by:	PkgSrc
2016-10-03 17:47:08 +00:00
Jan Beich
adb3fa4aa4 multimedia/libvpx: update 1.6.0
ABI is incompatible... or not? SONAME has changed but the removed vp10
symbols weren't actually exposed (and still aren't).

Note, FreeBSD 9.x now builds with Clang 3.4 because GCC 4.2 fails:

  vp9/encoder/x86/vp9_frame_scale_ssse3.c: In function 'eight_tap_row_ssse3':
  vp9/encoder/x86/vp9_frame_scale_ssse3.c:93: internal compiler error: in simplify_binary_operation_1, at simplify-rtx.c:2563
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.5.0..v1.6.0
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.5.0_to_1.6.0/compat_report.html
2016-09-30 01:15:10 +00:00
Jan Beich
9704b043e9 multimedia/ffmpeg: add KVAZAAR option (another HEVC implementation) 2016-09-28 02:13:50 +00:00
Jan Beich
850998762e bsd.options.desc.mk: add common OPENCL option description
Differential Revision:	https://reviews.freebsd.org/D7958
2016-09-23 13:14:43 +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
a89b377e38 Update to upstream version 2.8.8
Many minor bugfixes, and fix for an integer overflow in avformat/oggdec
(no CVE has been assigned for this bug (yet))

MFH:		2016Q3
2016-09-20 05:38:02 +00:00
Jan Beich
8ddbc0585e multimedia/openh264: back out r418381 (try#2)
As every consumer was broken except for net/pjsip which isn't actually
linking against openh264 there's no need to bump PORTREVISION.
2016-07-12 04:30:32 +00:00
Jan Beich
dd9e1d2c23 multimedia/openh264: update to 1.6.0
API/ABI has changed, so bump PORTREVISION in consumers. Some of those
are marked BROKEN that may need a fix similar to libav.

https://git.libav.org/?p=libav.git;a=commitdiff;h=d825b1a53065

Changes:	https://github.com/cisco/openh264/releases/tag/v1.6.0
2016-07-11 13:42:24 +00:00
Jan Beich
4aaa8b6e3c multimedia/openh264: oops, back out r418381
Every consumer was broken except for net/pjsip which isn't actually
building *against* openh264.
2016-07-11 13:41:49 +00:00
Jan Beich
f1071e550c multimedia/openh264: update to 1.6.0
API/ABI has changed, so bump PORTREVISION in consumers. Some of those
are marked BROKEN that may need a fix similar to libav.

https://git.libav.org/?p=libav.git;a=commitdiff;h=d825b1a53065

Changes:	https://github.com/cisco/openh264/releases/tag/v1.6.0
2016-07-11 13:20:30 +00:00
Thomas Zander
2e33bdce0d Fix runtime issue: libvdpau must be LIB_DEPENDS
PR:		209619
Submitted by:	walter@lifeforms.nl
MFH:		2016Q2
2016-05-18 19:51:00 +00:00
Thomas Zander
e8fee76153 Update to upstream release 2.8.7 2016-05-07 18:10:14 +00:00
Jan Beich
913ba2f43b multimedia/ffmpeg: enable VAAPI and VDPAU by default
Build VAAPI and VDPAU backends, so ports using system ffmpeg can take
advantage of GPU-assisted decoding. Also, propagate defaults to consumers.

Approved by:	cpm, multimedia (riggs), maintainer timeout (3 weeks)
Differential Revision:	https://reviews.freebsd.org/D5898
2016-05-03 01:02:26 +00:00
Thomas Zander
b210ad3fca Restore option to disable SSL support completely
PR:		208878
Submitted by:	jbeich
2016-04-23 11:38:21 +00:00
Thomas Zander
77c8da06b4 Add V4L to OPTIONS_DEFAULT
Rationale:
Popular video conferencing / chat tools require V4L to use webcams.
Adding V4L to OPTIONS_DEFAULT allows to ship official cluster packages
where web cam chat works out of the box.
2016-04-02 11:46:18 +00:00
Thomas Zander
9e41a37570 Limit PORTSCOUT to the 2.x series of ffmpeg.
Since many ports are not yet ready for 3.x., limit the portscout
distfile scanner not to report the 3.x releases.
2016-04-02 01:52:30 +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
Sunpoet Po-Chuan Hsieh
1fc33e5d96 - Update to 0.5.0
- Bump PORTREVISION for graphics/webp shlib change

Changes:	https://chromium.googlesource.com/webm/libwebp/+/master/NEWS
2016-04-01 11:17:54 +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
Jan Beich
bbb7a892a1 multimedia/ffmpeg: chase r405873 by clarifying license
From on WRKSRC/configure:

  license="LGPL version 2.1 or later"
  if enabled nonfree; then
      license="nonfree and unredistributable"
  elif enabled gplv3; then
      license="GPL version 3 or later"
  elif enabled lgplv3; then
      license="LGPL version 3 or later"
  elif enabled gpl; then
      license="GPL version 2 or later"
  fi
2016-03-22 13:39:59 +00:00
Thomas Zander
2edfb0bb17 Remove CONFIGURE_LOG
ffmpeg now uses config.log instead of previously config.err.
Setting CONFIGURE_LOG in port Makefile has become obsolete.
No change in resulting package, no PORTREVISION bump.

PR:		207136
Submitted by:	mi@ALDAN.algebra.com
Reviewed by:	riggs
MFH:		2016Q1
2016-02-13 12:31:58 +00:00
Thomas Zander
3116a1f57a - Update to upstream version 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 08:16:10 +00:00
Thomas Zander
9f83b0a62e Upgrade to upstream release 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. The new release fixes those in the process.

PR:		206282
Reported by:	sasamotikomi@gmail.com
MFH:		2016Q1
Security:	CVE-2016-1897
		CVE-2016-1898
2016-01-17 09:58:37 +00:00
Thomas Zander
d52b8cbe4e Update to upstream version 2.8.4
While on it:
- Rename option "LIBV4L" to "V4L" to match naming as in other ports [1]

PR:		205498 [1]
Submitted by:	yuri@rawbw.com [1]
2015-12-24 12:47:59 +00:00
Mathieu Arnold
7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00
Jan Beich
f870cd6d03 multimedia/x265: update to 1.8
ABI isn't compatible, so bump PORTREVISION in consumers.

PR:		204990
Submitted by:	Anton Sayetsky <vsasjason@gmail.com>
2015-12-05 09:15:41 +00:00
Thomas Zander
0bd5ba0e93 Update to upstream version 2.8.3 2015-11-28 09:08:38 +00:00
Thomas Zander
369f921d95 Add non-default OPTION to support NEON instructions on arm
Include new patch from jbeich:
- Add NEON OPTION on arm; no changes in default OPTIONs
- Port now assumes at least armv7-a if user selects NEON

PR:		204345
Submitted by:	gonzo@FreeBSD.org, jbeich@FreeBSD.org
2015-11-22 07:19:55 +00:00
Jan Beich
1ad587fb06 multimedia/libvpx: update 1.5.0
ABI isn't compatible, so bump PORTREVISION in consumers.

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/e67d45d..v1.5.0
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.4.0.488_1_to_1.5.0/compat_report.html
PR:		204478
Exp-run by:	antoine
Approved by:	ashish (maintainer)
2015-11-14 19:34:12 +00:00
Thomas Zander
c4b5148b30 Update to release 2.8.2 [1], add support for more external codecs [2]
PR:		204511
Submitted by:	jbeich [2]
Reviewed by:	riggs [1]
2015-11-14 15:35:11 +00:00
Thomas Zander
ba70851ecb Add non-default OPTION to support VFP on armv6
PR:		204345
Submitted by:	gonzo@FreeBSD.org
2015-11-08 20:09:02 +00:00
Thomas Zander
3a2bf93398 Update to upstream version 2.8.1 2015-10-22 17:14:16 +00:00
Thomas Zander
e7bf06f880 Simplify DOCS handling, install manpages section 3 for ffmpeg libraries
PR:		203579
Submitted by:	jbeich@FreeBSD.org
2015-10-12 19:24:22 +00:00
Thomas Zander
aa7e7673bf Use OPTION helpers for the remaining OPTIONs
PR:		203477
Submitted by:	jbeich@FreeBSD.org
2015-10-12 05:42:10 +00:00
Thomas Zander
38bfba8a0e Upgrade to upstream version 2.8
PR:		203140
Submitted by:	riggs@FreeBSD.org
2015-09-19 06:26:28 +00:00
Thomas Zander
d6b12505dc Add support for smb:// protocol as non-default OPTION
PR:		202898
Submitted by:	jbeich@FreeBSD.org
2015-09-06 15:34:56 +00:00
Thomas Zander
46cfeb8a99 Modernise license handling: Use proper OPTIONS for GPLv3 and non-free
PR:		202897
Submitted by:	jbeich@FreeBSD.org
2015-09-06 15:26:20 +00:00
Thomas Zander
d2faf0b9f2 Install more man pages; convert to newest OPTION helpers
- Install complete set of man pages (bug 202768)
- Convert to new OPTION helpers (bug 202727) as described in
  CHANGES from 20150828

PR:		202768, 202727
Submitted by:	amdmi3, jbeich
2015-08-30 20:49:02 +00:00
Thomas Zander
840d8badb4 Fix SIGBUS crashes on several popular ARM SoCs
PR:		200609
Submitted by:	rwestlun@gmail.com
MFH:		2015Q3
2015-08-16 16:00:16 +00:00
Thomas Zander
059cdd2eb3 Add non-default OPTION to support multimedia/openh264
PR:		202313
Submitted by:	jbeich@FreeBSD.org
2015-08-15 11:12:44 +00:00
Thomas Zander
fffcaea8c7 Update to upstream version 2.7.2
(bugfix release, no API/ABI change)
2015-07-25 05:24:02 +00:00
Thomas Zander
3ce7231cd4 Fix build break when compiling with gcc
PR:		200714
Submitted by:	rwestlun@gmail.com
2015-07-12 16:35:58 +00:00
Kubilay Kocak
9b08af5e1a multimedia/{lib}x264: Update to 0.144.2533 and major refactor
- Update to 0.144.2533 (from upstream stable branch) [1]
- Switch x264 and libx264 ports to master/slave ports respectively
- Bump PORTREVISION for dependent ports as the shared library version
  has changed.

multimedia/x264:

- Clean up and update "updating instructions" in Makefile header
- Tweak COMMENT
- Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the
  libx264 port.
- Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in
  libx264 port.
- Place common configure arguments in a CONFIGURE_COMMON_ARGS variable
  to make overriding values without duplication easier.
- Use --prefix configure argument over post-patch replacements
- Enable stripping of binaries and libraries if DEBUG is off. Remove
  post-install target STRIP_CMD accordingly.

- Delete patch-Makefile in favour of patching WRKSRC/configure to
  identify amd64, arm64 and mipsn32. powerpc and powerpc64 are now
  covered upstream without needing patches.

- Patch out a bogus compiler argument check (cc_check) that results
  in -Wno-maybe-uninitialized being added to CFLAGS causing causes
  warnings when clang is cc. The cc_check function checks for basename
  $CC to identify compiler type (icl, clang, gcc, etc).

multimedia/libx264:

- Remove all Makefile entries that are duplicated or common and found
  in the master port (x264).
- Set lib as the PKGNAMEPREFIX
- Tweak COMMENT
- Delete upstreamed ARM patches [1]
- Delete all but one patch, as they duplicate those in x264.
- Dont remove pkgconfig/libdata directory

Changes:

  https://git.videolan.org/?p=x264.git;a=shortlog;h=refs/heads/stable

Based on:

PR:		201260 [1]
Submitted by:	Andrey Cherkashin <andoriyu gmail com> [1]
2015-07-03 07:02:44 +00:00
Thomas Zander
a93a44040e - Update multimdedia/ffmpeg to latest upstrem version 2.7.1
- Mark ports BROKEN that were discovered not to work with
  this update; discovered by exp-run in bug 201181
- Note the need for manual upgrade of dependent ports in
  UPDATING
2015-07-02 19:40:15 +00:00
Adam Weinberger
696569355b Update multimedia/x265 to 1.7, and bump PORTREVISION on its consumers. 2015-06-29 00:28:58 +00:00
Thomas Zander
65b4c842f3 - Use memalign hack only on supported systems that need it
(FreeBSD on pre-10 systems)
- Bump PORTREVISION
2015-06-22 20:20:10 +00:00
John Marino
6728936de5 multimedia/ffmpeg: Convert memalign-hack into an option
DragonFly already has an aligned malloc (posix_memalign) and the hack
in ffmpeg is tripping an assertion.  M.Dillon thinks the hack is stale.
In the spirit of no-op changes for FreeBSD, this changeset converts
the "--enable-memalign-hack" into an on-by-default option, and then
excludes the option for DragonFly.

It does incur a revbump though.
The last changes were made to multimedia/ffmpeg(0|26)
I'm doing this under "non-invasive DragonFly support" flag

P.S. I wouldn't be surprised if --enable-memalign-hack is wrong for
recent FreeBSD releases as well, so maybe the maintainers should take
a look at this new option.
2015-06-17 11:39:56 +00:00
Jan Beich
f2fc9d6de4 multimedia/libvpx: update to 1.4.0
ABI isn't compatible, so bump PORTREVISION in consumers.

Changes:	https://chromium.googlesource.com/webm/libvpx/+/v1.4.0
Differential Revision:	https://reviews.freebsd.org/D2570
Exp-run by:	antoine
Approved by:	ashish, multimedia (kwm)
Approved by:	maintainer timeout (ale, dinoex; 2 weeks)
2015-06-09 14:25:41 +00:00
Johannes Jost Meixner
762ebb5244 multimedia/ffmpeg{,26}: make GNUTLS and OPENSSL mutually exclusive
- make GNUTLS and OPENSSL mutually exclusive

Differential Revision:	https://reviews.freebsd.org/D2533
Reviewed by:	riggs
2015-05-13 17:36:54 +00:00