/[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.12 - (hide annotations) (download)
Thu Jul 21 17:58:53 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-11_el7_sme
Changes since 1.11: +5 -2 lines
* Thu Jul 21 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
- fix broken link /etc/init.d/supervise/mariadb [SME: 9686]

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

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