/[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.7 - (show annotations) (download)
Tue Mar 18 02:42:43 2014 UTC (10 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-7_el6_sme
Changes since 1.6: +8 -2 lines
* Mon Mar 17 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme
- Use mysql_upgrade in 00_restore_dumped_dbs, by Terje Edseth [SME: 8166]

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

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