/[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.10 - (hide annotations) (download)
Thu Oct 28 18:15:40 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-mysql-2_2_0-5_el5_sme
Changes since 1.9: +7 -2 lines
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
- Fix stripping of starting numbers from script [SME: 6316]

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