Commit Graph

192 Commits

Author SHA1 Message Date
Honza Horak
bd721273ef Include mysqld@.service file and do not run start scripts in the unit file as root 2017-08-04 08:34:52 +02:00
Honza Horak
435e717ad0 Do not run parts of SysV init script as root if possible 2017-08-04 08:34:52 +02:00
Honza Horak
dd8b0ea730 Remove snippets from mysql-preparep-db-dir.sh that could have security impact
Related: CVE-2017-3312
2017-08-04 08:34:52 +02:00
Honza Horak
87ebae8cab Allow to use MD5 in FIPS mode
Related: #1449689
2017-08-04 08:34:46 +02:00
Fedora Release Engineering
db61b0f7ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 19:03:31 +00:00
Fedora Release Engineering
96f4391b18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 05:16:55 +00:00
Michal Schorm
7190edc6ea Replication tests in the testsuite enabled, they don't fail anymore
Retry count in the testsuite dropped to 0

Changelog entry for the last commit extended:

 Resolves: #1462688; /run
           #1406172; random failures of the testsuite
           #1417880, #1417883, #1417885, #1417887,  #1417890, #1417891, #1417893,
           #1417894, #1417896; replication tests
 CVE fixes: #1472716
           CVE-2017-3633, CVE-2017-3634, CVE-2017-3635, CVE-2017-3641, CVE-2017-3647
           CVE-2017-3648, CVE-2017-3649, CVE-2017-3651, CVE-2017-3652, CVE-2017-3653
2017-07-25 15:08:13 +02:00
Norvald H. Ryeng
77ff3a5e40 Update to MySQL 5.7.19 2017-07-24 11:49:15 +02:00
Honza Horak
42d1733982 Move perl-interpreter dependency to the condition so it only is required on Fedora 2017-07-12 15:10:47 +02:00
Petr Písař
eccdc6a287 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:50:15 +02:00
Igor Gnatenko
3e9e8cd9f9 Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-07 12:14:39 +02:00
Fedora Release Engineering
d8ac7a4892 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 21:04:49 +00:00
Michal Schorm
1d6166c6a7 'force' option for 'rm' removed in specfile 2017-04-19 13:41:28 +02:00
Norvald H. Ryeng
ef8535fd0d Update to MySQL 5.7.18 2017-04-19 13:24:18 +02:00
Michal Schorm
55aff2cc79 Testsuite retry count lifted to 3 tries 2017-03-07 10:13:01 +01:00
Michal Schorm
edace6bcbd Fix of broken cross mysql-mariadb dependecies
Fix of community-mysql server-client dependecy
2017-02-15 16:55:40 +01:00
Fedora Release Engineering
fddd774f2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:46:10 +00:00
Norvald H. Ryeng
a5b2635364 Fix test that used a hardcoded date (2017-01-01). 2017-01-05 14:15:07 +01:00
Norvald H. Ryeng
ff1ca8592c Update to MySQL 5.7.17. 2016-12-15 15:12:00 +01:00
Norvald H. Ryeng
6c7478e1df Update to MySQL 5.7.16 2016-10-18 12:56:22 +02:00
Jakub Dorňák
5a37a0d5c7 Adjust list of problematic tests 2016-09-16 21:45:24 +02:00
Jakub Dorňák
f5cb3b5ffa Adjust list of problematic tests 2016-09-12 13:45:33 +02:00
Norvald H. Ryeng
7c7448b230 Adjust list of problematic tests 2016-09-08 11:22:02 +02:00
Norvald H. Ryeng
5e9f498a98 Update to MySQL 5.7.15 2016-09-07 13:33:44 +02:00
Norvald H. Ryeng
e32085d812 Update to MySQL 5.7.14 2016-08-09 16:40:08 +02:00
Honza Horak
a0bac69f97 Do not require perl-generators on systems where this package does not exist 2016-07-13 20:12:27 +02:00
Norvald Ryeng
a51381c6f9 Update to MySQL 5.7.13 2016-07-13 19:52:17 +02:00
Honza Horak
cdb68ca650 Do include installed scripts when not using systemd 2016-07-13 19:51:35 +02:00
Pavel Raiskup
20d65c4008 multilib fixes
Delegate most of the multilib decisions to multilib-rpm-config,
this allows us to maintain the rules at central place.

Version: 5.7.12-2
2016-06-27 08:25:45 +02:00
Petr Písař
c53a0d0d01 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:41:32 +02:00
Jakub Dorňák
e9f81954c8 Update to 5.7.12 2016-05-24 12:58:33 +02:00
Honza Horak
12f495c7ea Remove duplicate tmpfiles.d file
Resolves: #1288216
2016-02-14 20:46:56 +01:00
Honza Horak
1998188345 Update to 5.7.11
Thanks to Norvald H. Ryeng
  Removing tar ball with boost and using mysql tar ball with boost bundled
2016-02-11 22:43:45 +01:00
Dennis Gilmore
eddc6aede0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:58:26 +00:00
Honza Horak
1d9080ea5c Use mysqld instead of mysqld_safe (mysqld_safe not necessary for 5.7)
Use mysqld --initialize-insecure instead of mysql_install_db
  Create /var/lib/mysql-files (used by secure-file-priv)
    http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_secure_file_priv
  Remove unnecessary Perl dependencies (mysqlhotcopy was removed in 5.7)
  Thanks Norvald H. Ryeng
2016-01-27 19:36:20 +01:00
Jakub Dorňák
bbb2a971c0 i will inspect and analyze test results separately 2016-01-22 15:09:10 +01:00
Jakub Dorňák
44a4c48b16 Update to 5.7.10 2016-01-19 15:50:03 +01:00
Jakub Dorňák
75a8b6baee skip tests that randomly fail 2015-11-18 09:36:22 +01:00
Jakub Dorňák
43ecebe944 skip tests that randomly fail 2015-11-15 10:59:31 +01:00
Jakub Dorňák
b5803a0b97 skip tests that randomly fail 2015-11-14 18:06:21 +01:00
Jakub Dorňák
bf0a83b8b2 Update to 5.7.9 2015-11-12 09:42:54 +01:00
Jakub Dorňák
e82d4dd5ca Update to 5.6.27 2015-10-01 17:25:31 +02:00
Jakub Dorňák
7e24f5ab25 disable perfschema.global_read_lock on arm 2015-07-30 18:04:44 +02:00
Jakub Dorňák
39ca453773 Update to 5.6.26 2015-07-30 13:20:21 +02:00
Jakub Dorňák
fa509c7162 Update to 5.6.25 2015-07-21 09:50:40 +02:00
Dennis Gilmore
149b312f06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 03:04:07 +00:00
Bjorn Munch
19dd4015cf gcc5 makes gcc49-aarch64 patch obsolete (and wrong) 2015-05-04 09:16:37 +02:00
Honza Horak
51a58b5216 Fix for big integers on gcc5 2015-04-10 13:09:48 +02:00
Honza Horak
5bece5dbcd Update to 5.6.24 2015-04-09 06:59:20 +02:00
Honza Horak
df95dc8b67 Require -libs only when it is build 2015-03-06 22:45:19 +01:00
Honza Horak
c99fec280c Do not include symlink to libmysqlclient if not shipping the library 2015-03-06 22:42:49 +01:00
Honza Horak
9abc7519ce Wait for daemon ends
Related: #1072958

Conflicts:
	community-mysql.spec
	mysql-scl-env-check.patch
2015-03-06 22:29:02 +01:00
Honza Horak
42a566e9d7 Check permissions when starting service on RHEL-6
Resolves: #1194699
2015-03-06 20:49:41 +01:00
Honza Horak
062422d0a1 Do not use scl prefix more than once in paths
Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html

Conflicts:
	community-mysql.spec
2015-03-06 20:48:53 +01:00
Honza Horak
82d026ef29 Use --no-defaults when checking server status before starting 2015-03-06 20:43:42 +01:00
Honza Horak
d90e5b11b6 Use correct path in install_db script warning 2015-03-06 20:43:21 +01:00
Honza Horak
90502f12b1 Expand paths in perl scripts in mysql-test
Conflicts:
	community-mysql.spec
2015-02-23 13:41:38 +01:00
Honza Horak
47a549048b Removing man pages patch since upstream claims the version in tarball is correct. 2015-02-03 15:03:35 +01:00
Bjorn Munch
3266fef508 Update to MySQL 5.6.23
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2015-02-03 14:37:33 +01:00
Honza Horak
e406525eb5 Do not own /var/log 2015-01-26 17:57:44 +01:00
Honza Horak
e11843d212 Use correct dir for config files 2015-01-25 20:07:25 +01:00
Honza Horak
245cc80c25 Use pkg_name for files in share 2015-01-25 13:13:21 +01:00
Honza Horak
740a4a01ca Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2015-01-25 00:04:17 +01:00
Honza Horak
8fcbdd71ee Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2015-01-24 23:03:48 +01:00
Honza Horak
0878280bf1 Require mysql and mysql-compat-client only when providing them, since otherwise we cannot be sure there is such a package in the repo 2015-01-12 23:15:34 +01:00
Honza Horak
1eadb03b89 Add configuration file for server 2015-01-12 16:34:36 +01:00
Jakub Dorňák
891c072e02 Update to 5.6.22 2014-12-04 11:37:11 +01:00
Bjorn Munch
e29bd9d1cc Fix rhbz #1149986; follow MySQL upstream and run pre/post scripts as root
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2014-10-13 20:22:37 +02:00
Honza Horak
1e9e9080b5 Add bcond_without mysql_names 2014-10-01 15:30:21 +02:00
Honza Horak
720b07e7be Remove errmsg-utf8.txt if not packaged 2014-09-30 21:34:18 +02:00
Honza Horak
3ff9598ba2 Add with_debug option 2014-09-30 18:00:27 +02:00
Honza Horak
69f97d3444 Move mysql_plugin into base and errmsg-utf8.txt into -errmsg to correspond with MariaDB upstream packages 2014-09-29 18:55:37 +02:00
Honza Horak
0d2208e0ac Check upgrade script added to warn about need for mysql_upgrade 2014-09-29 16:05:17 +02:00
Bjorn Munch
c9f01efce7 Some updates for 5.6.21
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2014-09-29 13:43:54 +02:00
Honza Horak
7894e5c361 Update to MySQL 5.6.21 2014-09-24 17:04:34 +02:00
Honza Horak
33065de0a2 Install systemd service file on RHEL-7+
Server requires any mysql package, so it should be fine with older client
2014-09-08 13:21:10 +02:00
Honza Horak
245bbf88c7 Use %%cmake macro 2014-09-08 13:05:11 +02:00
Honza Horak
568d54e732 Fix paths in mysql_install_db script
Related: #1134328
2014-09-08 13:04:05 +02:00
Honza Horak
530dd9b1f8 Handle all ppc64 the same in my_config.h 2014-08-21 14:55:06 +02:00
Peter Robinson
e99685b9cd - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 00:57:15 +00:00
Honza Horak
c4225a61b1 Introduce -config subpackage and ship base config files here 2014-08-15 09:30:05 +02:00
Honza Horak
4a93e49449 Move %files section into with client condition 2014-08-06 07:03:34 +02:00
Honza Horak
27a9fc8a25 Adopt changes from mariadb to sync spec files 2014-08-05 18:19:58 +02:00
Bjorn Munch
02226f4979 Update to MySQL 5.6.20
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2014-08-05 13:49:25 +02:00
Honza Horak
c48a49a6ed Hardcoded paths removed to work fine in chroot 2014-07-25 16:51:11 +02:00
Honza Horak
75032c40af Spec rewrite to be more similar to oterh MySQL implementations 2014-07-25 11:00:06 +02:00
Honza Horak
99fd710fa5 Port scripts for systemd unit from MariaDB 2014-07-23 17:13:45 +02:00
Honza Horak
3e847dbc5f Remove unnecessary requirement, it is generated automatically 2014-07-22 09:53:23 +02:00
Honza Horak
43d8322a00 Port some latest changes from MariaDB package to sync those packages
Error messages now provided by a separate package (thanks Alexander Barkov)
2014-07-22 07:41:09 +02:00
Honza Horak
46a4eed920 Remove trailing whitespace 2014-06-30 14:33:25 +02:00
Honza Horak
dff09aeb86 Server requires any compatible mysql-compat-client package 2014-06-30 12:18:28 +02:00
Honza Horak
5ec838ab2e Require /etc/my.cnf instead of shipping it 2014-06-30 10:04:46 +02:00
Honza Horak
1d0f053fd6 Add mysql-compat-server symbol, common symbol for arbitrary MySQL
implementation
2014-06-27 13:11:02 +02:00
Bjorn Munch
fbe934cf74 Fix aarch64 build, rebase cipherspec patch
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2014-06-25 19:26:42 +02:00
Honza Horak
022dacaa71 Update to MySQL 5.6.19, for various fixes described at
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-19.html
- outfile_loaddata resolved on all archs
- Solaris files not installed, no need to remove
- Simplify multilib install
- Use install's -D option some places
- Add explicit conflict with mariadb-galera-server
2014-06-17 15:50:57 +02:00
Dennis Gilmore
e52ad46338 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:32:54 -05:00
Honza Horak
e2b0b7878f Fix multiple mtr sessions by Bjorn Munch 2014-04-23 13:26:07 +02:00
Bjorn Munch
5f2a76ba08 Update to 5.6.17
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2014-04-18 09:18:54 +02:00
Honza Horak
a49d466856 Rebuild -man-pages.patch to apply smoothly
Changes made by Bjorn Munch <bjorn.munch@oracle.com>:
Update to MySQL 5.6.16, for various fixes described at https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html
Patches now upstream: tmpdir, cve-2013-1861, covscan-signexpr, covscan-stroverflow
Fixed upstream: innodbwarn
ldconfig needed in embedded subpackage
Remove unused generate-tarball.sh from tree
Rediff mysql-install patch
Make symvers 18 default, provide symvers 16 for backward compat
(bz #1045013)
Man page patch disabled due too many conflicts
Memcached build patched to not remove -Werror=<something> in CFLAGS
2014-02-03 15:41:44 +01:00
Honza Horak
6f8e826df3 Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl which now makes mariadb/mysql FTBFS because openssl_1 test fails
Related: #1044565
2014-01-30 18:54:56 +01:00