/[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.5 - (hide annotations) (download)
Thu Jun 6 17:17:30 2013 UTC (11 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-mysql-2_4_0-5_el6_sme
Changes since 1.4: +7 -2 lines
* Thu Jun 6 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
- Ignore mysql.event table [SME: 7603]

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

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