/[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.5 - (hide annotations) (download)
Mon Feb 23 13:01:01 2009 UTC (15 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-mysql-2_0_0-3_el4_sme
Changes since 1.4: +6 -3 lines
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme
- Rework log-error logic [SME: 4807]

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

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