1 |
%define name smeserver-phpvirtualbox |
%define name smeserver-phpvirtualbox |
2 |
%define version 5.2.1 |
%define version 5.2.1 |
3 |
%define release 4 |
%define release 5 |
4 |
%define rpmver 5.2.1 |
%define rpmver 5.2.1 |
5 |
Summary: smserver rpm to install phpvirtualbox |
Summary: smserver rpm to install phpvirtualbox |
6 |
Name: %{name} |
Name: %{name} |
21 |
Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch |
Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch |
22 |
Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch |
Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch |
23 |
Patch2: smeserver-phpvirtualbox-5.2.1-multiple_changes.patch |
Patch2: smeserver-phpvirtualbox-5.2.1-multiple_changes.patch |
24 |
Patch3: smeserver-phpvirtualbox-5.2.1-remove_defaults.patch |
Patch3: smeserver-phpvirtualbox-5.2.1-samba_share.patch |
25 |
|
|
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
%description |
%description |
31 |
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) |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Sun Mar 19 2023 Trevor batley <trevor@batley.id.au> 5.2.1-5 |
35 |
|
- fix permissions on /opt/vbox/ISOs directory for sharing via samba 0777 [bug #12336] |
36 |
|
- fix smb.conf fragment to include Users [bug #12336] |
37 |
|
- fix smb.conf fragment to properly include more than 1 group in userGroups [bug #12336] |
38 |
|
- add phpvirtualbox samba config item to allow control of if, and who, has access [bug # 12337] |
39 |
|
|
40 |
* Fri Mar 10 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 |
41 |
- add vbox password back into config.php |
- add vbox password back into config.php |
42 |
- 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 |
107 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
108 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
109 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
110 |
mkdir -p /opt/vbox/{ISOs,VMs} |
mkdir -p $RPM_BUILD_ROOT/opt/vbox/{ISOs,VMs} |
111 |
mkdir -p /var/log/php/phpvirtualbox |
mkdir -p $RPM_BUILD_ROOT/var/log/php/phpvirtualbox |
112 |
mkdir -p /var/lib/php/phpvirtualbox/{opcache,tmp,session} |
mkdir -p $RPM_BUILD_ROOT/var/lib/php/phpvirtualbox/{opcache,tmp,session} |
113 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
114 |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
115 |
--dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \ |
--dir /opt/vbox/ISOs 'attr(0777,vbox,vboxusers)' \ |
116 |
--dir /opt/vbox/VMs 'attr(0774,vbox,vboxusers)' \ |
--dir /opt/vbox/VMs 'attr(0774,vbox,vboxusers)' \ |
117 |
--dir /var/log/php/phpvirtualbox 'attr(0755,www,www)' \ |
--dir /var/log/php/phpvirtualbox 'attr(0755,www,www)' \ |
118 |
--dir /var/lib/php/phpvirtualbox 'attr(0755,www,www)' \ |
--dir /var/lib/php/phpvirtualbox 'attr(0755,www,www)' \ |