git: f1fbc644a8fc - main - www/phpvirtualbox-71: Update 7.0 => 7.1-1

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 28 Apr 2025 14:47:14 UTC
The branch main has been updated by vvd:

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

commit f1fbc644a8fc38015fa0432471fc3660866b677c
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-04-28 14:42:52 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-28 14:42:52 +0000

    www/phpvirtualbox-71: Update 7.0 => 7.1-1
    
    Changelog:
    https://github.com/phpvirtualbox/phpvirtualbox/releases/tag/7.1-1
    
    PR:     284439
---
 www/phpvirtualbox-71/Makefile                            | 14 +++++---------
 www/phpvirtualbox-71/distinfo                            |  6 +++---
 .../files/patch-endpoints_lib_config.php                 | 16 ++++++++--------
 www/phpvirtualbox-71/pkg-plist                           | 12 +++++++++---
 4 files changed, 25 insertions(+), 23 deletions(-)

diff --git a/www/phpvirtualbox-71/Makefile b/www/phpvirtualbox-71/Makefile
index 22e8a6913dbe..fb05e5b28ffb 100644
--- a/www/phpvirtualbox-71/Makefile
+++ b/www/phpvirtualbox-71/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	phpvirtualbox
-DISTVERSION=	7.0
+DISTVERSION=	7.1-1
 CATEGORIES=	www
-MASTER_SITES=	https://sourceforge.net/code-snapshots/git/p/ph/${PORTNAME}-7-0/code.git/ \
-		LOCAL/vvd
-SUFFIX=		-70
+SUFFIX=		-71
 PKGNAMESUFFIX=	${SUFFIX}${PHP_PKGNAMESUFFIX}
-DISTNAME=	${PORTNAME}-7-0-code-0737ff1c4106661672e69ef5ff26c3f494f4c65f
 
 MAINTAINER=	vbox@FreeBSD.org
 COMMENT=	AJAX Web Interface for VirtualBox
@@ -13,7 +10,8 @@ WWW=		https://sourceforge.net/projects/phpvirtualbox-7-0/
 
 LICENSE=	GPLv3
 
-USES=		php:flavors zip
+USES=		php:flavors
+USE_GITHUB=	yes
 USE_PHP=	session simplexml soap xml
 
 ETCDIR=		${WWWDIR}
@@ -21,9 +19,7 @@ WWWDIR=		${PREFIX}/www/${PORTNAME}${SUFFIX}
 EXTRA_PATCHES+=	${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html
 NO_ARCH=	yes
 NO_BUILD=	yes
-PORTSCOUT=	limit:^7\.0\.
-
-WRKSRC_SUBDIR=	${PORTNAME}-${DISTVERSION}
+PORTSCOUT=	limit:^7\.1\.
 
 post-patch:
 	@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox${SUFFIX}.conf
diff --git a/www/phpvirtualbox-71/distinfo b/www/phpvirtualbox-71/distinfo
index 23623d85f62f..c07fe74f7a45 100644
--- a/www/phpvirtualbox-71/distinfo
+++ b/www/phpvirtualbox-71/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741481692
-SHA256 (phpvirtualbox-7-0-code-0737ff1c4106661672e69ef5ff26c3f494f4c65f.zip) = 0211ab464382c78607843a1faa7379c71abbcf4f196e7d61996dd45ca036766f
-SIZE (phpvirtualbox-7-0-code-0737ff1c4106661672e69ef5ff26c3f494f4c65f.zip) = 4414397
+TIMESTAMP = 1745711902
+SHA256 (phpvirtualbox-phpvirtualbox-7.1-1_GH0.tar.gz) = 2a4cc17f198280aad2ab56f209b264e3054f4a82efc6aaf3bb0f960e5bfb0b31
+SIZE (phpvirtualbox-phpvirtualbox-7.1-1_GH0.tar.gz) = 4353471
diff --git a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php b/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php
index 95f0fe9437f5..82de95a4947b 100644
--- a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php
+++ b/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php
@@ -1,10 +1,10 @@
---- endpoints/lib/config.php.orig	2025-03-09 01:02:03 UTC
+--- endpoints/lib/config.php.orig	2025-04-26 04:11:44 UTC
 +++ endpoints/lib/config.php
-@@ -151,6 +151,7 @@ class phpVBoxConfigClass {
-          */
-         var $enableHDFlushConfig;
-         
-+	var $authMaster = false;
-         
- 	/**
+@@ -143,6 +143,7 @@ class phpVBoxConfigClass {
+     // added vars to satisfy PHP 8.2+ dynamic property deprecation
+     var $enableAdvancedConfig;
+     var $enableHDFlushConfig;
++    var $authMaster = false;
+ 
+     /**
  	 * Read user configuration, apply defaults, and do some sanity checking
diff --git a/www/phpvirtualbox-71/pkg-plist b/www/phpvirtualbox-71/pkg-plist
index 94491d44d27c..08f329742fc2 100644
--- a/www/phpvirtualbox-71/pkg-plist
+++ b/www/phpvirtualbox-71/pkg-plist
@@ -30,8 +30,14 @@
 %%WWWDIR%%/endpoints/lib/utils.php
 %%WWWDIR%%/endpoints/lib/vboxServiceWrappers.php
 %%WWWDIR%%/endpoints/lib/vboxconnector.php
-%%WWWDIR%%/endpoints/lib/vboxweb-7.0.wsdl
-%%WWWDIR%%/endpoints/lib/vboxwebService-7.0.wsdl
+%%WWWDIR%%/endpoints/lib/vboxweb-5.2.wsdl
+%%WWWDIR%%/endpoints/lib/vboxweb-6.0.wsdl
+%%WWWDIR%%/endpoints/lib/vboxweb-6.1.wsdl
+%%WWWDIR%%/endpoints/lib/vboxweb-7.1.wsdl
+%%WWWDIR%%/endpoints/lib/vboxwebService-5.2.wsdl
+%%WWWDIR%%/endpoints/lib/vboxwebService-6.0.wsdl
+%%WWWDIR%%/endpoints/lib/vboxwebService-6.1.wsdl
+%%WWWDIR%%/endpoints/lib/vboxwebService-7.1.wsdl
 %%WWWDIR%%/endpoints/rdp.php
 %%WWWDIR%%/endpoints/screen.php
 %%WWWDIR%%/images/30white.png
@@ -578,7 +584,7 @@
 %%WWWDIR%%/panes/wizardNewHDAdvanced.html
 %%WWWDIR%%/panes/wizardNewVM.html
 %%WWWDIR%%/panes/wizardNewVMAdvanced.html
-%%WWWDIR%%/phpvirtualbox-70.conf
+%%WWWDIR%%/phpvirtualbox-71.conf
 %%WWWDIR%%/rdpweb/RDPClientUI.swf
 %%WWWDIR%%/rdpweb/license_3rd.txt
 %%WWWDIR%%/rdpweb/swfobject.js