diff options
Diffstat (limited to 'www/phpvirtualbox-71')
| -rw-r--r-- | www/phpvirtualbox-71/Makefile | 11 | ||||
| -rw-r--r-- | www/phpvirtualbox-71/distinfo | 6 | ||||
| -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 | ||||
| -rw-r--r-- | www/phpvirtualbox-71/pkg-plist | 37 |
5 files changed, 38 insertions, 47 deletions
diff --git a/www/phpvirtualbox-71/Makefile b/www/phpvirtualbox-71/Makefile index fb05e5b28ffb..c0db8c7ac9e7 100644 --- a/www/phpvirtualbox-71/Makefile +++ b/www/phpvirtualbox-71/Makefile @@ -1,12 +1,12 @@ PORTNAME= phpvirtualbox -DISTVERSION= 7.1-1 +DISTVERSION= 7.1-2 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 +16,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\. @@ -26,7 +28,8 @@ post-patch: @${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 + @${REINPLACE_CMD} -e 's#7.1-1#${DISTVERSION}#' \ + ${WRKSRC}/endpoints/lib/config.php do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} diff --git a/www/phpvirtualbox-71/distinfo b/www/phpvirtualbox-71/distinfo index c07fe74f7a45..ff5ddf257563 100644 --- a/www/phpvirtualbox-71/distinfo +++ b/www/phpvirtualbox-71/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 = 1762111111 +SHA256 (phpvirtualbox-phpvirtualbox-7.1-2_GH0.tar.gz) = 7bfafaaba97d4c9e231b5a12605f04a5a0b47868c295d804317fc110b7c78757 +SIZE (phpvirtualbox-phpvirtualbox-7.1-2_GH0.tar.gz) = 5269159 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 diff --git a/www/phpvirtualbox-71/pkg-plist b/www/phpvirtualbox-71/pkg-plist index 08f329742fc2..1ffde38f030c 100644 --- a/www/phpvirtualbox-71/pkg-plist +++ b/www/phpvirtualbox-71/pkg-plist @@ -30,13 +30,7 @@ %%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/rdp.php %%WWWDIR%%/endpoints/screen.php @@ -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 |
