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

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

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


Revision 1.12 - (show annotations) (download)
Sun Apr 27 16:39:15 2014 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_2_0-7_el5_sme, HEAD
Changes since 1.11: +7 -2 lines
* Sun Apr 27 2014 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme
- Move mysql logging to multilog [SME: 8356]

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

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