summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-02 14:42:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-02 14:42:48 +0200
commitb3b39d03ad6c4e35d6c4d7a02397804d564b08a8 (patch)
tree21705ca881e635c1886cfd5fe9810ebc4df8b92b
parentmedia-libs/faac: https (diff)
downloadgentoo-b3b39d03ad6c4e35d6c4d7a02397804d564b08a8.tar.gz
gentoo-b3b39d03ad6c4e35d6c4d7a02397804d564b08a8.tar.bz2
gentoo-b3b39d03ad6c4e35d6c4d7a02397804d564b08a8.zip
media-libs/faad2: Security cleanup
Bug: https://bugs.gentoo.org/634798 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.10
-rw-r--r--media-libs/faad2/Manifest2
-rw-r--r--media-libs/faad2/faad2-2.7-r3.ebuild48
-rw-r--r--media-libs/faad2/faad2-2.8.6.ebuild52
-rw-r--r--media-libs/faad2/files/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch13
-rw-r--r--media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch29
-rw-r--r--media-libs/faad2/files/faad2-2.7-man1_MANS.patch10
6 files changed, 0 insertions, 154 deletions
diff --git a/media-libs/faad2/Manifest b/media-libs/faad2/Manifest
index bbc5b50a00d..7f9837c8098 100644
--- a/media-libs/faad2/Manifest
+++ b/media-libs/faad2/Manifest
@@ -1,3 +1 @@
-DIST faad2-2.7.tar.gz 1137407 BLAKE2B 15f82689e671d8cc4ff21bf6f048aadb407abdaeff9ce59982e17b3b97e56c9e848664624e751fd8f4cc7876ab1a8e4c373e7b4a20d9970f5c085d8a0a9006e2 SHA512 8135370497dfcfee09094a03a4a9545ebc58b9e532b89c5d6e5037042549e12ddb75f8903aa05866afac9fa28df96320f1ed2eebffc0660578e54392a51c1161
-DIST faad2-2.8.6.tar.gz 1025654 BLAKE2B 16d5e08ea8f0ecfff8d1f5eb17f219d481afd9bc774c42b1cf4bc604f1d57eeb9bfedc0d5654e52d887a4bdf3ba8e6a215e51343a34f781613e588502532bbe2 SHA512 9b6d7e0277ae6c93a8a799f75e7fa9b9cde6419d61533a4c5ab4335382d0cb01aa0aa2fe0fe727bb94d66fafcfeb1b6871141ab5d8dff49600775ffde5b239b8
DIST faad2-2.8.8.tar.gz 1069044 BLAKE2B 3e22e695d89cce0ecb673caec73dd3115b2249d18daf6d0c8cf2b5cc90086889c9da733e037bc8b58c0bdc145c66bd4218b9b5e237adb7ad1c6f0caf0d97d304 SHA512 3275d292b2a9fe984842962f4d81202894bddd17033f7cd6df95466554cc968dfcbf2890ae8b1df37da0cd25d645cca0a687f07e39b9fc37dd004fd5956a82af
diff --git a/media-libs/faad2/faad2-2.7-r3.ebuild b/media-libs/faad2/faad2-2.7-r3.ebuild
deleted file mode 100644
index d9b34c0d9f3..00000000000
--- a/media-libs/faad2/faad2-2.7-r3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils multilib-minimal
-
-DESCRIPTION="AAC audio decoding library"
-HOMEPAGE="http://www.audiocoding.com/faad2.html"
-SRC_URI="mirror://sourceforge/faac/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="digitalradio static-libs"
-DOCS=( AUTHORS ChangeLog NEWS README README.linux TODO )
-RDEPEND=""
-DEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-libmp4ff-shared-lib.patch \
- "${FILESDIR}"/${P}-libmp4ff-install-mp4ff_int_types_h.patch \
- "${FILESDIR}"/${P}-man1_MANS.patch
-
- sed -i -e 's:iquote :I:' libfaad/Makefile.am || die
-
- # bug 466986
- sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- $(use_enable static-libs static) \
- --disable-dependency-tracking \
- $(use_with digitalradio drm) \
- --without-xmms
-
- # do not build the frontend for non default abis
- if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then
- sed -i -e 's/frontend//' Makefile || die
- fi
-}
-
-multilib_src_install_all() {
- prune_libtool_files --all
- einstalldocs
-}
diff --git a/media-libs/faad2/faad2-2.8.6.ebuild b/media-libs/faad2/faad2-2.8.6.ebuild
deleted file mode 100644
index 3429665fa71..00000000000
--- a/media-libs/faad2/faad2-2.8.6.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools ltprune multilib-minimal
-
-DESCRIPTION="AAC audio decoding library"
-HOMEPAGE="http://www.audiocoding.com/faad2.html"
-SRC_URI="mirror://sourceforge/faac/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="digitalradio static-libs"
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-RDEPEND=""
-DEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.8.5-libmp4ff-shared-lib.patch
-)
-
-src_prepare() {
- default
-
- sed -i -e 's:iquote :I:' libfaad/Makefile.am || die
-
- # bug 466986
- sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- --without-xmms
- $(use_with digitalradio drm)
- $(use_enable static-libs static)
- )
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-
- # do not build the frontend for non default abis
- if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then
- sed -i -e 's/frontend//' Makefile || die
- fi
-}
-
-multilib_src_install_all() {
- prune_libtool_files --all
- einstalldocs
-}
diff --git a/media-libs/faad2/files/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch b/media-libs/faad2/files/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
deleted file mode 100644
index 5d39cad95d7..00000000000
--- a/media-libs/faad2/files/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Install mp4ff_int_types.h for mythmusic.
-
-http://bugs.gentoo.org/275008
-
---- common/mp4ff/Makefile.am
-+++ common/mp4ff/Makefile.am
-@@ -1,5 +1,5 @@
- lib_LTLIBRARIES = libmp4ff.la
--include_HEADERS = mp4ff.h mp4ffint.h
-+include_HEADERS = mp4ff.h mp4ffint.h mp4ff_int_types.h
-
- AM_CFLAGS = -DUSE_TAGGING=1
-
diff --git a/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch b/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch
deleted file mode 100644
index 56a13119296..00000000000
--- a/media-libs/faad2/files/faad2-2.7-libmp4ff-shared-lib.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Ripped from Debian
-
-Patch to create a shared lib for libmp4ff.
-
---- a/common/mp4ff/Makefile.am
-+++ b/common/mp4ff/Makefile.am
-@@ -1,7 +1,8 @@
--lib_LIBRARIES = libmp4ff.a
-+lib_LTLIBRARIES = libmp4ff.la
- include_HEADERS = mp4ff.h mp4ffint.h
-
--libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
-+AM_CFLAGS = -DUSE_TAGGING=1
-
--libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
-+libmp4ff_la_LDFLAGS = -version-info 0:0:0
-+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
- mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
---- a/frontend/Makefile.am
-+++ b/frontend/Makefile.am
-@@ -5,7 +5,7 @@
- -I$(top_srcdir)/common/mp4ff
-
- faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
-- $(top_builddir)/common/mp4ff/libmp4ff.a
-+ $(top_builddir)/common/mp4ff/libmp4ff.la
-
- faad_SOURCES = main.c \
- audio.c audio.h \
diff --git a/media-libs/faad2/files/faad2-2.7-man1_MANS.patch b/media-libs/faad2/files/faad2-2.7-man1_MANS.patch
deleted file mode 100644
index 9c1ddb01bc3..00000000000
--- a/media-libs/faad2/files/faad2-2.7-man1_MANS.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -ur faad2-2.7.orig/frontend/Makefile.am faad2-2.7/frontend/Makefile.am
---- faad2-2.7.orig/frontend/Makefile.am 2009-02-06 18:03:37.000000000 +0200
-+++ faad2-2.7/frontend/Makefile.am 2009-07-20 20:27:29.000000000 +0300
-@@ -1,5 +1,5 @@
- bin_PROGRAMS = faad
--man_MANS = faad.man
-+man1_MANS = faad.man
-
- INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
- -I$(top_srcdir)/common/mp4ff