/[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.23 - (hide annotations) (download)
Thu Mar 4 20:17:44 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-19_el7_sme
Changes since 1.22: +12 -2 lines
* Thu Mar 04 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
- add property to enable  mysqld slow queries log [SME: 455]
  simply use SlowQueries as the amount of second and it is enabled
  remove property to stop logging
- more mysqld/mariadb parameter available with properties /templates  [SME: 4606]
- ease 4 databit characters with innodb [SME: 11404]
- redirect mariadb log from systemd to file [SME: 11425]

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

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