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

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

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


Revision 1.8 - (hide annotations) (download)
Mon Feb 23 13:01:35 2009 UTC (15 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-mysql-2_2_0-3_el5_sme
Changes since 1.7: +6 -3 lines
* Mon Feb 23 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme
- Rework log-error logic [SME: 4807]

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

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