git: 02271a4e3c38 - main - www/phpvirtualbox-72: Fix EFI, Disable Page Fusion

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Thu, 09 Oct 2025 11:35:54 UTC
The branch main has been updated by vvd:

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

commit 02271a4e3c389d217f50dcccf1b91560abe3a439
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-10-09 11:31:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-09 11:34:23 +0000

    www/phpvirtualbox-72: Fix EFI, Disable Page Fusion
    
    - Fix missing NVRAM file when creating new VM with EFI:
      https://github.com/phpvirtualbox/phpvirtualbox/issues/364
    - Disable Page Fusion feature, does not work in VirtualBox 7.2:
      https://github.com/phpvirtualbox/phpvirtualbox/issues/363
    
    PR:     290104
    MFH:    2025Q4
---
 www/phpvirtualbox-72/Makefile | 10 +++++++++-
 www/phpvirtualbox-72/distinfo |  6 +++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/www/phpvirtualbox-72/Makefile b/www/phpvirtualbox-72/Makefile
index 5cd673bbf480..37516d717cc3 100644
--- a/www/phpvirtualbox-72/Makefile
+++ b/www/phpvirtualbox-72/Makefile
@@ -1,10 +1,18 @@
 PORTNAME=	phpvirtualbox
 DISTVERSION=	7.2-1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 SUFFIX=		-72
 PKGNAMESUFFIX=	${SUFFIX}${PHP_PKGNAMESUFFIX}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+# Fix missing NVRAM file when creating new VM with EFI:
+# https://github.com/phpvirtualbox/phpvirtualbox/issues/364
+PATCHFILES+=	2d806b480c28c4343ceda12ac0f8614713eddaec.patch:-p1
+# Disable Page Fusion feature, does not work in VirtualBox 7.2:
+# https://github.com/phpvirtualbox/phpvirtualbox/issues/363
+PATCHFILES+=	ab759b995472b98bda9e49050dff65c11e0a62b7.patch:-p1
+
 MAINTAINER=	vbox@FreeBSD.org
 COMMENT=	AJAX Web Interface for VirtualBox
 WWW=		https://github.com/phpvirtualbox/phpvirtualbox/
diff --git a/www/phpvirtualbox-72/distinfo b/www/phpvirtualbox-72/distinfo
index 36e164f0de0c..babeeb3c20eb 100644
--- a/www/phpvirtualbox-72/distinfo
+++ b/www/phpvirtualbox-72/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1756400000
+TIMESTAMP = 1760000000
 SHA256 (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 8025ed6b6af7ab4f32b0ac548fee94621469d5f5bc89d6a8a553a3989ada5ca9
 SIZE (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 5271540
+SHA256 (2d806b480c28c4343ceda12ac0f8614713eddaec.patch) = 216cc7af1bdec4b64efad505fd606b3699cf10e29df4a8e3b114e2419bb1f1ea
+SIZE (2d806b480c28c4343ceda12ac0f8614713eddaec.patch) = 1076
+SHA256 (ab759b995472b98bda9e49050dff65c11e0a62b7.patch) = eea7c0051c80dd7d32cd04b220f45598c5611c7e5372ce137e2817a3416b8513
+SIZE (ab759b995472b98bda9e49050dff65c11e0a62b7.patch) = 5435