/[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.13 - (hide annotations) (download)
Sat Jul 23 06:24:27 2016 UTC (7 years, 10 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-12_el7_sme
Changes since 1.12: +6 -2 lines
* Sat Jul 23 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-12.sme
- Corrected a typo in e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch
- [SME: 9671]

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

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