From d765f98656d02c2ece505399e4c1aa0f0108675e Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 11 Jul 2022 06:30:43 +0000 Subject: [PATCH] wavpack: updated to 5.5.0 5.5.0: fixed: CVE-2021-44269 (encoding crafted DSD file triggers OOB read crash) fixed: very long filenames cause stack-overflow crash in all CLI programs fixed: the length stored in WAV headers not always corrected when using -i fixed: attempting to encode raw DSD audio from stdin sometimes causes crash fixed: DSD to PCM decimation: small clicks between tracks and tiny DC offset fixed: length update in library-generated WAV headers on big-endian machines fixed: sanitize custom extensions read from WavPack files to be alphanumeric added: accepting brace-delimited options in the wavpack executable filename added: "--drop" option to Windows executables for multi-file "drag-and-drop" added" "--raw-pcm" option to wvunpack executable (does DSD --> 24-bit PCM) added: "--no-overwrite" option to wavpack executable (to resume sessions) improved: build system clean-up including switch to non-recursive "make" --- audio/wavpack/Makefile | 4 ++-- audio/wavpack/PLIST | 8 ++++++- audio/wavpack/distinfo | 9 ++++---- audio/wavpack/patches/patch-configure | 33 --------------------------- 4 files changed, 13 insertions(+), 41 deletions(-) delete mode 100644 audio/wavpack/patches/patch-configure diff --git a/audio/wavpack/Makefile b/audio/wavpack/Makefile index 72bf3044aade..3bacc992796d 100644 --- a/audio/wavpack/Makefile +++ b/audio/wavpack/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2021/01/19 10:17:43 adam Exp $ +# $NetBSD: Makefile,v 1.13 2022/07/11 06:30:43 adam Exp $ -DISTNAME= wavpack-5.4.0 +DISTNAME= wavpack-5.5.0 CATEGORIES= audio MASTER_SITES= http://www.wavpack.com/ EXTRACT_SUFX= .tar.xz diff --git a/audio/wavpack/PLIST b/audio/wavpack/PLIST index ef5bf9ed3326..3136c2c1a7d5 100644 --- a/audio/wavpack/PLIST +++ b/audio/wavpack/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2017/01/23 21:53:22 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2022/07/11 06:30:43 adam Exp $ bin/wavpack bin/wvgain bin/wvtag @@ -10,3 +10,9 @@ man/man1/wavpack.1 man/man1/wvgain.1 man/man1/wvtag.1 man/man1/wvunpack.1 +share/doc/wavpack/README.md +share/doc/wavpack/WavPack5FileFormat.pdf +share/doc/wavpack/WavPack5LibraryDoc.pdf +share/doc/wavpack/WavPack5PortingGuide.pdf +share/doc/wavpack/style.css +share/doc/wavpack/wavpack_doc.html diff --git a/audio/wavpack/distinfo b/audio/wavpack/distinfo index 58cdf9f3cf96..10e129e27c56 100644 --- a/audio/wavpack/distinfo +++ b/audio/wavpack/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.14 2021/10/26 09:59:35 nia Exp $ +$NetBSD: distinfo,v 1.15 2022/07/11 06:30:43 adam Exp $ -BLAKE2s (wavpack-5.4.0.tar.xz) = 993f7431ffd9a080974400db15b26bf9a2e8dedf8895ddb5ca3fc3bb3d2dfb9d -SHA512 (wavpack-5.4.0.tar.xz) = de4e75539c9b949d22f39ab73721c8a4ee7c38ff08835aa28b1d56bea08c332bcb601a54998efe520f3653a2e29c73dcfd716ad19707bb2815403786d9ed9c11 -Size (wavpack-5.4.0.tar.xz) = 769764 bytes -SHA1 (patch-configure) = 10539a259d8b4442281cb41d0fa596fb84b8821a +BLAKE2s (wavpack-5.5.0.tar.xz) = 2f746bb5bb40f5bea1aa3c6e28530adb9b64e3b1ba2e6a97d03c1169c532ab42 +SHA512 (wavpack-5.5.0.tar.xz) = 9758e8079618e45e585330cd472f8ddae6e0ffd9a79032e7ec60251fff331390a619855dcdcf92942f5192d6ae12e05b6feca36394d30f0fe7e65222ee2696fc +Size (wavpack-5.5.0.tar.xz) = 797996 bytes diff --git a/audio/wavpack/patches/patch-configure b/audio/wavpack/patches/patch-configure deleted file mode 100644 index 1c4652841bf5..000000000000 --- a/audio/wavpack/patches/patch-configure +++ /dev/null @@ -1,33 +0,0 @@ -$NetBSD: patch-configure,v 1.2 2016/12/11 11:08:12 adam Exp $ - -Portablity fix. - ---- configure.orig 2016-12-05 19:54:06.000000000 +0000 -+++ configure -@@ -13638,7 +13638,7 @@ if test "x$enable_legacy" = "xyes"; then - - fi - -- if test "x$enable_legacy" == "xyes"; then -+ if test "x$enable_legacy" = "xyes"; then - ENABLE_LEGACY_TRUE= - ENABLE_LEGACY_FALSE='#' - else -@@ -13673,7 +13673,7 @@ if test "${enable_rpath+set}" = set; the - fi - - -- if test "x$enable_rpath" == "xyes"; then -+ if test "x$enable_rpath" = "xyes"; then - ENABLE_RPATH_TRUE= - ENABLE_RPATH_FALSE='#' - else -@@ -13688,7 +13688,7 @@ if test "${enable_tests+set}" = set; the - fi - - -- if test "x$enable_tests" == "xyes"; then -+ if test "x$enable_tests" = "xyes"; then - ENABLE_TESTS_TRUE= - ENABLE_TESTS_FALSE='#' - else