/[smeserver]/rpms/e-smith-mysql/sme10/e-smith-mysql.spec
ViewVC logotype

Annotation of /rpms/e-smith-mysql/sme10/e-smith-mysql.spec

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


Revision 1.26 - (hide annotations) (download)
Tue Aug 17 15:15:50 2021 UTC (3 years, 2 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-22_el7_sme, HEAD
Changes since 1.25: +7 -2 lines
* Tue Aug 17 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-22.sme
- Remove template and set default max_allowed_packet=16M

1 jcrisp 1.26 # $Id: e-smith-mysql.spec,v 1.25 2021/03/19 02:48:48 jpp Exp $
2 stephdl 1.1
3     Summary: e-smith specific mysql configuration and templates.
4     %define name e-smith-mysql
5     Name: %{name}
6     %define version 2.6.0
7 jcrisp 1.26 %define release 22
8 stephdl 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.xz
13 vip-ire 1.7 Patch0: e-smith-mysql-2.6.0-mariadb1.patch
14     Patch1: e-smith-mysql-2.6.0-mysqld2mariadb.patch
15 vip-ire 1.8 Patch2: e-smith-mysql-2.6.0-use_default_innodb_settings.patch
16 unnilennium 1.9 Patch3: e-smith-mysql-2.6.0-mariadb_forgotten_var.patch
17 stephdl 1.10 Patch4: e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch
18 unnilennium 1.14 Patch5: e-smith-mysql-2.6.0.bz9688.skipredirect.patch
19 jpp 1.15 Patch6: e-smith-mysql-2.6.0-bz11145-updateevent.patch
20 jpp 1.16 Patch7: e-smith-mysql-2.6.0-bz11021-mariadb2systemd.patch
21 jpp 1.17 Patch8: e-smith-mysql-2.6.0-bz11120-mysql.init2systemd.patch
22 jpp 1.22 Patch9: e-smith-mysql-2.6.0-bz7827-dumpfailure.patch
23 jpp 1.23 Patch10: e-smith-mysql-2.6.0-bz455-bz4606-bz11404-bz11425.patch
24 terryfage 1.24 Patch11: e-smith-mysql-2.6.0.bz11453-sme9restoreerror.patch
25 jpp 1.25 Patch12: e-smith-mysql-2.6.0-bz11468.patch
26 jcrisp 1.26 Patch13: e-smith-mysql-2.6.0.bz11672-max_allowed_packet.patch
27 jpp 1.15
28 stephdl 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29     BuildArchitectures: noarch
30 unnilennium 1.2 Requires: mariadb-server
31     Requires: mariadb
32 stephdl 1.1 Requires: e-smith-base
33     Requires: e-smith-lib >= 1.15.1-19
34     BuildRequires: e-smith-devtools >= 1.13.1-03
35     AutoReqProv: no
36    
37     %changelog
38 jcrisp 1.26 * Tue Aug 17 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-22.sme
39     - Remove template and set default max_allowed_packet=16M
40    
41 jpp 1.25 * Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-21.sme
42     - fix wrong path for set password [SME: 11468]
43    
44 terryfage 1.24 * Sat Mar 14 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme
45     - fix restore of sme9 backup fails to start mysql.init [SME: 11453]
46    
47 jpp 1.23 * Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
48     - add property to enable mysqld slow queries log [SME: 455]
49     simply use SlowQueries as the amount of second and it is enabled
50     remove property to stop logging
51     - more mysqld/mariadb parameter available with properties /templates [SME: 4606]
52     - ease 4 databit characters with innodb [SME: 11404]
53     - redirect mariadb log from systemd to file [SME: 11425]
54    
55 jpp 1.22 * Wed Jan 27 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
56     - fix backup fails in pre-backup in mysqldump [SME: 7827]
57    
58 jpp 1.21 * Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
59     - expand 10mysql_upgrade and restart mysql.init on e-smith-mysql-update [SME: 11120]
60     this to make sure mariadb upgrade fully and prevent residual 10mysql_upgrade stay in the way
61    
62 jpp 1.20 * Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
63     - fix issue with 10mysql_upgrade crashing mariadb [SME: 11120]
64     also removed noise from spec file
65    
66 jpp 1.18 * Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
67 jpp 1.15 - e-smith-update event [SME: 11145]
68     - mariadb systemd integration [SME: 11021]
69     move set.password and template
70     create /usr/lib/systemd/system/mariadb.service.d/sme.conf
71     create /sbin/e-smith/systemd/mariadb-initialize + chmod
72 jpp 1.18 cleanup and remove old /var/service/mariadb
73 jpp 1.15 - mysql.init systemd integration [SME: 11120]
74     create mysql_init.service
75    
76    
77 unnilennium 1.14 * Sun Jul 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
78     - systemd skip redirect [SME: 9688]
79    
80 stephdl 1.13 * Sat Jul 23 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-12.sme
81     - Corrected a typo in e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch
82     - [SME: 9671]
83    
84 unnilennium 1.12 * Thu Jul 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
85     - fix broken link /etc/init.d/supervise/mariadb [SME: 9686]
86    
87 stephdl 1.11 * Mon Jul 18 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
88 stephdl 1.10 - Remove Dummy database from backup and restoration [SME: 9671]
89     - Added e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch
90    
91 unnilennium 1.9 * Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
92     - fix forgotten mysqld variables in various scripts [SME: 9438]
93     - e-smith-mysql-2.6.0-mariadb_forgotten_var.patch
94    
95 vip-ire 1.8 * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme
96     - Use default InnoDB settings [SME: 9439]
97    
98 vip-ire 1.7 * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme
99     - Rename mysqld to mariadb [SME: 9438]
100    
101 vip-ire 1.6 * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme
102     - Remove uneeded scriplets %post and %postun [SME: 9422]
103    
104 unnilennium 1.5 * Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
105 unnilennium 1.4 - new path for pid file with mariadb [SME: 9407]
106     - my.cnf : Innodb needs to be active for mariadb [SME: 9406]
107    
108 unnilennium 1.2 * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
109     - fix mysql-server not found [SME: 9345]
110     - now using mariadb-server and mariadb
111 unnilennium 1.3 - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
112     by assuming the date is correct and changing the weekday.
113     Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or ....
114 unnilennium 1.2
115 stephdl 1.1 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
116     - Initial release to sme10
117    
118     * Sat Apr 26 2014 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme
119     - Move mysql logging to multilog [SME: 8358]
120    
121     * Mon Apr 14 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
122     - Remove the information_schema [SME: 8325]
123    
124     * Mon Mar 17 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme
125     - Use mysql_upgrade in 00_restore_dumped_dbs, by Terje Edseth [SME: 8166]
126     - Rename 10fix_privilege_tables to 10mysql_upgrade to reduce confusion.
127    
128     * Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
129     - Use mysql_upgrade --force due to upgrade to MySQL 5.1 [SME: 8166]
130    
131     * Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
132     - Ignore mysql.event table [SME: 7603]
133    
134     * Wed Mar 20 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
135     - Use --single-transaction in mysql-dump-tables [SME: 7497]
136    
137     * Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
138     - Use mysql_upgrade instead of fix_privilege_tables [SME: 7467]
139    
140     * Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme
141     - Remove obsolete innodb_log_arch_dir directive [SME: 7363]
142    
143     * Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
144     - Roll new stream for sme9
145    
146     * Tue Mar 1 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
147     - Cater for open_files_limit option my.cnf through database and template [SME: 6438]
148    
149     * Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
150     - Fix stripping of starting numbers from script [SME: 6316]
151    
152     * Mon Jun 7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
153     - Fix %postun typo [SME: 6030]
154    
155     * Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme
156     - Rework log-error logic [SME: 4807]
157    
158     * Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme
159     - Fix log-error detection algorithm [SME: 4807]
160    
161     * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
162     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
163    
164     * Mon Oct 06 2008 Charlie Brady <charlie_brady@mitel.com> 1.13.0-2
165     - Capture mysql.init error logs to syslog. [SME: 2918]
166    
167     * Mon Oct 6 2008 Stephen Noble <support@dungog.net> 1.13.0-1
168     - Roll new dev stream [SME: 4627]
169    
170     * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.12.0-15
171     - quote "$1" in post uninstall script [SME: 349]
172    
173     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
174     - Clean up spec so package can be built by koji/plague
175    
176     * Sat Apr 21 2007 Shad L. Lords <slords@mail.com> 1.12.0-14
177     - Force upgrade script to run even with errors. [SME: 2530]
178    
179     * Mon Apr 9 2007 Stephen Noble <Support@dungog.net> 1.12.0-13
180     - Add db settings to max_allowed_packet in my.cnf [SME: 2149]
181    
182     * Mon Apr 9 2007 Stephen Noble <Support@dungog.net> 1.12.0-12
183     - Add to my.cnf [SME: 2149]
184    
185     * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.12.0-11
186     - Move user to mysql section. [SME: 1474]
187    
188     * Wed Dec 27 2006 Shad L. Lords <slords@mail.com> 1.12.0-10
189     - Split backups out by database name [SME: 1677]
190    
191     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
192     - Update to new release naming. No functional changes.
193     - Make Packager generic
194    
195     * Thu Nov 9 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-08
196     - Ensure that failed restore is detected during mysql.init. [SME: 1652]
197    
198     * Mon Sep 25 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-07
199     - Fix pre-backup failure if mysqld is disabled in config db. [SME: 1937]
200    
201     * Tue Jun 27 2006 Filippo Carletti <carletti@mobilia.it> 1.12.0-06
202     - Execute mysql_install_db using sh [SME: 1654]
203    
204     * Sun Apr 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.12.0-05
205     - Make innodb optional, and configure it as recommended, if enabled.
206     [SME: 1013]
207    
208     * Tue Apr 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-04
209     - Add missing semi-colon to FLUSH PRIVILEGES statement [SME: 1229]
210    
211     * Mon Apr 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-03
212     - Revise last patch - it backed out the db restore [SME: 1229]
213    
214     * Mon Apr 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-02
215     - Move expansion of user table into set.password so it works
216     for command line runs as well as db restores [SME: 1229]
217    
218     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-01
219     - Roll stable stream version. [SME: 1016]
220    
221     * Mon Feb 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.1-16
222     - Update dependencies to include mysql-server RPM. Remove obsolete
223     dependency on e-smith-packetfilter. [SME: 737]
224    
225     * Fri Jan 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-15
226     - Remove explicit permission setting for /home/e-smith/db from
227     genfilelist call [SME: 371]
228    
229     * Sun Jan 1 2006 Charlie Brady <charlieb@e-smith.com> 1.11.1-14
230     - Ensure that mysql is restarted after restore, and avoid race conditions
231     during mysqld restart during fix_privilege_tables. [SME: 73]
232     - Remove unnecessary mkdirs in build section - they're done by createlinks
233     script.
234    
235     * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-13
236     - Call fix_privilege_tables much earlier and call mysqladmin shutdown
237     after doing so - Thanks Paul Floor [SME: 73]
238    
239     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-12
240     - Call mysql fix_privilege_tables in mysql.init [SME: 73]
241    
242     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.1-11
243     - Bump release number only
244    
245     * Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com>
246     - [1.11.1-10]
247     - Reset the format of the MySQL root password for old dumps [SF: 1325378]
248    
249     * Wed Aug 31 2005 Charlie Brady <charlieb@e-smith.com>
250     - [1.11.1-09]
251     - Avoid error from db-delete action if db files are not present
252     (e.g. because they have already been deleted). [SF: 1273797]
253    
254     * Mon Aug 29 2005 Charlie Brady <charlieb@e-smith.com>
255     - [1.11.1-08]
256     - Fix restore of dumped tables after restore from backup.
257     Reset root password after restore of dumped dbs. [SF: 1273797]
258    
259     * Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com>
260     - [1.11.1-07]
261     - Ensure that 'status' property of mysql.init is honoured at
262     startup. [MN00061795]
263    
264     * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
265     - [1.11.1-06]
266     - Work around race condition between mysql startup and
267     mysql.init. [SF: 1217966]
268    
269     * Fri Apr 29 2005 Charlie Brady <charlieb@e-smith.com>
270     - [1.11.1-05]
271     - Use -f flag in mysql-delete-dumped-tables so that backup
272     doesn't fail if the file is missing.
273    
274     * Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com>
275     - [1.11.1-04]
276     - Change /root/.my.cnf template to use esmith::util::LdapPassword
277     rather than read of ldap.pw file, to eliminate ordering
278     depenendence on ldap.pw template expansion.
279    
280     * Fri Apr 15 2005 Charlie Brady <charlieb@e-smith.com>
281     - [1.11.1-03]
282     - Restore old mysql.init behaviour, to leave any failed scripts
283     behind for a later attempt, or for admin investigation. [MN00079643]
284    
285     * Wed Apr 13 2005 Charlie Brady <charlieb@e-smith.com>
286     - [1.11.1-02]
287     - Fix up import of tables after a restore. Remove a few bogus
288     symlinks.
289    
290     * Wed Apr 13 2005 Charlie Brady <charlieb@e-smith.com>
291     - [1.11.1-01]
292     - Roll new development stream - 1.11.1
293    
294     * Mon Apr 11 2005 Charlie Brady <charlieb@e-smith.com>
295     - [1.11.0-16]
296     - Fix typo and runtime error in run script. Detect table dump
297     to be restored and set it up for mysql.init to restore it.
298    
299     * Sun Apr 10 2005 Charlie Brady <charlieb@e-smith.com>
300     - [1.11.0-15]
301     - Remove trap stuff in run script (which works around mysqld brokenness)
302     and add custom control/{t,q,d,i} scripts.
303    
304     * Sun Apr 10 2005 Charlie Brady <charlieb@e-smith.com>
305     - [1.11.0-14]
306     - Remove obsolete e-smith-packetfilter Requires: header.
307     - Do db initialisation in run script, as required, rather than via
308     special action script.
309     - Replace all restart-, start- and reload- actions with calls to
310     'adjust-services'. Update e-smith-lib version dependency. [MN00065576]
311     - Use generic_template_expand action where possible, in place
312     of specific actions. Update e-smith-lib dependency. [MN00064130]
313    
314     * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
315     - [1.11.0-13]
316     - Fix permissions on log/run script. Add missing /var/log/mysqld dir.
317     [charlieb MN00061220]
318    
319     * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
320     - [1.11.0-12]
321     - Add missing down file in service directory.. Fix permissions
322     on run script. [charlieb MN00061220]
323    
324     * Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com>
325     - [1.11.0-11]
326     - Add missing /service/mysqld symlink [charlieb MN00061220]
327    
328     * Mon Dec 20 2004 Charlie Brady <charlieb@e-smith.com>
329     - [1.11.0-10]
330     - Run mysqld under supervise. [charlieb MN00061220]
331     - Replace deprecated Copyright header with License. [charlieb]
332    
333     * Tue Jan 6 2004 Michael Soulier <msoulier@e-smith.com>
334     - [1.11.0-09]
335     - Added restart to valid arguments to mysql.init. [msoulier 10866]
336    
337     * Tue Jan 6 2004 Michael Soulier <msoulier@e-smith.com>
338     - [1.11.0-08]
339     - Fixed mysql.init leaving behind failed scripts, and the lack of proper
340     initscript command-line arguments. [msoulier 10866]
341    
342     * Wed Dec 24 2003 Tony Clayton <apc@e-smith.com>
343     - [1.11.0-07]
344     - Updating comments in my.cnf [tonyc 10862]
345     - Don't show redundant log-error option in mysqld_safe [tonyc 10862]
346    
347     * Mon Dec 22 2003 Tony Clayton <apc@e-smith.com>
348     - [1.11.0-06]
349     - fixing initscript symlink [tonyc 10862]
350    
351     * Mon Dec 22 2003 Tony Clayton <apc@e-smith.com>
352     - [1.11.0-05]
353     - Add /var/run/mysqld dir for mysql.com compatibility [tonyc 10862]
354     - Fix initscript symlink [tonyc 10862]
355    
356     * Mon Dec 22 2003 Tony Clayton <apc@e-smith.com>
357     - [1.11.0-04]
358     - Add initscript symlink for mysql.com compatibility [tonyc 10862]
359     - Adding /etc/logrotate.d/mysqld templates [tonyc 8662]
360    
361     * Thu Dec 18 2003 Tony Clayton <apc@e-smith.com>
362     - [1.11.0-03]
363     - Clean up /etc/my.cnf templates and add comments [tonyc 10862]
364     - Add a more --user=mysql options to actions for 100% coverage [tonyc 10862]
365     - Remove redundant basedir/datadir options from actions [tonyc 10862]
366     - Clean up mysql-preload fork/exec stuff [tonyc 10862]
367    
368     * Tue Dec 16 2003 Tony Clayton <apc@e-smith.com>
369     - [1.11.0-02]
370     - Add --user=mysql to mysqld args in conf-mysql-password [tonyc 10853]
371     - Future-proof /etc/my.cnf for s/safe_mysqld/mysqld_safe/ change [tonyc 8662]
372    
373     * Tue Dec 16 2003 Tony Clayton <apc@e-smith.com>
374     - [1.11.0-01]
375     - Changing version to development stream number - 1.11.0
376    
377     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
378     - [1.10.0-01]
379     - Changing version to stable stream number - 1.10.0
380    
381     * Wed Apr 23 2003 Charlie Brady <charlieb@e-smith.com>
382     - [1.9.0-03]
383     - Remove stray " in mysql-dump-tables. [charlieb 8475]
384    
385     * Tue Apr 1 2003 Charlie Brady <charlieb@e-smith.com>
386     - [1.9.0-02]
387     - Restrict mysql by default to use only unix domain socket. [charlieb 6430]
388     - Change mysql dump in pre-backup to use quotes, to fix backup/restore problem.
389     [charlieb 7953]
390     - Remove conf-mysql-startup - use db initialisation fragments instead
391     [charlieb 5665]
392    
393     * Tue Apr 1 2003 Charlie Brady <charlieb@e-smith.com>
394     - [1.9.0-01]
395     - Roll development version to 1.9.0
396    
397     * Mon Mar 17 2003 Lijie Deng <lijied@e-smith.com>
398     - [1.8.0-03]
399     - Deleted template-begin/end file [lijied 3295]
400    
401     * Thu Jan 23 2003 Charlie Brady <charlieb@e-smith.com>
402     - [1.8.0-02]
403     - Fix typo in mysql-restart action script (mysql => mysqld). [charlieb 4774]
404    
405     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
406     - [1.8.0-01]
407     - Rolling stable version number to 1.8.0
408    
409     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
410     - [1.8.0-01]
411     - Rolling stable version number to 1.8.0
412    
413     * Wed Sep 25 2002 Charlie Brady <charlieb@e-smith.com>
414     - [1.7.4-10]
415     - Reverse the recent logic change in mysql.init, now that action() function
416     in /etc/rc.d/init.d/functions is repaired. Replace deprecated use
417     of backticks. [charlieb 4728]
418    
419     * Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com>
420     - [1.7.4-09]
421     - Actually expand /etc/my.cnf template - that's what it's for! [charlieb 4731]
422    
423     * Mon Sep 23 2002 Charlie Brady <charlieb@e-smith.com>
424     - [1.7.4-08]
425     - Fix logic problem in mysql.init [charlieb 4728]
426    
427     * Tue Sep 10 2002 Charlie Brady <charlieb@e-smith.com>
428     - [1.7.4-07]
429     - Add fragment to my.cnf template to disable (for now) innoDB tables, and
430     hence prevent log file noise. [charlieb 4731]
431    
432     * Mon Sep 9 2002 Charlie Brady <charlieb@e-smith.com>
433     - [1.7.4-06]
434     - Update mysql-restart action and link into timezone-update event
435     [charlieb 4774]
436    
437     * Mon Sep 9 2002 Charlie Brady <charlieb@e-smith.com>
438     - [1.7.4-05]
439     - Set $HOME in mysql.init script itself, otherwise it's not set when
440     run from the rc run script. Fix filenames displayed in progress message.
441     [charlieb 4782]
442     - Remove redundant mysql.conf action script [charlieb 4782]
443    
444     * Fri Sep 6 2002 Charlie Brady <charlieb@e-smith.com>
445     - [1.7.4-04]
446     - Create newly required email-update event directory. [charlieb 4782]
447    
448     * Fri Sep 6 2002 Charlie Brady <charlieb@e-smith.com>
449     - [1.7.4-03]
450     - Change mysql-dump-tables and mysql-delete-dumps events to pre-backup and
451     post-backup events. [charlieb 2745]
452     - Add mysql-start-if-required action, which checks if mysqld is running,
453     and start it, then runs mysql.init, if not. Linked into email-update event.
454     [charlieb 4782]
455     - Redo conf-mysql-startup using ConfigDB and remove no longer necessary
456     serviceControl() calls. [charlieb 4782]
457     - Redo mysql-conf using esmith::templates. [charlieb 4782]
458     - Change mysql.init script so that it can run programs or just load sql.
459     [charlieb 4782]
460    
461     * Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com>
462     - [1.7.4-02]
463     - Create missing /etc/e-smith/sql/init directory [charlieb 4333]
464    
465     * Thu Aug 22 2002 Charlie Brady <charlieb@e-smith.com>
466     - [1.7.4-01]
467     - Remove 45DenyMySQL template fragment - it's no longer needed since we
468     are using connection tracking. [charlieb 4499]
469    
470     * Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com>
471     - [1.7.3-01]
472     - Add rc7.d symlinks and don't set obsolete InitscriptsOrder property
473     of services. [charlieb 4458]
474    
475     * Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com>
476     - [1.7.2-01]
477     - Change masq script fragment to use iptables. [charlieb 1268]
478    
479     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
480     - [1.7.1-01]
481     - Test build to verify CVS conversion
482    
483     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
484     - [1.7.0-01]
485     - rollRPM: Rolled version number to 1.7.0-01. Includes patches up to 1.6.0-01.
486    
487     * Tue Dec 11 2001 Jason Miller <jay@e-smith.com>
488     - [1.6.0-01]
489     - rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-03.
490    
491     * Thu Dec 6 2001 Adrian Chung <adrianc@e-smith.com>
492     - [1.5.0-03]
493     - Adding more verbose error messages to mysql-dump-tables.
494     - It should exit 0 if an error occurs, it should exit 1, and complain.
495    
496     * Wed Oct 31 2001 Adrian Chung <adrianc@e-smith.com>
497     - [1.5.0-02]
498     - mysql-restart now restarts mysql if it is running, rather
499     than only starting it if it is stopped.
500     - mysql-shutdown has been added
501     - conf-mysql is now mysql-initialize-db
502     - new template /etc/my.cnf added
503     - new action mysql-conf which expands /etc/my.cnf linked to
504     bootstrap-console-save
505    
506     * Mon Oct 29 2001 Adrian Chung <mac@e-smith.com>
507     - [1.5.0-01]
508     - Rolled version number to 1.5.0-01. Includes patches upto 1.4.0-03.
509     - Removed directive to remove post-restore event.
510    
511     * Tue Aug 28 2001 Gordon Rowell <gordonr@e-smith.com>
512     - [1.4.0-03]
513     - Removed deprecated post-restore event directory
514    
515     * Fri Aug 17 2001 gordonr
516     - [1.4.0-02]
517     - Autorebuild by rebuildRPM
518    
519     * Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com>
520     - [1.4.0-01]
521     - Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-18.
522    
523     * Wed Aug 08 2001 Tony Clayton <tonyc@e-smith.com>
524     - [1.3.0-18]
525     - force mysql.init to sort files in init directory
526    
527     * Tue Aug 7 2001 Charlie Brady <charlieb@e-smith.com>
528     - [1.3.0-17]
529     - Fix uninitialised variable problem in masq fragment.
530    
531     * Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com>
532     - [1.3.0-16]
533     - Added use esmith::util to mysql-dump-tables
534    
535     * Wed Jul 04 2001 Gordon Rowell <gordonr@e-smith.com>
536     - [1.3.0-15]
537     - Use esmith::util::LdapPassword rather than direct file read
538    
539     * Tue May 29 2001 Tony Clayton <tonyc@e-smith.com>
540     - [1.3.0-14]
541     - fixed actions that had tied %conf when calling serviceControl (2 actions)
542    
543     * Sat Apr 07 2001 Gordon Rowell <gordonr@e-smith.com>
544     - [1.3.0-13]
545     - Forward port patches from 1.2.0-05 to 1.2.0-08
546    
547     * Fri Apr 06 2001 Tony Clayton <tonyc@e-smith.com>
548     - [1.2.0-08]
549     - fixed mkdir calls in mysql-delete-dumped-tables (arguments in wrong order)
550    
551     * Thu Apr 05 2001 Tony Clayton <tonyc@e-smith.com>
552     - [1.3.0-12]
553     - force mysql.init to print to stderr instead of stout
554    
555 unnilennium 1.3 * Fri Mar 23 2001 Tony Clayton <tonyc@e-smith.com>
556     Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or ....
557 stephdl 1.1 - [1.3.0-11]
558     - fixed uninitialized value error in conf-mysql-startup
559    
560     * Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com>
561     - [1.3.0-10]
562     - fixed error on empty glob in mysql.init
563    
564     * Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com>
565     - [1.3.0-09]
566     - fixed harmless errors thrown by mysql.init
567    
568     * Wed Mar 21 2001 Tony Clayton <tonyc@e-smith.com>
569     - [1.3.0-08]
570     - fixed tie bug in conf-mysql-startup script which prevented the mysqld service
571     from being initialized properly.
572    
573     * Thu Mar 15 2001 Tony Clayton <tonyc@e-smith.com>
574     - [1.3.0-07]
575     - created mysql.init initscript
576     - added serviceControl code for mysql.init in conf-mysql-startup
577    
578     * Sat Mar 10 2001 Tony Clayton <tonyc@e-smith.com>
579     - [1.3.0-06]
580     - fixed mysql call in /sbin/e-smith/mysql-preload
581    
582     * Sat Mar 10 2001 Tony Clayton <tonyc@e-smith.com>
583     - [1.3.0-05]
584     - fixed bugs in /sbin/e-smith/mysql-preload
585    
586     * Fri Mar 9 2001 Adrian Chung <adrianc@e-smith.com>
587     - [1.3.0-04]
588     - added /sbin/e-smith/mysql-preload
589    
590     * Sat Mar 3 2001 Charlie Brady <charlieb@e-smith.com>
591     - [1.2.0-07]
592     - add packetfilter template fragment to deny tcp/3306
593     Make packet filter fragment depend on the service db. Only block
594     TCP SYN packets.
595     - add Requires for e-smith-packetfilter.
596     - Add required permissions parameter to mkdir calls.
597    
598     * Thu Mar 1 2001 Charlie Brady <charlieb@e-smith.com>
599     - [1.3.0-03]
600     - Make packet filter fragment depend on the service db. Only block
601     TCP SYN packets.
602     - Add required permissions parameter to mkdir calls.
603    
604     * Thu Mar 1 2001 Adrian Chung <adrianc@e-smith.com>
605     - [1.3.0-02]
606     - add packetfilter template fragment to deny tcp/3306
607     - add Requires for e-smith-packetfilter.
608    
609     * Thu Mar 1 2001 Adrian Chung <adrianc@e-smith.com>
610     - [1.3.0-01]
611     - Development stream, includes all patches up to and including
612     1.2.0-05.
613     - Ported Charlie's MySQL->mysql requires change to development
614     stream. Was 1.2.0-06, but not built.
615    
616     * Fri Feb 16 2001 Adrian Chung <adrianc@e-smith.com>
617     - [1.2.0-05]
618     - changed -C option to useradd to a -c for comments.
619    
620     * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
621     - Rolling release number for GPG signing.
622    
623     * Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com>
624     - [1.2.0-03]
625     - changed conf-mysql-account to 08 instead of 05.
626    
627     * Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com>
628     - [1.2.0-02]
629     - remove rc0.d/rc6.d symlinks and replace with links to
630     e-smith-service instead.
631    
632     * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
633     - [1.2.0-01]
634     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-31.
635    
636     * Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com>
637     - [1.1.0-31]
638     - take expansion of logrotate.d/mysqld template out
639     of conf-mysqld
640    
641     * Wed Jan 24 2001 Adrian Chung <adrianc@e-smith.com>
642     - [1.1.0-30]
643     - leave logrotate.d/mysqld alone now, back out patch
644     - expanding /root/.my.cnf with the password alleviates
645     need to pass -p to mysqladmin
646    
647     * Wed Jan 24 2001 Adrian Chung <adrianc@e-smith.com>
648     - [1.1.0-29]
649     - expand logrotate.d/mysqld template
650     - add template directory for logrotate.d/mysqld
651    
652     * Wed Jan 24 2001 Charlie Brady <charlieb@e-smith.com>
653     - [1.1.0-28]
654     - Create new mysql-conf-account script - set up mysql account and add it
655     to the accounts db. Called from post-install and post-upgrade
656    
657     * Wed Jan 17 2001 Adrian Chung <adrianc@e-smith.com>
658     - [1.1.0-27]
659     - default mysql to enabled
660    
661     * Wed Jan 17 2001 Peter Samuel <peters@e-smith.com>
662     - [1.1.0-26]
663     - added mysql-delete-dumped-tables action to post-upgrade event
664    
665     * Wed Jan 17 2001 Peter Samuel <peters@e-smith.com>
666     - [1.1.0-25]
667     - mysql-dump-tables and mysql-import-tables actions do nothing if mysqld
668     is not running.
669     - mysql-dump-tables action does nothing if the dump directory does
670     not exist.
671     - mysql-import-tables action does nothing if there is no dump file from
672     which to import.
673     - created 2 new events - mysql-delete-dumps and mysql-dump-tables
674     - removed mysql-import-tables action from post-restore
675     - added mysql-import-tables action to post-upgrade
676     - created new action mysql-delete-dumped-tables
677     - added patch22 to list of patches to be applied - must have been
678     missed in 1.1.0-24.
679    
680     * Sat Jan 13 2001 Adrian Chung <adrianc@e-smith.com>
681     - [1.1.0-24]
682     - typo $action => restart
683    
684     * Sat Jan 13 2001 Adrian Chung <adrianc@e-smith.com>
685     - [1.1.0-23]
686     - mysql-{import,dump}-tables checks for enabled status of mysqld
687     before attempting to dump/import
688    
689     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
690     - [1.1.0-22]
691     - changed "Couldn't $action mysqld" to "Couldn't restart mysqld".
692    
693     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
694     - [1.1.0-21]
695     - $ in front of ENV{'PATH'}
696    
697     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
698     - [1.1.0-20]
699     - add PATH setting to conf-mysql
700    
701     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
702     - [1.1.0-19]
703     - get rid of --no-defaults
704    
705     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
706     - [1.1.0-18]
707     - --force mysql_install_db
708    
709     * Fri Jan 12 2001 Tony Clayton <tonyc@e-smith.com>
710     - [1.1.0-17]
711     - converted to using serviceControl
712    
713     * Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com>
714     - [1.1.0-16]
715     - conf-mysql needs to run even if the service isn't enabled
716     so that during runtime, it can be enabled, and just go.
717    
718     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
719     - [1.1.0-15]
720     - datadir check should be /var/lib/mysql/mysql.
721    
722     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
723     - [1.1.0-14]
724     - conf-mysql-password checks for MySQL datadir first
725     - mysql-{dump,import}-tables moved to
726     /etc/e-smith/events/actions
727     - mysql-import-tables added to post-restore action
728    
729     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
730     - [1.1.0-13]
731     - conf-mysql-password resets the root password, and
732     gets rid of two blank account entries
733     - /sbin/e-smith/mysql-dump-tables has been added
734     which dumps mysql.dump to /home/e-smith/db/mysql
735     - /sbin/e-smith/mysql-import-tables has been added
736     which imports a mysql.dump text file back into a
737     running system
738    
739     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
740     - [1.1.0-12]
741     - conf-mysql-password now runs in console-save as well.
742     - if the system is started up without mysqld enabled,
743     a password won't be set, since there are no mysql tables
744     initialized yet.
745    
746     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
747     - [1.1.0-11]
748     - conf-mysql-password runs without checking whether mysql
749     is enabled. It does not require mysqld to be started, and
750     should always at least keep the root password in sync, in
751     case mysqld is enabled, and started during a running system
752     session.
753    
754     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
755     - [1.1.0-10]
756     - add mysql-conf-startup to post-install/upgrade.
757    
758     * Thu Jan 11 2001 Adrian Chung <adrianc@e-smith.com>
759     - [1.1.0-9]
760     - make conf-mysql-password set the mysql password, instead of
761     setting up a once-run script.
762    
763     * Wed Jan 10 2001 Charlie Brady <charlieb@e-smith.com>
764     - [1.1.0-8]
765     - Create new mysql-conf-startup script - split from mysql-conf
766     - Create new bootstrap-console-save event and install mysql-conf into it
767    
768     * Mon Dec 18 2000 Adrian Chung <adrianc@e-smith.com>
769     - [1.1.0-7]
770     - added configuration database to db command.(typo).
771    
772     * Mon Dec 18 2000 Adrian Chung <adrianc@e-smith.com>
773     - [1.1.0-6]
774     - added UnsavedChanges wrapper around script so that it resets
775     UnsavedChanges flag appropriately.
776    
777     * Fri Dec 15 2000 Adrian Chung <adrianc@e-smith.com>
778     - Added chmod 0755 for mysqld-password init script.
779     - Moved /etc/etc/rc.d to /etc/rc.d
780    
781     * Fri Dec 15 2000 Adrian Chung <adrianc@e-smith.com>
782     - Added conf-mysql-password to post-install which sets
783     up mysqld-password in rc7.d to be run once to set the
784     password. The mysqld-password script removes it's link
785     from runlevel 7 and updates the configuration/services
786     database.
787    
788     * Fri Nov 24 2000 Adrian Chung <adrianc@e-smith.com>
789     - Changed mysql to mysqld.
790    
791     * Wed Nov 22 2000 Adrian Chung <adrianc@e-smith.com>
792     - Minor modifications to conf-mysql script to make it work
793     with the RH7.0 version of mysql.
794    
795     * Wed Nov 22 2000 Adrian Chung <adrianc@e-smith.com>
796     - Rolled to 1.1.0, for 4.1/7.0 stream. Changed mysql to mysqld.
797    
798     * Tue Nov 14 2000 Adrian Chung <adrianc@e-smith.com>
799     - initial release
800    
801     %description
802     This package adds necessary startup and configuration items for
803     mysql.
804    
805     %prep
806     %setup
807 unnilennium 1.4 %patch0 -p1
808 vip-ire 1.7 %patch1 -p1
809 vip-ire 1.8 %patch2 -p1
810 unnilennium 1.9 %patch3 -p1
811 stephdl 1.10 %patch4 -p1
812 unnilennium 1.14 %patch5 -p1
813 vip-ire 1.7 # mysqld renamed to mariadb [SME: 9438]
814     # TODO: remove on next tarball creation
815     rm -f root/service/mysqld
816     rm -rf root/var/service/mysqld
817     rm -rf root/var/run/
818     rm -rf root/var/log/mysqld
819     rm -f root/etc/rc.d/init.d/supervise/mysqld
820     rm -f root/etc/rc.d/rc7.d/S50mysqld
821     mkdir -p root/var/log/mariadb.run
822 jpp 1.15 %patch6 -p1
823 jpp 1.16 # move mariadb to systemd
824     %patch7 -p1
825     rm -rf root/etc/e-smith/templates.metadata/var/service
826     rm -rf root/etc/e-smith/templates/var/service/mariadb
827     rm -rf root/var/service
828     rm -rf root/service
829     rm -rf root/etc/rc.d/init.d/supervise
830 jpp 1.17 rm -rf root/var/log
831     # move mysql.init
832     %patch8 -p1
833     rm -rf root/etc/rc.d/rc7.d
834 jpp 1.22 %patch9 -p1
835 jpp 1.23 %patch10 -p1
836 terryfage 1.24 %patch11 -p1
837 jpp 1.25 %patch12 -p1
838 jcrisp 1.26 %patch13 -p1
839 stephdl 1.1
840     %build
841     perl createlinks
842    
843     %install
844     rm -rf $RPM_BUILD_ROOT
845     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
846     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
847 jpp 1.16 --file /sbin/e-smith/systemd/mariadb-initialize 'attr(0554,root,root)' \
848 vip-ire 1.7 --dir '/var/log/mariadb.run' 'attr(2750,smelog,smelog)' \
849 stephdl 1.1 --dir '/home/e-smith/db/mysql' 'attr(0750,root,root)' \
850     > %{name}-%{version}-filelist
851     echo "%doc COPYING" >> %{name}-%{version}-filelist
852    
853     %clean
854     rm -rf $RPM_BUILD_ROOT
855    
856 jpp 1.16 %pre
857     if [ $1 -gt 1 ] ; then
858     if [ -e /var/service/mariadb/run ] ; then
859     /usr/bin/sv d mariadb
860     /usr/bin/sv d mariadb/log
861     fi
862     fi
863    
864 stephdl 1.1 %post
865    
866     %postun
867    
868     %files -f %{name}-%{version}-filelist
869     %defattr(-,root,root)

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