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

Annotation of /rpms/e-smith-mysql/sme9/e-smith-mysql.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (hide annotations) (download)
Tue Apr 15 14:36:54 2014 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-8_el6_sme
Changes since 1.8: +7 -2 lines
* Mon Apr 14 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
- Remove the information_schema [SME: 8325]

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

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