/[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.6 - (hide annotations) (download)
Mon Apr 11 19:12:05 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-5_el7_sme
Changes since 1.5: +5 -10 lines
* Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme
- Remove uneeded scriplets %post and %postun [SME: 9422]

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

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