/[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.8 - (show annotations) (download)
Tue Mar 18 02:45:23 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
Changes since 1.7: +2 -1 lines
Updated changelof for accuracy

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

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