aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-03-05 16:54:38 +0000
committerpsykose <alice@ayaya.dev>2023-03-05 17:55:53 +0100
commit6a3589cbef6290932ad3399ddee78db5462c8369 (patch)
tree990433398a0dc4e64b5d97f452d1885cc5fc738c
parent4b4d7d14ebcb9669a179513ba782d9f4d9c62a51 (diff)
main/opusfile: patch CVE-2022-47021
-rw-r--r--main/opusfile/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/opusfile/APKBUILD b/main/opusfile/APKBUILD
index decf3e3b6a9..712142cda30 100644
--- a/main/opusfile/APKBUILD
+++ b/main/opusfile/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=opusfile
pkgver=0.12
-pkgrel=2
+pkgrel=3
pkgdesc="High-level API for decoding and seeking within .opus files"
url="https://www.opus-codec.org/"
arch="all"
@@ -10,9 +10,14 @@ depends_dev="openssl1.1-compat-dev"
makedepends="$depends_dev libogg-dev opus-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.xiph.org/releases/opus/opusfile-$pkgver.tar.gz
+ $pkgname-CVE-2022-47021.patch::https://github.com/xiph/opusfile/commit/0a4cd796df5b030cb866f3f4a5e41a4b92caddf5.patch
fix-conflict.patch
"
+# secfixes:
+# 0.12-r3:
+# - CVE-2022-47021
+
build() {
./configure \
--build=$CBUILD \
@@ -34,5 +39,8 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="e25e6968a3183ac0628ce1000840fd6f9f636e92ba984d6a72b76fb2a98ec632d2de4c66a8e4c05ef30655c2a4a13ab35f89606fa7d79a54cfa8506543ca57af opusfile-0.12.tar.gz
-b902b8c25506d3730a2a3bafcc5542671df8f35c588d05e54e883071c853c2e6e572dde80a8f7f39a58780a509c2d14b963040a3cab633edfc400cfca08060de fix-conflict.patch"
+sha512sums="
+e25e6968a3183ac0628ce1000840fd6f9f636e92ba984d6a72b76fb2a98ec632d2de4c66a8e4c05ef30655c2a4a13ab35f89606fa7d79a54cfa8506543ca57af opusfile-0.12.tar.gz
+d5b9f45a26b2721d0e929932bebcb5382daad394f54c694daca2119dfb01217afb4d68606c45353542888ba589d66f27bacad3644be34b4c119d51fba64662c8 opusfile-CVE-2022-47021.patch
+b902b8c25506d3730a2a3bafcc5542671df8f35c588d05e54e883071c853c2e6e572dde80a8f7f39a58780a509c2d14b963040a3cab633edfc400cfca08060de fix-conflict.patch
+"