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

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

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


Revision 1.17 - (hide annotations) (download)
Mon Aug 1 03:25:07 2022 UTC (22 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phpmyadmin-4_0_10_2-13_el7_sme
Changes since 1.16: +6 -2 lines
* Sun Jul 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 4.0.10.2-13.sme
- update to httpd 2.4 access syntax [SME: 12056]

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

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