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

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

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


Revision 1.3 - (hide annotations) (download)
Sun Mar 17 03:57:00 2013 UTC (11 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-3_el6_sme
Changes since 1.2: +7 -2 lines
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
- Use mysql_upgrade instead of fix_privilege_tables [SME: 7467]

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

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