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

Annotation 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.22 - (hide annotations) (download)
Wed Jan 27 19:46:06 2021 UTC (3 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-18_el7_sme
Changes since 1.21: +7 -4 lines
* Wed Jan 27 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
- fix backup fails in pre-backup in mysqldump [SME: 7827]

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

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