git: 03a50a87dcfd - main - www/phpvirtualbox-72: Update 7.1-1 => 7.2-1

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 29 Aug 2025 01:26:25 UTC
The branch main has been updated by vvd:

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

commit 03a50a87dcfd1181794e804ee462f3280c4aa691
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-08-29 01:17:33 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-29 01:17:33 +0000

    www/phpvirtualbox-72: Update 7.1-1 => 7.2-1
    
    Changelog:
    https://github.com/phpvirtualbox/phpvirtualbox/releases/tag/7.2-1
    
    PR:     289019
---
 www/Makefile                                       |  1 +
 www/phpvirtualbox-72/Makefile                      |  9 ++---
 www/phpvirtualbox-72/distinfo                      |  6 +--
 .../patch-panes_mediumEncryptionPasswords.html     | 34 +++++++++++++++++
 www/phpvirtualbox-72/pkg-plist                     | 43 ++++++++++++++++------
 5 files changed, 72 insertions(+), 21 deletions(-)

diff --git a/www/Makefile b/www/Makefile
index 4edc1757d653..dc404b1ecbdd 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1456,6 +1456,7 @@
     SUBDIR += phpvirtualbox
     SUBDIR += phpvirtualbox-70
     SUBDIR += phpvirtualbox-71
+    SUBDIR += phpvirtualbox-72
     SUBDIR += phpvirtualbox-legacy
     SUBDIR += piwigo
     SUBDIR += plasma6-plasma-browser-integration
diff --git a/www/phpvirtualbox-72/Makefile b/www/phpvirtualbox-72/Makefile
index 085e05e3a3a9..827927debe00 100644
--- a/www/phpvirtualbox-72/Makefile
+++ b/www/phpvirtualbox-72/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	phpvirtualbox
-DISTVERSION=	7.1-1
-PORTREVISION=	1
+DISTVERSION=	7.2-1
 CATEGORIES=	www
-SUFFIX=		-71
+SUFFIX=		-72
 PKGNAMESUFFIX=	${SUFFIX}${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	vbox@FreeBSD.org
@@ -17,17 +16,15 @@ USE_PHP=	session simplexml soap xml
 
 ETCDIR=		${WWWDIR}
 WWWDIR=		${PREFIX}/www/${PORTNAME}${SUFFIX}
-EXTRA_PATCHES+=	${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html
 NO_ARCH=	yes
 NO_BUILD=	yes
-PORTSCOUT=	limit:^7\.1\.
+PORTSCOUT=	limit:^7\.2\.
 
 post-patch:
 	@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox${SUFFIX}.conf
 	@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox${SUFFIX}#' \
 		-e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \
 		${WRKSRC}/phpvirtualbox${SUFFIX}.conf
-	@${REINPLACE_CMD} -e 's#\r#\n#g' ${WRKSRC}/languages/zh_tw.xml
 
 do-install:
 	${MKDIR} ${STAGEDIR}${WWWDIR}
diff --git a/www/phpvirtualbox-72/distinfo b/www/phpvirtualbox-72/distinfo
index c07fe74f7a45..36e164f0de0c 100644
--- a/www/phpvirtualbox-72/distinfo
+++ b/www/phpvirtualbox-72/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745711902
-SHA256 (phpvirtualbox-phpvirtualbox-7.1-1_GH0.tar.gz) = 2a4cc17f198280aad2ab56f209b264e3054f4a82efc6aaf3bb0f960e5bfb0b31
-SIZE (phpvirtualbox-phpvirtualbox-7.1-1_GH0.tar.gz) = 4353471
+TIMESTAMP = 1756400000
+SHA256 (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 8025ed6b6af7ab4f32b0ac548fee94621469d5f5bc89d6a8a553a3989ada5ca9
+SIZE (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 5271540
diff --git a/www/phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html b/www/phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html
new file mode 100644
index 000000000000..3e8a7c62dfb7
--- /dev/null
+++ b/www/phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html
@@ -0,0 +1,34 @@
+--- panes/mediumEncryptionPasswords.html.orig	2017-07-27 16:54:58 UTC
++++ panes/mediumEncryptionPasswords.html
+@@ -15,6 +15,7 @@
+                 <th class='translate' style='width:1%; text-align:center'>Status</th>
+                 <th class='translate' style='width:30%; text-align:center'>ID</th>
+                 <th class='translate'>Password</th>
++                <th class='translate'>Clear on suspend</th>
+             </tr>
+         </thead>
+         <tbody id='vboxMediumEncryptionPasswordList'>
+@@ -37,9 +38,12 @@ function vboxMediumEncryptionPasswordAdd
+         .append($('<td />')
+                 .append(
+                         valid ? '*****' : 
+-                        $('<input />').attr({'type':'password','style':'width:95%'}).addClass('vboxText')
++                        $('<input />').attr({'type':'password','style':'width:90%'}).addClass('vboxText')
+                         )
+         )
++        .append($('<td />')
++                .append($('<input />').attr({'type':'checkbox', 'checked':'checked'}))
++        )
+         .appendTo($('#vboxMediumEncryptionPasswordList'))
+ }
+ 
+@@ -55,7 +59,8 @@ function vboxMediumEncryptionPasswordsGe
+             continue;
+         encryptionPWs.push({
+             'id': $(rowlist[i]).data('vboxEncryptionId'),
+-            'password': $(rowlist[i]).find('input').first().val()
++            'password': $(rowlist[i]).find('input[type="password"]').first().val(),
++            'clearOnSuspend': $(rowlist[i]).find('input[type="checkbox"]').first().is(':checked') ? '1' : '0'
+         });
+         
+     }
diff --git a/www/phpvirtualbox-72/pkg-plist b/www/phpvirtualbox-72/pkg-plist
index 08f329742fc2..7e75d2fc12d8 100644
--- a/www/phpvirtualbox-72/pkg-plist
+++ b/www/phpvirtualbox-72/pkg-plist
@@ -30,14 +30,8 @@
 %%WWWDIR%%/endpoints/lib/utils.php
 %%WWWDIR%%/endpoints/lib/vboxServiceWrappers.php
 %%WWWDIR%%/endpoints/lib/vboxconnector.php
-%%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/lib/vboxweb-7.2.wsdl
+%%WWWDIR%%/endpoints/lib/vboxwebService-7.2.wsdl
 %%WWWDIR%%/endpoints/rdp.php
 %%WWWDIR%%/endpoints/screen.php
 %%WWWDIR%%/images/30white.png
@@ -496,8 +490,8 @@
 %%WWWDIR%%/js/datamediator.js
 %%WWWDIR%%/js/dialogs.js
 %%WWWDIR%%/js/eventlistener.js
-%%WWWDIR%%/js/jquery-1.11.2.min.js
-%%WWWDIR%%/js/jquery-ui-1.11.4.min.js
+%%WWWDIR%%/js/jquery-3.7.1.min.js
+%%WWWDIR%%/js/jquery-ui-1.14.1.min.js
 %%WWWDIR%%/js/jquery.jec-1.3.1.js
 %%WWWDIR%%/js/jquery.projectPlugins.js
 %%WWWDIR%%/js/jquery.scrollTo-min.js
@@ -518,19 +512,44 @@
 %%WWWDIR%%/languages/pt_br.xml
 %%WWWDIR%%/languages/ro.xml
 %%WWWDIR%%/languages/ru.xml
+%%WWWDIR%%/languages/source/ParseVboxLang.inc
+%%WWWDIR%%/languages/source/ParseVboxLang.php
+%%WWWDIR%%/languages/source/bg.dat
+%%WWWDIR%%/languages/source/ca.dat
+%%WWWDIR%%/languages/source/ca_va.dat
 %%WWWDIR%%/languages/source/cs.dat
+%%WWWDIR%%/languages/source/da.dat
 %%WWWDIR%%/languages/source/de.dat
+%%WWWDIR%%/languages/source/el.dat
 %%WWWDIR%%/languages/source/en.dat
 %%WWWDIR%%/languages/source/es.dat
+%%WWWDIR%%/languages/source/eu.dat
+%%WWWDIR%%/languages/source/fa.dat
+%%WWWDIR%%/languages/source/fi.dat
 %%WWWDIR%%/languages/source/fr.dat
+%%WWWDIR%%/languages/source/gl.dat
+%%WWWDIR%%/languages/source/he.dat
+%%WWWDIR%%/languages/source/hr_hr.dat
+%%WWWDIR%%/languages/source/hu.dat
+%%WWWDIR%%/languages/source/id.dat
 %%WWWDIR%%/languages/source/it.dat
 %%WWWDIR%%/languages/source/ja.dat
+%%WWWDIR%%/languages/source/km_kh.dat
+%%WWWDIR%%/languages/source/ko.dat
+%%WWWDIR%%/languages/source/lt.dat
 %%WWWDIR%%/languages/source/nl.dat
-%%WWWDIR%%/languages/source/parse_vbox_lang.php
 %%WWWDIR%%/languages/source/pl.dat
+%%WWWDIR%%/languages/source/pt.dat
 %%WWWDIR%%/languages/source/pt_br.dat
 %%WWWDIR%%/languages/source/ro.dat
 %%WWWDIR%%/languages/source/ru.dat
+%%WWWDIR%%/languages/source/sk.dat
+%%WWWDIR%%/languages/source/sl.dat
+%%WWWDIR%%/languages/source/sr.dat
+%%WWWDIR%%/languages/source/sv.dat
+%%WWWDIR%%/languages/source/th.dat
+%%WWWDIR%%/languages/source/tr.dat
+%%WWWDIR%%/languages/source/uk.dat
 %%WWWDIR%%/languages/source/zh_cn.dat
 %%WWWDIR%%/languages/source/zh_tw.dat
 %%WWWDIR%%/languages/zh_cn.xml
@@ -584,7 +603,7 @@
 %%WWWDIR%%/panes/wizardNewHDAdvanced.html
 %%WWWDIR%%/panes/wizardNewVM.html
 %%WWWDIR%%/panes/wizardNewVMAdvanced.html
-%%WWWDIR%%/phpvirtualbox-71.conf
+%%WWWDIR%%/phpvirtualbox-72.conf
 %%WWWDIR%%/rdpweb/RDPClientUI.swf
 %%WWWDIR%%/rdpweb/license_3rd.txt
 %%WWWDIR%%/rdpweb/swfobject.js