1 |
# $Id: smeserver-phpmyadmin.spec,v 1.11 2021/02/28 07:07:04 jpp Exp $ |
# $Id: smeserver-phpmyadmin.spec,v 1.15 2022/07/24 03:59:04 jpp Exp $ |
2 |
# Authority: darrellmay |
# Authority: darrellmay |
3 |
# Name: Darrell May |
# Name: Darrell May |
4 |
|
|
6 |
%define name smeserver-phpmyadmin |
%define name smeserver-phpmyadmin |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 4.0.10.2 |
%define version 4.0.10.2 |
9 |
%define release 9 |
%define release 12 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
28 |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
29 |
Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch |
Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch |
30 |
Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch |
Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch |
31 |
|
Patch4: smeserver-phpmyadmin-4.0.10.2-bz11408-httpport.patch |
32 |
|
Patch5: smeserver-phpmyadmin-4.0.10.2-bz12056-httpd24.patch |
33 |
|
|
34 |
%description |
%description |
35 |
Implementation of phpMyAdmin for SME Server. |
Implementation of phpMyAdmin for SME Server. |
36 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-9.sme |
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-12.sme |
40 |
|
- use $httpPort in place of hardcoded port 80 [SME: 11408] |
41 |
|
- update to httpd 2.4 access syntax [SME: 12056] |
42 |
|
|
43 |
|
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-11.sme |
44 |
- finish php74 pool integration [SME: 11043] |
- finish php74 pool integration [SME: 11043] |
45 |
|
fixed dir perms |
46 |
|
|
47 |
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme |
* Fri Dec 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-8.sme |
48 |
- add php pool template and remove disable unit.ini |
- add php pool template and remove disable unit.ini |
145 |
%patch1 -p1 |
%patch1 -p1 |
146 |
%patch2 -p1 |
%patch2 -p1 |
147 |
%patch3 -p1 |
%patch3 -p1 |
148 |
|
%patch4 -p1 |
149 |
|
%patch5 -p1 |
150 |
|
|
151 |
%build |
%build |
152 |
%{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache} |
%{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache} |
159 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
160 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
161 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
162 |
--dir /var/lib/php/phmyadmin/ 'attr(0755,root,www)' \ |
--dir /var/lib/php/phpmyadmin/ 'attr(0755,root,www)' \ |
163 |
--dir /var/lib/php/phmyadmin/tmp 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/tmp 'attr(0770,www,www)' \ |
164 |
--dir /var/lib/php/phmyadmin/opcache 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/opcache 'attr(0770,www,www)' \ |
165 |
--dir /var/lib/php/phmyadmin/session 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/session 'attr(0770,www,www)' \ |
166 |
--dir /var/lib/php/phmyadmin/wsdlcache 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/wsdlcache 'attr(0770,www,www)' \ |
167 |
--dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \ |
--dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \ |
168 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
169 |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |