An open source, AJAX implementation of the VirtualBox user
interface written in PHP. As a modern web interface, it allows
you to access and control remote VirtualBox instances
Reason:
www/phpvirtualbox has been updated to version 6.1. This new version
only supports version 6.1 of VirtualBox.
Version 5.x of phpvirtualbox has been preserved as
www/phpvirtualbox-legacy. If you require support for VirtualBox
5.x please install this version. Remember to copy your configuration
file in the new legacy installation.
www/phpvirtualbox{,-legacy}: use one patch for both ports, remove "No newline at
end of file" from patches
Forgot to commit this change in previous commit.
PR: 261498
Approved by: portmgr (blanket, fix run)
Fixes: c8ee98641064 (PHP 8.2 support - "utf8_encode()")
MFH: 2024Q2
www/phpvirtualbox{,-legacy}: PHP 8.2 support - "utf8_encode()"
"Show Log" for a VM failed with error: "Function utf8_encode() is deprecated".
It's deprecated since PHP 8.2 and will be removed in PHP 9.
There is little sense in encoding logs - remove it.
While here refresh my patches with make makepatch.
PR: 261498
Approved by: portmgr (blanket, fix run)
MFH: 2024Q2
www/phpvirtualbox{,-legacy}: PHP 8.2 support
Was fixed:
1. Deprecated: Creation of dynamic property vboxconnector::$client is deprecated
in /usr/local/www/phpvirtualbox/endpoints/lib/vboxconnector.php on line 175.
2. Deprecated: Creation of dynamic property
phpVBoxConfigClass::$enableHDFlushConfig
is deprecated in /usr/local/www/phpvirtualbox/endpoints/lib/config.php on line
1825.
3. Deprecated: Creation of dynamic property phpVBoxConfigClass::$authMaster is
deprecated
in /usr/local/www/phpvirtualbox/endpoints/lib/config.php on line 241.
4. Division by zero in endpoints/lib/vboxconnector.php.
Upstream issue: https://github.com/usvn/usvn/issues/82
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D43175
MFH: 2023Q4
www/phpvirtualbox{,-legacy}: PHP 8 support (1 more catch) - "preg_replace"
Fixed:
PHP Warning: preg_replace() expects at least 3 parameters, 2 given in
endpoints/screen.php on line 91
PR: 261498
Approved by: tcberner (mentor)
MFH: 2023Q3
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www/phpvirtualbox: Set default cookie expiry date to 7 days after creation
Fix the issue "unable to switch servers"
A few weeks ago phpVirtualBox started preventing users to switch from one
server to another, as you can read in this upstream bug report:
https://github.com/phpvirtualbox/phpvirtualbox/issues/267
PR: 253155
Submitted by: andrew.hotlab
With hat: ports-secteam
Obtained from: phpvirtualbox repo
MFH: 2021Q1
- Update to an unofficial 5.1-1 which supports VirtualBox 5.1
Sadly upstream is very silent and has not released a new version
which supports VirtualBox 5.1, supports PHP 7.1 or fixes bugs. In
the meantime the community has created patches which are
collected in the github projects bugtracker and pull requests.
This unofficial version cherry picks the useful stuff of it.
Highlights of unofficial phpvirtualbox 5.1-1:
* based on git commit 65ebced (latest commit from May 19, 2016)
* Patch to support Virtualbox 5.1
https://github.com/phpvirtualbox/phpvirtualbox/pull/22
(Only the first 15 lines of the commit message are shown above )
An open source, AJAX implementation of the VirtualBox user
interface written in PHP. As a modern web interface, it allows
you to access and control remote VirtualBox instances.
WWW: http://code.google.com/p/phpvirtualbox/
Submitted by: myself
Approved by: miwi (mentor), beat (co-mentor)