/[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.6 - (show annotations) (download)
Sun Feb 2 20:19:03 2014 UTC (10 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-6_el6_sme
Changes since 1.5: +7 -2 lines
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
- Use mysql_upgrade --force due to upgrade to MySQL 5.1 [SME: 8166]

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

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