git: fe75a5f9e92d - 2025Q2 - multimedia/libvpx: backport --enable-multi-res-encoding secfix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 31 May 2025 22:57:00 UTC
The branch 2025Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fe75a5f9e92d1d4fe81aa8a706e72922f7ee3a22

commit fe75a5f9e92d1d4fe81aa8a706e72922f7ee3a22
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-05-31 18:47:24 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-05-31 22:56:34 +0000

    multimedia/libvpx: backport --enable-multi-res-encoding secfix
    
    PR:             287197
    Security:       CVE-2025-5283
    (direct commit to 2025Q2 as 64f3a6bf7e51 is missing on the branch)
---
 multimedia/libvpx/Makefile | 4 ++++
 multimedia/libvpx/distinfo | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 9ed45565cb05..3707de8d6825 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	libvpx
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.15.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	865eaf63a727.patch:-p1 # CVE-2025-5283
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	VP8/VP9 reference encoder/decoder
 WWW=		https://www.webmproject.org/
diff --git a/multimedia/libvpx/distinfo b/multimedia/libvpx/distinfo
index 34d1e4202184..9cae7404eaab 100644
--- a/multimedia/libvpx/distinfo
+++ b/multimedia/libvpx/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1729707897
 SHA256 (webmproject-libvpx-v1.15.0_GH0.tar.gz) = e935eded7d81631a538bfae703fd1e293aad1c7fd3407ba00440c95105d2011e
 SIZE (webmproject-libvpx-v1.15.0_GH0.tar.gz) = 5629622
+SHA256 (865eaf63a727.patch) = 764775e10883bf5b8a0dc467cd20176853ef23b53a9757c65e85bcca7633d509
+SIZE (865eaf63a727.patch) = 2493