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

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