/[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.21 - (show annotations) (download)
Sun Dec 13 22:09:39 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-17_el7_sme
Changes since 1.20: +6 -2 lines
* Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
- expand 10mysql_upgrade and restart mysql.init on e-smith-mysql-update [SME: 11120]
  this to make sure mariadb upgrade fully and prevent residual 10mysql_upgrade stay in the way

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

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