/[smecontribs]/rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec
ViewVC logotype

Contents of /rpms/smeserver-phpmyadmin/contribs10/smeserver-phpmyadmin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.18 - (show annotations) (download)
Wed Oct 25 19:47:08 2023 UTC (12 months, 2 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phpmyadmin-4_0_10_2-14_el7_sme, HEAD
Changes since 1.17: +7 -2 lines
* Wed Oct 25 2023 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-14.sme
- fix private access not respected for admin [SME: 12343]

1 # $Id: smeserver-phpmyadmin.spec,v 1.17 2022/08/01 03:25:07 jpp Exp $
2 # Authority: darrellmay
3 # Name: Darrell May
4
5 Summary: phpMyAdmin for SME Server
6 %define name smeserver-phpmyadmin
7 Name: %{name}
8 %define version 4.0.10.2
9 %define release 14
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Mitel/addon
14 Source: %{name}-%{version}.tar.gz
15 URL: http://www.phpmyadmin.net/
16 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17 BuildArchitectures: noarch
18 Requires: e-smith-base
19 Requires: phpMyAdmin >= 4.4.15.10
20 Requires: e-smith-release >= 10.0
21 Requires: e-smith-apache >= 2.6.0-19
22 Obsoletes: phpmyadmin,phpMyAdmin3
23 BuildRequires: e-smith-devtools
24 Obsoletes: e-smith-phpmyadmin
25 Obsoletes: smeserver-phpmyadmin <= 3.5.2.2-1
26 Obsoletes: smeserver-phpmyadmin-multiuser
27
28 Patch0: smeserver-phpmyadmin-4.0.10.2-Update-httpd-for-php-fpw-and-add-unit-file.patch
29 Patch1: smeserver-phpmyadmin-4.0.10.2-bz11043-add-blowfishsecret.patch
30 Patch2: smeserver-phpmyadmin-4.0.10.2-bz11043-configure-php-pool.patch
31 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
37 Implementation of phpMyAdmin for SME Server.
38 Access with admin username/password via: https://yourdomain/phpmyadmin.
39
40 %changelog
41 * 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]
53 fixed dir perms
54
55 * 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
57
58 * Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-7.sme
59 - fix BlowfishSecret [SME: 11043]
60 - Update minimum e-smith release version
61
62 * Wed Dec 16 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 4.0.10.2-6.sme
63 - fix patch file typo [SME: 11043]
64
65 * Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 4.0.10.2-5.sme
66 - Change httpd frament to php-fpw and add in .user.ini to set php vars [SME: 11043]
67
68 * Mon Apr 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 4.0.10.2-4.sme
69 - first import for contribs10
70
71 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 4.0.10.2-3.sme
72 - Initial release to contribs9
73
74 * Sun Sep 28 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.2-2.sme
75 - added a tmp folder other that the /tmp [SME:8577]
76 - added some db values to adjust php limits (PostMaxSize,UploadMaxSize,MemoryLimit)
77
78 * Sun Sep 28 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.2-1.sme
79 - added an event template on 'phpmyadmin-update'
80 - added a phpmyadmin.sql db to save settings in db
81 - new cool features (bookmarktable,relation,userconfig,table_info,column_info,history,
82 - recent,table_uiprefs,tracking,table_coords,pdf_pages,designer_coords)
83 - the http://url/setup page is now forbidden by apache
84 - a db 'status' exists now to disable simply phpmyadmin in httpd.conf
85 - removed the openbasedir of /tmp to /var/lib/phpMyAdmin/tmp
86
87 * Wed Sep 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.0.10.1-1.sme
88 - add memory value up to 500M
89 - add php upload/post up to 100M
90 - add session.use_trans_sid 0
91 - directory 'scripts' removed of httpd templates
92 - VersionCheck is off now
93
94 * Mon May 19 2014 stephane de labrusse <stephdl@de-labrusse.fr> 3.5.8.2-2
95 -first release to sme9
96 -added an event template on 'signal-event console-save'
97
98 * Sat Jun 22 2013 JP Pialasse <tests@pialasse.com> 3.5.2.2-6
99 - Obsolete multiuser [SME: 7685]
100
101 * Tue Jun 18 2013 JP Pialasse <tests@pialasse.com> 3.5.2.2-5
102 - added full 3.5 configuration to avoid errors [SME: 7153] [SME: 7194]
103 - incorporated multiuser contrib in this package [SME: 7628 7627 ]
104 - increased security [SME: 5007]
105 - configext.patch
106 - release bump to 4 to fix spec file
107 - patch1 to fix config.inc.php syntax error
108
109 * Thu Aug 06 2012 JP Pialasse aka Unnilennium <tests@pialasse.com> 3.5.2.2-2
110 - first version for SME 8
111 - adaptation for phpMyAdmin3 3.5.2.2
112
113 * Thu May 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.11.1.2-3
114 - Protect sensible data and prevent access error by setting
115 proper permissions to config.inc.php template [SME: 4343]
116
117 * Wed May 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl>
118 - Converted RPM to be an integrational RPM [SME: 4298]:
119 - Convert and move templates to RPMForge (Dag) install location [SME: 4339]
120 - Automatically expand phpmyadmin configuation file (config.php.inc) [SME: 4340]
121 - Remove PHPMyAdmin core [SME: 4341]
122
123 * Mon Apr 21 2008 Shad L. Lords <slords@mail.com>
124 - Prep for import into buildsys
125 - Clean up spec
126
127 * Fri Oct 19 2007 Darrell May <dmay@myezserver.com>
128 - accounts and configuration db phpmyadmin defaults added
129 - default access restricted to private (private|public)
130 - phpMyAdmin 2.11.1.2
131 - [ 2.11.1.2-0]
132 * Fri Mar 09 2007 Darrell May <dmay@myezserver.com>
133 - phpMyAdmin 2.10.0.2
134 - [ 2.10.0.2-0]
135 * Thu Oct 12 2006 Darrell May <dmay@myezserver.com>
136 - phpMyAdmin 2.9.0.2
137 - [ 2.9.0.2-0]
138 * Thu Dec 15 2005 Darrell May <dmay@myezserver.com>
139 - phpMyAdmin 2.6.4-pl4
140 - [ 2.6.4-pl4]
141 * Fri Apr 22 2005 Darrell May <dmay@myezserver.com>
142 - added support for SME 7.x
143 - [ 2.6.2-2]
144 * Mon Apr 18 2005 Darrell May <dmay@myezserver.com>
145 - Release 2.6.2 of phpMyAdmin
146 - change rpm name to smeserver-phpmyadmin
147 - change install dir to /opt/phpmyadmin
148 - [ 2.6.2-1]
149
150 %prep
151 %setup
152 %patch0 -p1
153 %patch1 -p1
154 %patch2 -p1
155 %patch3 -p1
156 %patch4 -p1
157 %patch5 -p1
158 %patch6 -p1
159
160 %build
161 %{__mkdir_p} root/var/lib/php/phpmyadmin/{tmp,session,opcache,wsdlcache}
162 %{__mkdir_p} root/var/log/php/phpmyadmin
163 perl createlinks
164
165 %install
166 /bin/rm -rf $RPM_BUILD_ROOT
167 rm -f %{name}-%{version}-filelist
168 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
169 /bin/rm -f %{name}-%{version}-filelist
170 /sbin/e-smith/genfilelist \
171 --dir /var/lib/php/phpmyadmin/ 'attr(0755,root,www)' \
172 --dir /var/lib/php/phpmyadmin/tmp 'attr(0770,www,www)' \
173 --dir /var/lib/php/phpmyadmin/opcache 'attr(0770,www,www)' \
174 --dir /var/lib/php/phpmyadmin/session 'attr(0770,www,www)' \
175 --dir /var/lib/php/phpmyadmin/wsdlcache 'attr(0770,www,www)' \
176 --dir /var/log/php/phpmyadmin 'attr(0770,root,www)' \
177 $RPM_BUILD_ROOT > %{name}-%{version}-filelist
178 echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
179 echo "%doc phpmyadmin.sql" >> %{name}-%{version}-filelist
180
181 %files -f %{name}-%{version}-filelist
182 %defattr(-,root,root)
183
184 %clean
185 rm -rf $RPM_BUILD_ROOT
186

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed