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

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

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


Revision 1.3 - (show annotations) (download)
Fri Mar 18 11:11:54 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-2_el7_sme
Changes since 1.2: +6 -2 lines
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
- fix mysql-server not found [SME: 9345]
- now using mariadb-server and mariadb
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
  by assuming the date is correct and changing the weekday.
  Wed Mar 23 2001 --> Wed Mar 21 2001 or Fri Mar 23 2001 or Wed Mar 28 2001 or ....

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

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