diff options
Diffstat (limited to 'www/phpvirtualbox-71')
-rw-r--r-- | www/phpvirtualbox-71/Makefile | 7 | ||||
-rw-r--r-- | www/phpvirtualbox-71/files/patch-endpoints_lib_config.php | 10 | ||||
-rw-r--r-- | www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php | 21 |
3 files changed, 5 insertions, 33 deletions
diff --git a/www/phpvirtualbox-71/Makefile b/www/phpvirtualbox-71/Makefile index fb05e5b28ffb..9d48563e1730 100644 --- a/www/phpvirtualbox-71/Makefile +++ b/www/phpvirtualbox-71/Makefile @@ -1,12 +1,13 @@ PORTNAME= phpvirtualbox DISTVERSION= 7.1-1 +PORTREVISION= 1 CATEGORIES= www SUFFIX= -71 PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX} MAINTAINER= vbox@FreeBSD.org COMMENT= AJAX Web Interface for VirtualBox -WWW= https://sourceforge.net/projects/phpvirtualbox-7-0/ +WWW= https://github.com/phpvirtualbox/phpvirtualbox/ LICENSE= GPLv3 @@ -16,7 +17,9 @@ USE_PHP= session simplexml soap xml ETCDIR= ${WWWDIR} WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX} -EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html +EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_config.php \ + ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php \ + ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^7\.1\. diff --git a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php b/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php deleted file mode 100644 index 82de95a4947b..000000000000 --- a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php +++ /dev/null @@ -1,10 +0,0 @@ ---- 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-71/files/patch-endpoints_lib_vboxconnector.php b/www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php deleted file mode 100644 index 3ce4bd1b67fa..000000000000 --- a/www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php +++ /dev/null @@ -1,21 +0,0 @@ ---- 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 |