diff options
Diffstat (limited to 'media-libs/gst-plugins-ugly')
7 files changed, 229 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest new file mode 100644 index 000000000000..dfbaf6f95497 --- /dev/null +++ b/media-libs/gst-plugins-ugly/Manifest @@ -0,0 +1,12 @@ +AUX 1.10.3-CVE-2017-5847.patch 1565 SHA256 80328babaf73108667d0d32eb5c6e44bcf6edfac5bb1857e21e904cf9af89e8f SHA512 6148b838fc2c0a26a088c385341b59fe41cae8a49babe7865b5daeeb7f1f0b8b828a90f298874c3f70e052232c9728c2190ec00080df40a864dddd7ba69b156a WHIRLPOOL 52c3dcff2d07b023f0952254e406b3dc84afee46a2bb6f1f8fd637f8ab1e8250ccf4ef90e377f95465a3ed9cca691964be51bd51a8884fa31fb0918963507e25 +DIST gst-plugins-ugly-0.10.19.tar.xz 882452 SHA256 4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda WHIRLPOOL f72f224c5f486982370e9d264ad7c658324783b42e995eef759faf270a18d8f12261d90ac6e70af38579921b0970f7aba50c6d091edcd6dc3dda272bcbef755f +DIST gst-plugins-ugly-1.10.3.tar.xz 907352 SHA256 c91597d03abff9df435ad4892eae44df1ee14159c7cc7317ac9d2766ff446bd2 SHA512 56272eda1af3017d9b53a3a049c5446e97dbea0e45567b4d1626c6a210dba90d216c01707e2d49130da00d483dcbace642bfb88ebaa1a822ecd5475394b5d116 WHIRLPOOL b4786f5b45f1430448c3755149202e9e4ee88d8dd5a7de3fff009d7fde14db054d9f8b60c44208ed757d19ce5a849ea93cb7b355d226e34703ae8b0d78f0d837 +DIST gst-plugins-ugly-1.10.5.tar.xz 908604 SHA256 d6edc046350809c967f5b058c5c2e534d99d1d69fe1b26acd849e87781a7d7fc SHA512 575fdd345d54af3a9c7f7b78955b958898ec4658f65da87022db39d04d8d1e941233c24d4eacea5bca28de0e9424579048ad2b25dd308f96a79e1515204e1a7a WHIRLPOOL b44163c21fda4444d55407849e9d03cdd9801aae79854d339ff072447f4140d54083fe4dba9e3f8fbcf9451270089e5bde3a3bb833c9f8f0c4f095386fa0e6fb +DIST gst-plugins-ugly-1.12.3.tar.xz 903784 SHA256 e88ca584c94ea78eeecbf3af00ef7f134b66bdee7408aa4aa6c547235e060052 SHA512 9ca5769c325df3d2d97ba83d785fab08da5119f6d26c4ac4db72853af143477ea8fb7087464a8614b6e59f384463ac01087ee76cec2af8acd80a4dc15e392e34 WHIRLPOOL e908fb96fc5694c10c16b7e5aeae4a6f7945aaa324074cacc3ec10b84b53ef738ee8c77d6f0983a02e7868275ba26ada14153d7046d85bfdb57f310e59793657 +EBUILD gst-plugins-ugly-0.10.19-r1.ebuild 1058 SHA256 92f6846cd10985045ad3f0c08f7ba217e0b1fe3e4b52ab6c1beec8ab5c903d6b SHA512 32c32c59686f099e1e5a9c2b75aad193fdcff900734d8dee31129a00cbdf84e219ae86c89bc6e35f4c5fb54532183cbe24683c463ce45e92c26041267e5ee1d1 WHIRLPOOL 98b3e57315e0e6a77188a57aec1cfae748a812e0e0dfde081a55e97b45bea95c279338208e25befa087046422047669cd8be8f7ce5cc218899fc7ff6735cb88b +EBUILD gst-plugins-ugly-1.10.3.ebuild 1016 SHA256 3c5a400ca948204365f92cd9dceefa4b28eb3fcba80fe4c36bf0443974a4ed9c SHA512 37d9b275967f830b1b0a6463ae1fafe0e88cd4a0e808db1901208e7b12a2fad11a5feb9b334e8c814b976ae8f37ba37a672f23d551605cfeff6e68c1bba5af7f WHIRLPOOL 85c2c5bde1281aadef40dbc97ad5847de14f7bc5263c293147d0d199daa887bcebab35ddf0f1238454ef819dea3c88fa75f261112d06ef7dd3b0e5adc08ed687 +EBUILD gst-plugins-ugly-1.10.5.ebuild 967 SHA256 ac857d8c3761aba1fb1c1f22d148bf4aa6f7204dafcc84495490736ff7b8bd04 SHA512 46a5debbb6a0cccc3a1fc4471276e52bc189589e4aa6f1f1285a79b28acc04dd017ebde0d362851a2a70909833fca7db5aea9e216f09ed30219194ed008445b7 WHIRLPOOL b4d03f892442a8acb76e47cc78fa270c63047a25f1b30f60aa6613ac37544d80128b660128c8ba863dfb5a86552ef93217c25598ee45ca5921f1358c43d4eb67 +EBUILD gst-plugins-ugly-1.12.3.ebuild 971 SHA256 c96fa66d4f6e2da082b8f530f383a3828d79c2d51727ceed9f34ccbca1be2e16 SHA512 c4f64dff06e2354ffed1082da50ec248b7af7df4a8b8afe83685148c0aa59cab31545b4ef5db9290336183f7964dd140fabdf0b7f7b4de89200dca428607e4c0 WHIRLPOOL c2fa59fb21d3892026612c41bd8bda4a9653eb5c57b9d9b52e2928675bfa5c62e3726a38a84499998fa066b9d4cda40eb2098b439f91746cbaa9d6e5211e5a07 +MISC ChangeLog 8370 SHA256 e509a71fd18a14d1a325b3a7e0909daf5c401add3d86b8a5736e329fd07cef31 SHA512 18b03f639e755782a8049fa53897aec4735a14aa19062db69ba3dcee9af90f6d9a13619e449d12e482e43a5cc19676793dff4b01dcb1cb571402f73fe3c5085e WHIRLPOOL 09c02be0bba93c8071a11151a5b10c82e41f1450ddba9346d60a499b433f5156824dd9a02dc020a4390da505aad7fe2120bef8826c09fc37da4598978ce2f5a3 +MISC ChangeLog-2015 23526 SHA256 e1198c3107dec2b64def328a538d8a1851a1fcb6193bd9067513cdc104190293 SHA512 51c3954b07348f94e55b444f1a00455fcdbda5d4527d2d9bdc116692723f9ea67d951cccc2ab8ac00952763d5d329a78c9b0b8397ea137adfde6757be2c38c22 WHIRLPOOL ca9d7b4e64268988b92d02ffa9f8dac9de83ae0af8b7ded393ba4df891db167524ec6f6dfa1028e9c85ed44246f60606d529fcd70f6cfb208f69f4a26643dcb5 +MISC metadata.xml 345 SHA256 2e60b79cba875d4cbeea89af1c361606ae18534b1b085f2e68db1e8acf1d50bd SHA512 c8c693633f2fdbf66f2308a2ee82880bf0cdd58b0c1e42a2d3b2733b3a7411769da60e8beb375def6473fe50303f1a68a0c7712e48abf88935b045f93103b206 WHIRLPOOL dc941a1aad455ad907e8d956f1ce02747708723b1a414d72c93c30ba818126a537cb87b099ec117aa23434afb311a78a24dcb7d0e382a7d54ed67bb7c79e0ac9 diff --git a/media-libs/gst-plugins-ugly/files/1.10.3-CVE-2017-5847.patch b/media-libs/gst-plugins-ugly/files/1.10.3-CVE-2017-5847.patch new file mode 100644 index 000000000000..078b8c087198 --- /dev/null +++ b/media-libs/gst-plugins-ugly/files/1.10.3-CVE-2017-5847.patch @@ -0,0 +1,46 @@ +From fe74dabd2c8dc2be54156729986ea38582e8c7ae Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> +Date: Tue, 31 Jan 2017 13:50:21 +0200 +Subject: [PATCH] asfdemux: Check that we have enough data available before + parsing bool/uint extended content descriptors + +https://bugzilla.gnome.org/show_bug.cgi?id=777955 +--- + gst/asfdemux/gstasfdemux.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c +index 255a427..b8d48ad 100644 +--- a/gst/asfdemux/gstasfdemux.c ++++ b/gst/asfdemux/gstasfdemux.c +@@ -3439,7 +3439,12 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data, + break; + } + case ASF_DEMUX_DATA_TYPE_DWORD:{ +- guint uint_val = GST_READ_UINT32_LE (value); ++ guint uint_val; ++ ++ if (value_len < 4) ++ break; ++ ++ uint_val = GST_READ_UINT32_LE (value); + + /* this is the track number */ + g_value_init (&tag_value, G_TYPE_UINT); +@@ -3453,7 +3458,12 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data, + } + /* Detect 3D */ + case ASF_DEMUX_DATA_TYPE_BOOL:{ +- gboolean bool_val = GST_READ_UINT32_LE (value); ++ gboolean bool_val; ++ ++ if (value_len < 4) ++ break; ++ ++ bool_val = GST_READ_UINT32_LE (value); + + if (strncmp ("Stereoscopic", name_utf8, strlen (name_utf8)) == 0) { + if (bool_val) { +-- +2.10.1 + diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-0.10.19-r1.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-0.10.19-r1.ebuild new file mode 100644 index 000000000000..2b5e4692d7d0 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-0.10.19-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +GST_ORG_MODULE="gst-plugins-ugly" +inherit eutils flag-o-matic gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="http://gstreamer.sourceforge.net" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-0.10.36:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-0.10.36:${SLOT}[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.3 +" +RDEPEND="${RDEPEND} + !<media-libs/gst-plugins-bad-0.10.13" + +src_configure() { + # gst doesnt handle optimisations well + strip-flags + replace-flags "-O3" "-O2" + filter-flags "-fprefetch-loop-arrays" # see bug 22249 + + multilib-minimal_src_configure +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.3.ebuild new file mode 100644 index 000000000000..b93310dc1641 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-ugly" + +inherit eutils gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +PATCHES=( "${FILESDIR}"/${PV}-CVE-2017-5847.patch ) + +multilib_src_configure() { + gstreamer_multilib_src_configure + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.5.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.5.ebuild new file mode 100644 index 000000000000..399b628e44dd --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.10.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-ugly" + +inherit eutils gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_configure() { + gstreamer_multilib_src_configure + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.12.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.12.3.ebuild new file mode 100644 index 000000000000..c0c2dc6aaeed --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.12.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-ugly" + +inherit eutils gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_configure() { + gstreamer_multilib_src_configure + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + prune_libtool_files --modules +} diff --git a/media-libs/gst-plugins-ugly/metadata.xml b/media-libs/gst-plugins-ugly/metadata.xml new file mode 100644 index 000000000000..0bc7e0a97350 --- /dev/null +++ b/media-libs/gst-plugins-ugly/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gstreamer@gentoo.org</email> + <name>GStreamer package maintainers</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">gstreamer</remote-id> + </upstream> +</pkgmetadata> |