/[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.15 - (hide annotations) (download)
Tue Dec 8 02:55:37 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
Changes since 1.14: +17 -3 lines
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
- e-smith-update event [SME: 11145]
- mariadb systemd integration [SME: 11021]
  move set.password and template
  create /usr/lib/systemd/system/mariadb.service.d/sme.conf
  create /sbin/e-smith/systemd/mariadb-initialize + chmod
  cleanup
- mysql.init systemd integration [SME: 11120]
  create mysql_init.service

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

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