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

Contents 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.24 - (show annotations) (download)
Sat Mar 13 14:35:58 2021 UTC (3 years, 7 months ago) by terryfage
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-20_el7_sme
Changes since 1.23: +7 -2 lines
* Sat Mar 14 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-20.sme
- fix restore of sme9 backup fails to start mysql.init [SME: 11453]

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

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