/[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.9 - (hide annotations) (download)
Mon Jun 7 14:04:07 2010 UTC (14 years, 4 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-mysql-2_2_0-4_el5_sme
Changes since 1.8: +6 -3 lines
* Mon Jun  7 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
- Fix %postun typo [SME: 6030]

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

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