/[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.1 - (hide annotations) (download)
Tue Jun 12 15:47:46 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-mysql-1_12_0-14_el4_sme
Import on branch sme7 of package e-smith-mysql-1.12.0-14.el4.sme.src.rpm

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

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