--- rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2023/03/07 04:38:51 1.5 +++ rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec 2023/03/10 02:37:14 1.9 @@ -30,12 +30,13 @@ administer VirtualBox in a headless envi phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1) %changelog -* Tue Mar 07 2023 Trevor Batley 5.2.1-4 +* Fri Mar 10 2023 Trevor Batley 5.2.1-4 - add vbox password back into config.php - replace /etc/php-fpm.d/phpvirtualbox with /etc/php-fpm.d/www.conf fragment and expand during update -- remove webauth config db item and add authType, with multiple values) +- remove webauth config db item and add authType, with multiple values - add support for BuiltIn, WebAuth (default), LDAP and AD authentication - rename config items User => Users, Group => userGroups and add adminUser +- remove defaults for User and Group config items - add basic default values for config.php as config db items (with same name) and allow entry of other config items - create /var/lib/php/phpvirtualbox directories (opcache, session, tmp) with www:www ownership and 0755 permissions - correct permissions on log files @@ -98,6 +99,9 @@ perl createlinks rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist +mkdir -p $RPM_BUILD_ROOT/opt/vbox/{ISOs,VMs} +mkdir -p $RPM_BUILD_ROOT/var/log/php/phpvirtualbox +mkdir -p $RPM_BUILD_ROOT/var/lib/php/phpvirtualbox/{opcache,tmp,session} /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ --dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \