Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168237978
D43175.id131831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43175.id131831.diff
View Options
diff --git a/www/phpvirtualbox-legacy/Makefile b/www/phpvirtualbox-legacy/Makefile
--- a/www/phpvirtualbox-legacy/Makefile
+++ b/www/phpvirtualbox-legacy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phpvirtualbox
DISTVERSION= 5.2-1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
PKGNAMESUFFIX= -legacy
diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile
--- a/www/phpvirtualbox/Makefile
+++ b/www/phpvirtualbox/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phpvirtualbox
DISTVERSION= 6.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MAINTAINER= vbox@FreeBSD.org
diff --git a/www/phpvirtualbox/files/patch-php8 b/www/phpvirtualbox/files/patch-php8
--- a/www/phpvirtualbox/files/patch-php8
+++ b/www/phpvirtualbox/files/patch-php8
@@ -207,3 +207,37 @@
$(nsel).jec();
}
+--- endpoints/lib/config.php.orig
++++ endpoints/lib/config.php
+@@ -141,6 +141,10 @@
+ */
+ var $eventListenerTimeout = 20;
+
++ var $enableHDFlushConfig = false;
++
++ var $authMaster = false;
++
+ /**
+ * Read user configuration, apply defaults, and do some sanity checking
+ * @see vboxconnector
+--- endpoints/lib/vboxconnector.php.orig
++++ endpoints/lib/vboxconnector.php
+@@ -112,6 +112,8 @@
+ */
+ var $dsep = null;
+
++ var $client = null;
++
+ /**
+ * Obtain configuration settings and set object vars
+ * @param boolean $useAuthMaster use the authentication master obtained from configuration class
+@@ -389,7 +389,8 @@
+
+ // 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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 2:52 AM (7 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37414017
Default Alt Text
D43175.id131831.diff (1 KB)
Attached To
Mode
D43175: www/phpvirtualbox{,-legacy}: PHP 8.2 support
Attached
Detach File
Event Timeline
Log In to Comment