/[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.16 - (show annotations) (download)
Tue Dec 8 03:26:23 2020 UTC (3 years, 6 months ago) by jpp
Branch: MAIN
Changes since 1.15: +18 -1 lines
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
- e-smith-update event [SME: 11145]
- mariadb systemd integration [SME: 11021]
  move set.password and template
  create /usr/lib/systemd/system/mariadb.service.d/sme.conf
  create /sbin/e-smith/systemd/mariadb-initialize + chmod
  cleanup
- mysql.init systemd integration [SME: 11120]
  create mysql_init.service

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

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