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

Contents of /rpms/e-smith-mysql/sme8/e-smith-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Mon Oct 6 14:32:55 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.2: +5 -23 lines
New stream

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

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