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

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

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


Revision 1.3 - (hide annotations) (download)
Tue Oct 7 18:44:56 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-mysql-2_0_0-1_el4_sme
Changes since 1.2: +7 -23 lines
New streams

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

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