/[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.20 - (show annotations) (download)
Thu Dec 10 04:25:50 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-16_el7_sme
Changes since 1.19: +6 -12 lines
* Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
- fix issue with 10mysql_upgrade crashing mariadb [SME: 11120]
  also removed noise from spec file

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

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