media-libs/gst-plugins-bad: remove gstreamer 0.10
authorMart Raudsepp <leio@gentoo.org>
Thu, 20 Jun 2019 21:21:32 +0000 (00:21 +0300)
committerMart Raudsepp <leio@gentoo.org>
Thu, 20 Jun 2019 21:28:29 +0000 (00:28 +0300)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
media-libs/gst-plugins-bad/Manifest
media-libs/gst-plugins-bad/files/gst-plugins-bad-0.10.23-CVE-2015-0797.patch [deleted file]
media-libs/gst-plugins-bad/gst-plugins-bad-0.10.23-r4.ebuild [deleted file]

index 1b854ff5250a0da687a2f1dcf3cc19dc37dcb5f2..9fd3b6a7d640d2c38e67fd4b57cf239a4395fd81 100644 (file)
@@ -1,3 +1 @@
-DIST gst-plugins-bad-0.10.23-h264-patches.tar.xz 5284 BLAKE2B 90ad2a742de6d6b3efedb1a2fc16a9f24cf0566fd455a27f113afa0fc2ceff5f2517a31e8db8ed6ed8b4c92595b333a29dbb451077975f3d726808976f4a8671 SHA512 528ed30edb544dd970047fd4b0f05bf75f9f49f07a8118f805430c56c3ec75643013799491aeba70c62cb0343cd3e72758bf5c167d00e90a6a3f13857e4860e1
-DIST gst-plugins-bad-0.10.23.tar.xz 3155044 BLAKE2B 86ed955fb5c73f2145b8f8ed2daaeffd9975362e81c3ca911be00d18f6b6d975381651071eb54514ef94a931f1fc89e673dc8c1d68e10de132bbe51accb6d165 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4
 DIST gst-plugins-bad-1.14.3.tar.xz 4678316 BLAKE2B b37d90e04a6bdb01e4f512df67e00790979e4b71fa6730092b4c16dbaf005cf94e09a454ed6e962faa3aaef02c2b811ad1899c3c8153b4ab3bf6d9b5f62998cf SHA512 3e92b33b43181d76bf206496c2fe0f84042c486f854f4fdba7efedc3489874944cef00eb2fd9fd7056d749be17c2b237caffc32800d7063615b30bac7226fbb7
diff --git a/media-libs/gst-plugins-bad/files/gst-plugins-bad-0.10.23-CVE-2015-0797.patch b/media-libs/gst-plugins-bad/files/gst-plugins-bad-0.10.23-CVE-2015-0797.patch
deleted file mode 100644 (file)
index b1e323b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From: Ralph Giles <giles@mozilla.com>
-Subject: Fix buffer overflow in mp4 parsing
-
---- gst-plugins-bad0.10-0.10.23.orig/gst/videoparsers/gsth264parse.c
-+++ gst-plugins-bad0.10-0.10.23/gst/videoparsers/gsth264parse.c
-@@ -384,6 +384,11 @@ gst_h264_parse_wrap_nal (GstH264Parse *
-   GST_DEBUG_OBJECT (h264parse, "nal length %d", size);
-+  if (size > G_MAXUINT32 - nl) {
-+    GST_ELEMENT_ERROR (h264parse, STREAM, FAILED, (NULL),
-+        ("overflow in nal size"));
-+    return NULL;
-+  }
-   buf = gst_buffer_new_and_alloc (size + nl + 4);
-   if (format == GST_H264_PARSE_FORMAT_AVC) {
-     GST_WRITE_UINT32_BE (GST_BUFFER_DATA (buf), size << (32 - 8 * nl));
-@@ -452,6 +457,11 @@ gst_h264_parse_process_nal (GstH264Parse
-     GST_DEBUG_OBJECT (h264parse, "not processing nal size %u", nalu->size);
-     return;
-   }
-+  if (G_UNLIKELY (nalu->size > 20 * 1024 * 1024)) {
-+    GST_DEBUG_OBJECT (h264parse, "not processing nal size %u (too big)",
-+        nalu->size);
-+    return;
-+  }
-   /* we have a peek as well */
-   nal_type = nalu->type;
-
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.23-r4.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.23-r4.ebuild
deleted file mode 100644 (file)
index aeb407b..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-GST_ORG_MODULE="gst-plugins-bad"
-inherit eutils flag-o-matic gstreamer
-
-DESCRIPTION="Less plugins for GStreamer"
-HOMEPAGE="https://gstreamer.freedesktop.org/"
-SRC_URI+=" https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-h264-patches.tar.xz"
-
-LICENSE="LGPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="+orc"
-
-RDEPEND="
-       >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
-       >=media-libs/gst-plugins-base-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
-       >=media-libs/gstreamer-0.10.36:${SLOT}[${MULTILIB_USEDEP}]
-       orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-RDEPEND="${RDEPEND}
-       !<media-plugins/gst-plugins-farsight-0.12.11:${SLOT}"
-
-src_prepare() {
-       # Patches from 0.10 branch fixing h264 baseline decoding; bug #446384
-       epatch "${WORKDIR}/${P}-h264-patches"/*.patch
-       # Fix CVE-2015-0797, bug #553742
-       epatch "${FILESDIR}"/${P}-CVE-2015-0797.patch
-}
-
-src_configure() {
-       strip-flags
-       replace-flags "-O3" "-O2"
-       filter-flags "-fprefetch-loop-arrays" # (Bug #22249)
-
-       multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
-       # Disable vnmc and nsf plugins due to security bug 600142
-       gstreamer_multilib_src_configure \
-               --disable-nsf \
-               --disable-vmnc \
-               $(use_enable orc) \
-               --disable-examples \
-               --disable-debug \
-               --disable-static
-}
-
-multilib_src_install_all() {
-       DOCS="AUTHORS ChangeLog NEWS README RELEASE"
-       einstalldocs
-       prune_libtool_files --modules
-}