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

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

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


Revision 1.7 - (show annotations) (download)
Wed Jun 9 23:05:16 2010 UTC (14 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Change Changelog to reference the SME7 bug

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

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