From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6341413835A for ; Sat, 23 Jan 2021 21:13:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D778AE09B0; Sat, 23 Jan 2021 21:13:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE0CFE09B0 for ; Sat, 23 Jan 2021 21:13:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D355D340F0A for ; Sat, 23 Jan 2021 21:13:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3788F4B0 for ; Sat, 23 Jan 2021 21:13:30 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1611436316.1e9a6c2c0f49cf5ba42be787eb12a7d725c49915.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmp3splt/, media-libs/libmp3splt/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmp3splt/files/CVE-2017-15185.patch media-libs/libmp3splt/files/libmp3splt-0.7-libltdl.patch media-libs/libmp3splt/libmp3splt-0.9.2-r2.ebuild X-VCS-Directories: media-libs/libmp3splt/files/ media-libs/libmp3splt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1e9a6c2c0f49cf5ba42be787eb12a7d725c49915 X-VCS-Branch: master Date: Sat, 23 Jan 2021 21:13:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ec5bf65a-7edb-427a-a781-82e6a99d38d7 X-Archives-Hash: c35f202af3b610e01cc4fc5b43807723 commit: 1e9a6c2c0f49cf5ba42be787eb12a7d725c49915 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jan 23 19:25:16 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jan 23 21:11:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9a6c2c media-libs/libmp3splt: Add missing DEPEND, EAPI-7 bump Bug: https://bugs.gentoo.org/672784 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libmp3splt/files/CVE-2017-15185.patch | 6 +- .../libmp3splt/files/libmp3splt-0.7-libltdl.patch | 4 +- media-libs/libmp3splt/libmp3splt-0.9.2-r2.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 69 insertions(+), 5 deletions(-) diff --git a/media-libs/libmp3splt/files/CVE-2017-15185.patch b/media-libs/libmp3splt/files/CVE-2017-15185.patch index b31a92d0c45..82090f43006 100644 --- a/media-libs/libmp3splt/files/CVE-2017-15185.patch +++ b/media-libs/libmp3splt/files/CVE-2017-15185.patch @@ -1,7 +1,7 @@ -diff --git a/libmp3splt/plugins/ogg.c b/libmp3splt/plugins/ogg.c +diff --git a/plugins/ogg.c b/plugins/ogg.c index 50cc495..57745f1 100644 ---- a/libmp3splt/plugins/ogg.c -+++ b/libmp3splt/plugins/ogg.c +--- a/plugins/ogg.c ++++ b/plugins/ogg.c @@ -212,26 +212,36 @@ static splt_ogg_state *splt_ogg_v_new(int *error) goto error; } diff --git a/media-libs/libmp3splt/files/libmp3splt-0.7-libltdl.patch b/media-libs/libmp3splt/files/libmp3splt-0.7-libltdl.patch index 95650f87a07..0755fe79af9 100644 --- a/media-libs/libmp3splt/files/libmp3splt-0.7-libltdl.patch +++ b/media-libs/libmp3splt/files/libmp3splt-0.7-libltdl.patch @@ -1,5 +1,5 @@ ---- configure.ac 2011-08-07 00:14:06.723806363 +0200 -+++ configure.ac 2011-08-07 00:14:02.405860340 +0200 +--- a/configure.ac 2011-08-07 00:14:06.723806363 +0200 ++++ b/configure.ac 2011-08-07 00:14:02.405860340 +0200 @@ -68,16 +68,13 @@ # Enable libtool, check for libltdl and define @LIBLTDL@ and @INCLTDL@ ################################################################# diff --git a/media-libs/libmp3splt/libmp3splt-0.9.2-r2.ebuild b/media-libs/libmp3splt/libmp3splt-0.9.2-r2.ebuild new file mode 100644 index 00000000000..32c19c64fdb --- /dev/null +++ b/media-libs/libmp3splt/libmp3splt-0.9.2-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library for mp3splt to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net/mp3splt_page/home.php" +SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc flac pcre" + +RDEPEND=" + dev-libs/libltdl + media-libs/libmad + media-libs/libid3tag + media-libs/libogg + media-libs/libvorbis + flac? ( media-libs/flac ) + pcre? ( dev-libs/libpcre ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/findutils + doc? ( + >=app-doc/doxygen-1.8.3.1 + media-gfx/graphviz + ) +" + +DOCS=( AUTHORS ChangeLog LIMITS NEWS README TODO ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.7-libltdl.patch + "${FILESDIR}"/CVE-2017-15185.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-cutter # TODO package cutter + --disable-optimise + --disable-static + $(use_enable doc doxygen_doc) + $(use_enable flac) + $(use_enable pcre) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + use doc && docompress -x /usr/share/doc/${PF}/doxygen/${PN}_ico.svg + + find "${ED}" -type f -name '*.la' -delete || die +}