/[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.4 - (hide annotations) (download)
Thu Mar 21 01:04:06 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-4_el6_sme
Changes since 1.3: +7 -2 lines
* Wed Mar 20 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
- Use --single-transaction in mysql-dump-tables [SME: 7497]

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

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