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

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

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


Revision 1.10 - (show annotations) (download)
Sat Apr 26 18:03:21 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-9_el6_sme, HEAD
Changes since 1.9: +7 -2 lines
* Sat Apr 26 2014 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme
- Move mysql logging to multilog [SME: 8358]

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

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