diff options
Diffstat (limited to 'www/phpvirtualbox-72/files')
4 files changed, 76 insertions, 0 deletions
diff --git a/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php new file mode 100644 index 000000000000..82de95a4947b --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php @@ -0,0 +1,10 @@ +--- endpoints/lib/config.php.orig 2025-04-26 04:11:44 UTC ++++ endpoints/lib/config.php +@@ -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-72/files/patch-endpoints_lib_vboxconnector.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php new file mode 100644 index 000000000000..3ce4bd1b67fa --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php @@ -0,0 +1,21 @@ +--- endpoints/lib/vboxconnector.php.orig 2025-03-09 01:02:03 UTC ++++ endpoints/lib/vboxconnector.php +@@ -113,6 +113,8 @@ class vboxconnector { + */ + var $dsep = null; + ++ var $client = null; ++ + /** + * Obtain configuration settings and set object vars + * @param boolean $useAuthMaster use the authentication master obtained from configuration class +@@ -388,7 +390,8 @@ class vboxconnector { + + // The amount of time we will wait for events is determined by + // the amount of listeners - at least half a second +- $listenerWait = max(100,intval(500/count($this->persistentRequest['vboxEventListeners']))); ++ $listenerCount = count($this->persistentRequest['vboxEventListeners']); ++ $listenerWait = max(100,intval(500/($listenerCount > 0 ? $listenerCount : 1))); + } + + // Get events from each configured event listener diff --git a/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl new file mode 100644 index 000000000000..40b0ff619005 --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl @@ -0,0 +1,11 @@ +--- endpoints/lib/vboxwebService-7.2.wsdl.orig 2025-08-28 05:41:35 UTC ++++ endpoints/lib/vboxwebService-7.2.wsdl +@@ -5,7 +5,7 @@ --> + Generator: src/VBox/Main/webservice/websrv-wsdl-service.xsl + --> + <definitions xmlns:interface="urn:vbox" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vbox="http://www.virtualbox.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" name="VirtualBox" targetNamespace="http://www.virtualbox.org/Service"> +- <import location="vboxweb.wsdl" namespace="http://www.virtualbox.org/"/> ++ <import location="vboxweb-7.2.wsdl" namespace="http://www.virtualbox.org/"/> + <service name="vboxService"> + <port binding="vbox:vboxBinding" name="vboxServicePort"> + <soap:address location="http://localhost:18083/"/> 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' + }); + + } |