/[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.8 - (show annotations) (download)
Mon Apr 11 20:45:32 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-7_el7_sme
Changes since 1.7: +7 -2 lines
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme
- Use default InnoDB settings [SME: 9439]

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

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