/[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.25 - (show annotations) (download)
Fri Mar 19 02:48:48 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-21_el7_sme
Changes since 1.24: +7 -2 lines
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-21.sme
- fix wrong path for set password [SME: 11468]

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

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