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

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

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


Revision 1.5 - (hide annotations) (download)
Mon Oct 6 15:28:07 2008 UTC (16 years, 1 month ago) by charliebrady
Branch: MAIN
Changes since 1.4: +1 -1 lines
Update changelog to reference bugzilla bug number.

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

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