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

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

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


Revision 1.5 - (hide annotations) (download)
Thu Mar 31 12:57:40 2016 UTC (8 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-4_el7_sme
Changes since 1.4: +3 -3 lines
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- new path for pid file with mariadb [SME: 9407]
- my.cnf : Innodb needs to be active for mariadb [SME: 9406]

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

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