diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-29 07:02:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-29 08:45:23 +0200 |
commit | d089c8ab350c044944bb61dcafea23699f66a1f8 (patch) | |
tree | c412dfb0a0025e146f3ee6182129991c1b8821dd /media-sound | |
parent | net-libs/libecap: remove old (diff) | |
download | gentoo-d089c8ab350c044944bb61dcafea23699f66a1f8.tar.gz gentoo-d089c8ab350c044944bb61dcafea23699f66a1f8.tar.bz2 gentoo-d089c8ab350c044944bb61dcafea23699f66a1f8.zip |
media-sound/wavpack: removed obsolete 5.3.2-r1
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/wavpack/Manifest | 1 | ||||
-rw-r--r-- | media-sound/wavpack/files/wavpack-5.3.2-fix-overflows.patch | 52 | ||||
-rw-r--r-- | media-sound/wavpack/wavpack-5.3.2-r1.ebuild | 49 |
3 files changed, 0 insertions, 102 deletions
diff --git a/media-sound/wavpack/Manifest b/media-sound/wavpack/Manifest index 1d072a234576..8b255329468b 100644 --- a/media-sound/wavpack/Manifest +++ b/media-sound/wavpack/Manifest @@ -1,2 +1 @@ -DIST wavpack-5.3.2.tar.gz 2047344 BLAKE2B 621414f580ef0c6f71ec411cafba5e9d3f971c9ed3fa901d92083b803fb337ad5455c8f488cc985d2203fde56572adcd2899e5a5d6e07365248ef6bfd59b591b SHA512 cff46e000c2edf0124e2f4c9577611d029f124c235bf7811a58dbd5d87a02827d25f7bd0e28d2f05fd413ee9997ba48390acfc2a91ebb53885eb2a0423994a7b DIST wavpack-5.4.0.tar.xz 769764 BLAKE2B d35eefccf3402388d88d370daae41dc0e4f21808474e668f92a9dcee978ae71b96ae167de098a0924fcbaaa75f9b07270280e7c3b16cc8699ffaa7d2eddd0de5 SHA512 de4e75539c9b949d22f39ab73721c8a4ee7c38ff08835aa28b1d56bea08c332bcb601a54998efe520f3653a2e29c73dcfd716ad19707bb2815403786d9ed9c11 diff --git a/media-sound/wavpack/files/wavpack-5.3.2-fix-overflows.patch b/media-sound/wavpack/files/wavpack-5.3.2-fix-overflows.patch deleted file mode 100644 index fbbd40ba8bd9..000000000000 --- a/media-sound/wavpack/files/wavpack-5.3.2-fix-overflows.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 89df160596132e3bd666322e1c20b2ebd4b92cd0 Mon Sep 17 00:00:00 2001 -From: David Bryant <david@wavpack.com> -Date: Tue, 29 Dec 2020 20:47:19 -0800 -Subject: [PATCH] issue #91: fix integer overflows resulting in buffer overruns - and sanitize a few more encoding parameters for clarity - ---- - src/pack_utils.c | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -diff --git a/src/pack_utils.c b/src/pack_utils.c -index 17d9381..480ab90 100644 ---- a/src/pack_utils.c -+++ b/src/pack_utils.c -@@ -200,8 +200,13 @@ int WavpackSetConfiguration64 (WavpackContext *wpc, WavpackConfig *config, int64 - return FALSE; - } - -- if (!num_chans) { -- strcpy (wpc->error_message, "channel count cannot be zero!"); -+ if (num_chans <= 0 || num_chans > NEW_MAX_STREAMS * 2) { -+ strcpy (wpc->error_message, "invalid channel count!"); -+ return FALSE; -+ } -+ -+ if (config->block_samples && (config->block_samples < 16 || config->block_samples > 131072)) { -+ strcpy (wpc->error_message, "invalid custom block samples!"); - return FALSE; - } - -@@ -523,7 +528,7 @@ int WavpackPackInit (WavpackContext *wpc) - if (wpc->config.num_channels == 1) - wpc->block_samples *= 2; - -- while (wpc->block_samples > 12000 && wpc->block_samples * wpc->config.num_channels > 300000) -+ while (wpc->block_samples > 12000 && (int64_t) wpc->block_samples * wpc->config.num_channels > 300000) - wpc->block_samples /= 2; - } - else { -@@ -534,10 +539,10 @@ int WavpackPackInit (WavpackContext *wpc) - - wpc->block_samples = wpc->config.sample_rate / divisor; - -- while (wpc->block_samples > 12000 && wpc->block_samples * wpc->config.num_channels > 75000) -+ while (wpc->block_samples > 12000 && (int64_t) wpc->block_samples * wpc->config.num_channels > 75000) - wpc->block_samples /= 2; - -- while (wpc->block_samples * wpc->config.num_channels < 20000) -+ while ((int64_t) wpc->block_samples * wpc->config.num_channels < 20000) - wpc->block_samples *= 2; - } - diff --git a/media-sound/wavpack/wavpack-5.3.2-r1.ebuild b/media-sound/wavpack/wavpack-5.3.2-r1.ebuild deleted file mode 100644 index c34faa9eee4a..000000000000 --- a/media-sound/wavpack/wavpack-5.3.2-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -# Need to fetch a commit because upstream didn't tag the minor release -COMMIT="e4e8d191e8dd74cbdbeaef3232c16a7ef517e68d" - -DESCRIPTION="Hybrid lossless audio compression tools" -HOMEPAGE="https://www.wavpack.com/" -SRC_URI="https://github.com/dbry/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/libiconv-0-r1" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/WavPack-${COMMIT}" - -PATCHES=( - "${FILESDIR}/${P}-fix-overflows.patch" -) - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - ECONF_SOURCE=${S} econf \ - --disable-static \ - $(use_enable test tests) \ - $(multilib_native_enable apps) -} - -multilib_src_test() { - cli/wvtest --default -} - -multilib_src_install_all() { - einstalldocs - find "${D}" -name '*.la' -delete || die -} |