/[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.7 - (show annotations) (download)
Mon Apr 11 20:32:10 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-6_el7_sme
Changes since 1.6: +25 -11 lines
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme
- Rename mysqld to mariadb [SME: 9438]

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

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