|
|
@ -1,6 +1,7 @@ |
|
|
|
%define name smeserver-dl |
|
|
|
%define name smeserver-dl |
|
|
|
%define version 0.1.4 |
|
|
|
%define version 0.2.0 |
|
|
|
%define release 1 |
|
|
|
%define release 1 |
|
|
|
|
|
|
|
%define phpversion 56 |
|
|
|
Summary: sme server integration of dl |
|
|
|
Summary: sme server integration of dl |
|
|
|
Name: %{name} |
|
|
|
Name: %{name} |
|
|
|
Version: %{version} |
|
|
|
Version: %{version} |
|
|
@ -22,6 +23,9 @@ Requires: smeserver-webapps-common |
|
|
|
smserver integration of dl |
|
|
|
smserver integration of dl |
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme |
|
|
|
|
|
|
|
- Support smeserver-php-fpm |
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1.sme |
|
|
|
* Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1.sme |
|
|
|
- Fix cron job output [SME: 9116] |
|
|
|
- Fix cron job output [SME: 9116] |
|
|
|
|
|
|
|
|
|
|
@ -42,12 +46,20 @@ smserver integration of dl |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
perl ./createlinks |
|
|
|
perl ./createlinks |
|
|
|
|
|
|
|
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g" |
|
|
|
|
|
|
|
%{__mkdir_p} root/var/log/php/dl |
|
|
|
|
|
|
|
%{__mkdir_p} root/var/lib/php/dl/{tmp,opcache,session} |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
|
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
|
|
|
rm -f %{name}-%{version}-filelist |
|
|
|
rm -f %{name}-%{version}-filelist |
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
|
|
|
|
|
|
--dir /var/log/php/dl 'attr(0770,root,www)' \ |
|
|
|
|
|
|
|
--dir /var/lib/php/dl 'attr(0770,root,www)' \ |
|
|
|
|
|
|
|
--dir /var/lib/php/dl/tmp 'attr(0770,root,www)' \ |
|
|
|
|
|
|
|
--dir /var/lib/php/dl/opcache 'attr(0770,root,www)' \ |
|
|
|
|
|
|
|
--dir /var/lib/php/dl/session 'attr(0770,root,www)' \ |
|
|
|
> %{name}-%{version}-filelist |
|
|
|
> %{name}-%{version}-filelist |
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|