--- rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec 2020/12/16 12:16:02 1.5 +++ rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec 2021/02/28 07:17:31 1.12 @@ -1,4 +1,4 @@ -# $Id: smeserver-phpmyadmin.spec,v 1.4 2020/12/01 07:23:40 brianr Exp $ +# $Id: smeserver-phpmyadmin.spec,v 1.11 2021/02/28 07:07:04 jpp Exp $ # Authority: darrellmay # Name: Darrell May @@ -6,7 +6,7 @@ Summary: phpMyAdmin for SME Server %define name smeserver-phpmyadmin Name: %{name} %define version 4.0.10.2 -%define release 6 +%define release 9 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -17,7 +17,7 @@ BuildRoot: /var/tmp/%{name}-%{version}-% BuildArchitectures: noarch Requires: e-smith-base Requires: phpMyAdmin >= 4.4.15.10 -Requires: e-smith-release >= 9.0 +Requires: e-smith-release >= 10.0 Obsoletes: phpmyadmin,phpMyAdmin3 BuildRequires: e-smith-devtools Obsoletes: e-smith-phpmyadmin @@ -25,14 +25,27 @@ Obsoletes: smeserver-phpmyadmin <= 3.5.2 Obsoletes: smeserver-phpmyadmin-multiuser Patch0: smeserver-phpmyadmin-4.0.10.2-Update-httpd-for-php-fpw-and-add-unit-file.patch +Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch +Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch +Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch %description Implementation of phpMyAdmin for SME Server. Access with admin username/password via: https://yourdomain/phpmyadmin. %changelog +* Sun Feb 28 2021 Jean-Philipe Pialasse 4.0.10.2-9.sme +- finish php74 pool integration [SME: 11043] + +* Fri Dec 18 2020 John Crisp 4.0.10.2-8.sme +- add php pool template and remove disable unit.ini + +* Thu Dec 17 2020 John Crisp 4.0.10.2-7.sme +- fix BlowfishSecret [SME: 11043] +- Update minimum e-smith release version + * Wed Dec 16 2020 John Crisp 4.0.10.2-6.sme -- fix patch file typo +- fix patch file typo [SME: 11043] * Sun Nov 29 2020 Brian Read 4.0.10.2-5.sme - Change httpd frament to php-fpw and add in .user.ini to set php vars [SME: 11043] @@ -122,9 +135,13 @@ Access with admin username/password via: %prep %setup %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build -%{__mkdir_p} root/var/lib/phpMyAdmin/tmp +%{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache} +%{__mkdir_p} root/var/log/php/phpmyadmin perl createlinks %install @@ -133,7 +150,12 @@ rm -f %{name}-%{version}-filelist (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist \ - --dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ + --dir /var/lib/php/phmyadmin/ 'attr(0755,root,www)' \ + --dir /var/lib/php/phmyadmin/tmp 'attr(0770,www,www)' \ + --dir /var/lib/php/phmyadmin/opcache 'attr(0770,www,www)' \ + --dir /var/lib/php/phmyadmin/session 'attr(0770,www,www)' \ + --dir /var/lib/php/phmyadmin/wsdlcache 'attr(0770,www,www)' \ + --dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \ $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist