/[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.4 - (hide annotations) (download)
Tue Dec 2 15:20:11 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-mysql-2_0_0-2_el4_sme
Changes since 1.3: +7 -2 lines
* Tue Dec 2 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2.sme
- Fix log-error detection algorithm [SME: 4807]

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

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