/[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.11 - (hide annotations) (download)
Tue Jul 19 18:42:04 2016 UTC (8 years, 3 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-10_el7_sme
Changes since 1.10: +3 -3 lines
* Mon Jul 18 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
- Remove Dummy database from backup and restoration [SME: 9671]
- Added  e-smith-mysql-2.6.0.bz9671.RemoveDummyMysqlDatabase.patch

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

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