/[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.9 - (show annotations) (download)
Mon Jul 18 07:33:43 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-8_el7_sme
Changes since 1.8: +8 -2 lines
* Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- fix forgotten mysqld variables in various scripts [SME: 9438]
-  e-smith-mysql-2.6.0-mariadb_forgotten_var.patch

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

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