1 |
# $Id: smeserver-phpmyadmin.spec,v 1.12 2021/02/28 07:17:31 jpp Exp $ |
# $Id: smeserver-phpmyadmin.spec,v 1.17 2022/08/01 03:25:07 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 10 |
%define release 14 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
18 |
Requires: e-smith-base |
Requires: e-smith-base |
19 |
Requires: phpMyAdmin >= 4.4.15.10 |
Requires: phpMyAdmin >= 4.4.15.10 |
20 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
21 |
|
Requires: e-smith-apache >= 2.6.0-19 |
22 |
Obsoletes: phpmyadmin,phpMyAdmin3 |
Obsoletes: phpmyadmin,phpMyAdmin3 |
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
Obsoletes: e-smith-phpmyadmin |
Obsoletes: e-smith-phpmyadmin |
29 |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch |
30 |
Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch |
Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch |
31 |
Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch |
Patch3: smeserver-phpmyadmin-4.0.10.2-bz11043.patch |
32 |
|
Patch4: smeserver-phpmyadmin-4.0.10.2-bz11408-httpport.patch |
33 |
|
Patch5: smeserver-phpmyadmin-4.0.10.2-bz12056-httpd24.patch |
34 |
|
Patch6: smeserver-phpmyadmin-4.0.10.2-bz12343-private.patch |
35 |
|
|
36 |
%description |
%description |
37 |
Implementation of phpMyAdmin for SME Server. |
Implementation of phpMyAdmin for SME Server. |
38 |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
Access with admin username/password via: https://yourdomain/phpmyadmin. |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-10.sme |
* Wed Oct 25 2023 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-14.sme |
42 |
|
- fix private access not respected for admin [SME: 12343] |
43 |
|
|
44 |
|
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-13.sme |
45 |
|
- update to httpd 2.4 access syntax [SME: 12056] |
46 |
|
|
47 |
|
* Sat Jul 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-12.sme |
48 |
|
- use $httpPort in place of hardcoded port 80 [SME: 11408] |
49 |
|
- update to httpd 2.4 access syntax [SME: 12056] |
50 |
|
|
51 |
|
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-11.sme |
52 |
- finish php74 pool integration [SME: 11043] |
- finish php74 pool integration [SME: 11043] |
53 |
|
fixed dir perms |
54 |
|
|
55 |
* 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 |
56 |
- add php pool template and remove disable unit.ini |
- add php pool template and remove disable unit.ini |
153 |
%patch1 -p1 |
%patch1 -p1 |
154 |
%patch2 -p1 |
%patch2 -p1 |
155 |
%patch3 -p1 |
%patch3 -p1 |
156 |
|
%patch4 -p1 |
157 |
|
%patch5 -p1 |
158 |
|
%patch6 -p1 |
159 |
|
|
160 |
%build |
%build |
161 |
%{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache} |
%{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache} |
168 |
(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) |
169 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
170 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
171 |
--dir /var/lib/php/phmyadmin/ 'attr(0755,root,www)' \ |
--dir /var/lib/php/phpmyadmin/ 'attr(0755,root,www)' \ |
172 |
--dir /var/lib/php/phmyadmin/tmp 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/tmp 'attr(0770,www,www)' \ |
173 |
--dir /var/lib/php/phmyadmin/opcache 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/opcache 'attr(0770,www,www)' \ |
174 |
--dir /var/lib/php/phmyadmin/session 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/session 'attr(0770,www,www)' \ |
175 |
--dir /var/lib/php/phmyadmin/wsdlcache 'attr(0770,www,www)' \ |
--dir /var/lib/php/phpmyadmin/wsdlcache 'attr(0770,www,www)' \ |
176 |
--dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \ |
--dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \ |
177 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
178 |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |
echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist |