30 |
phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) |
phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
* Tue Mar 07 2023 Trevor Batley <trevor@batley.id.au> 5.2.1-4 |
* Fri Mar 10 2023 Trevor Batley <trevor@batley.id.au> 5.2.1-4 |
34 |
- add vbox password back into config.php |
- add vbox password back into config.php |
35 |
- replace /etc/php-fpm.d/phpvirtualbox with /etc/php-fpm.d/www.conf fragment and expand during update |
- replace /etc/php-fpm.d/phpvirtualbox with /etc/php-fpm.d/www.conf fragment and expand during update |
36 |
- remove webauth config db item and add authType, with multiple values) |
- remove webauth config db item and add authType, with multiple values |
37 |
- add support for BuiltIn, WebAuth (default), LDAP and AD authentication |
- add support for BuiltIn, WebAuth (default), LDAP and AD authentication |
38 |
- rename config items User => Users, Group => userGroups and add adminUser |
- rename config items User => Users, Group => userGroups and add adminUser |
39 |
|
- remove defaults for User and Group config items |
40 |
- add basic default values for config.php as config db items (with same name) and allow entry of other config items |
- add basic default values for config.php as config db items (with same name) and allow entry of other config items |
41 |
- create /var/lib/php/phpvirtualbox directories (opcache, session, tmp) with www:www ownership and 0755 permissions |
- create /var/lib/php/phpvirtualbox directories (opcache, session, tmp) with www:www ownership and 0755 permissions |
42 |
- correct permissions on log files |
- correct permissions on log files |
99 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
100 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
101 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
102 |
|
mkdir -p $RPM_BUILD_ROOT/opt/vbox/{ISOs,VMs} |
103 |
|
mkdir -p $RPM_BUILD_ROOT/var/log/php/phpvirtualbox |
104 |
|
mkdir -p $RPM_BUILD_ROOT/var/lib/php/phpvirtualbox/{opcache,tmp,session} |
105 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
106 |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
107 |
--dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \ |
--dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \ |