Skip to content

Commit

Permalink
audio/libmysofa: Update to latest commit to address CVE-2021-3756
Browse files Browse the repository at this point in the history
PR:		261945
Reported by:	diizzy
MFH:		2022Q1
Security:	4d763c65-9246-11ec-9aa3-4ccc6adda413
  • Loading branch information
BSDKaffee committed Feb 20, 2022
1 parent 2fce4c1 commit a856b7b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
3 changes: 2 additions & 1 deletion audio/libmysofa/Makefile
@@ -1,6 +1,7 @@
PORTNAME= libmysofa
PORTVERSION= 1.2
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.1-16
DISTVERSIONSUFFIX= -g52590e1
CATEGORIES= audio

MAINTAINER= jhale@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions audio/libmysofa/distinfo
@@ -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
13 changes: 13 additions & 0 deletions audio/libmysofa/files/patch-tests_compare.sh
@@ -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

13 changes: 13 additions & 0 deletions audio/libmysofa/files/patch-tests_compareIgnoreNew.sh
@@ -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

2 changes: 1 addition & 1 deletion audio/libmysofa/pkg-plist
Expand Up @@ -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

0 comments on commit a856b7b

Please sign in to comment.