audio/libmysofa: Update to latest commit to address CVE-2021-3756

PR:		261945
Reported by:	diizzy
MFH:		2022Q1
Security:	4d763c65-9246-11ec-9aa3-4ccc6adda413
This commit is contained in:
Jason E. Hale 2022-02-20 08:06:04 -05:00
parent 2fce4c1321
commit a856b7b47e
5 changed files with 32 additions and 5 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= libmysofa
PORTVERSION= 1.2
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1-16
DISTVERSIONSUFFIX= -g52590e1
CATEGORIES= audio
MAINTAINER= jhale@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1611592669
SHA256 (hoene-libmysofa-v1.2_GH0.tar.gz) = 7638dec8ba2b5408cf32ab41d37cb29460095c4b2161a860480c122e71806ba9
SIZE (hoene-libmysofa-v1.2_GH0.tar.gz) = 199998224
TIMESTAMP = 1644829443
SHA256 (hoene-libmysofa-v1.2.1-16-g52590e1_GH0.tar.gz) = 2b4893dc5bf54b7afbaac8b13264097776fc3ed53edf9775333674cdde2e0ed6
SIZE (hoene-libmysofa-v1.2.1-16-g52590e1_GH0.tar.gz) = 200140460

View File

@ -0,0 +1,13 @@
Undo bashism added upstream in a5a3562. The built-in 'command' command of
sh(1) does not take multiple arguments.
--- tests/compare.sh.orig 2022-02-14 10:05:41 UTC
+++ tests/compare.sh
@@ -1,7 +1,7 @@
#!/bin/sh
SCRIPTDIR=${0%/*}
-NODEJS=$(command -v node nodejs false | head -1)
+NODEJS=$(which node nodejs false | head -1)
${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s "$1".sofa >tmp1.json 2>tmp1.txt

View File

@ -0,0 +1,13 @@
Undo bashism added upstream in a5a3562. The built-in 'command' command of
sh(1) does not take multiple arguments.
--- tests/compareIgnoreNew.sh.orig 2022-02-14 10:05:54 UTC
+++ tests/compareIgnoreNew.sh
@@ -1,7 +1,7 @@
#!/bin/sh
SCRIPTDIR=${0%/*}
-NODEJS=$(command -v node nodejs false | head -1)
+NODEJS=$(which node nodejs false | head -1)
${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s "$1".sofa >tmp1.json 2>tmp1.txt

View File

@ -3,7 +3,7 @@ include/mysofa.h
lib/libmysofa.a
lib/libmysofa.so
lib/libmysofa.so.1
lib/libmysofa.so.1.1.0
lib/libmysofa.so.1.2.2
libdata/pkgconfig/libmysofa.pc
%%DATADIR%%/MIT_KEMAR_normal_pinna.sofa
%%DATADIR%%/default.sofa