Commit Graph

190 Commits

Author SHA1 Message Date
Honza Horak
04822f57a7 Do not run parts of SysV init script as root if possible 2024-02-05 16:59:12 +01:00
Honza Horak
59dd61704a Remove snippets from mysql-preparep-db-dir.sh that could have security impact
Related: CVE-2017-3312
2024-02-05 16:59:12 +01:00
Honza Horak
6a32704ac7 Allow to use MD5 in FIPS mode
Related: #1449689
2024-02-05 16:59:12 +01:00
Fedora Release Engineering
d967b83f8a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Fedora Release Engineering
f09370fcd5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Michal Schorm
49eb0b52bd 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
2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
6fbf159828 Update to MySQL 5.7.19 2024-02-05 16:59:12 +01:00
Honza Horak
9eaac6f5d5 Move perl-interpreter dependency to the condition so it only is required on Fedora 2024-02-05 16:59:12 +01:00
Petr Písař
da1b03a630 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2024-02-05 16:59:12 +01:00
Igor Gnatenko
abf104f1ab Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2024-02-05 16:59:12 +01:00
Fedora Release Engineering
3a0875126d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Michal Schorm
056252c5cc 'force' option for 'rm' removed in specfile 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
8ef28c0a49 Update to MySQL 5.7.18 2024-02-05 16:59:12 +01:00
Michal Schorm
d9064d84f1 Testsuite retry count lifted to 3 tries 2024-02-05 16:59:12 +01:00
Michal Schorm
050d7d4d25 Fix of broken cross mysql-mariadb dependecies
Fix of community-mysql server-client dependecy
2024-02-05 16:59:12 +01:00
Fedora Release Engineering
be605dbe15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
f71cc1e912 Fix test that used a hardcoded date (2017-01-01). 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
45a82f1268 Update to MySQL 5.7.17. 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
285fcede94 Update to MySQL 5.7.16 2024-02-05 16:59:12 +01:00
Jakub Dorňák
a28cc03084 Adjust list of problematic tests 2024-02-05 16:59:12 +01:00
Jakub Dorňák
46c13300ea Adjust list of problematic tests 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
bcd0ca993a Adjust list of problematic tests 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
c866c8730d Update to MySQL 5.7.15 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
083c748b2d Update to MySQL 5.7.14 2024-02-05 16:59:12 +01:00
Honza Horak
a75507f56c Do not require perl-generators on systems where this package does not exist 2024-02-05 16:59:12 +01:00
Norvald Ryeng
dc6ab3b54f Update to MySQL 5.7.13 2024-02-05 16:59:12 +01:00
Honza Horak
a4e66646fe Do include installed scripts when not using systemd 2024-02-05 16:59:12 +01:00
Pavel Raiskup
74672f0ba7 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
2024-02-05 16:59:12 +01:00
Petr Písař
030cd1b25c Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2024-02-05 16:59:12 +01:00
Jakub Dorňák
8abb9d6e08 Update to 5.7.12 2024-02-05 16:59:12 +01:00
Honza Horak
d536b4e56c Remove duplicate tmpfiles.d file
Resolves: #1288216
2024-02-05 16:59:12 +01:00
Honza Horak
1632cd1755 Update to 5.7.11
Thanks to Norvald H. Ryeng
  Removing tar ball with boost and using mysql tar ball with boost bundled
2024-02-05 16:59:12 +01:00
Dennis Gilmore
02bffdd08e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Honza Horak
6c204540ad 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
2024-02-05 16:59:12 +01:00
Jakub Dorňák
df6a4b818d i will inspect and analyze test results separately 2024-02-05 16:59:12 +01:00
Jakub Dorňák
e5b6f709fa Update to 5.7.10 2024-02-05 16:59:12 +01:00
Jakub Dorňák
6735fb239a skip tests that randomly fail 2024-02-05 16:59:12 +01:00
Jakub Dorňák
7d65ce3d61 skip tests that randomly fail 2024-02-05 16:59:12 +01:00
Jakub Dorňák
50e5fb4dfe skip tests that randomly fail 2024-02-05 16:59:12 +01:00
Jakub Dorňák
59da3ffa45 Update to 5.7.9 2024-02-05 16:59:12 +01:00
Jakub Dorňák
7a61daa818 Update to 5.6.27 2024-02-05 16:59:12 +01:00
Jakub Dorňák
4b29ada7b5 disable perfschema.global_read_lock on arm 2024-02-05 16:59:12 +01:00
Jakub Dorňák
85d0decd0b Update to 5.6.26 2024-02-05 16:59:12 +01:00
Jakub Dorňák
a66d4b2b46 Update to 5.6.25 2024-02-05 16:59:12 +01:00
Dennis Gilmore
c6553415d0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Bjorn Munch
5a01b19e5a gcc5 makes gcc49-aarch64 patch obsolete (and wrong) 2024-02-05 16:59:12 +01:00
Honza Horak
dff0c67dd2 Fix for big integers on gcc5 2024-02-05 16:59:12 +01:00
Honza Horak
31c3fe99de Update to 5.6.24 2024-02-05 16:59:12 +01:00
Honza Horak
1dec6496a5 Require -libs only when it is build 2024-02-05 16:59:12 +01:00
Honza Horak
cd899439bd Do not include symlink to libmysqlclient if not shipping the library 2024-02-05 16:59:12 +01:00
Honza Horak
3ad7495110 Wait for daemon ends
Related: #1072958

Conflicts:
	community-mysql.spec
	mysql-scl-env-check.patch
2024-02-05 16:59:12 +01:00
Honza Horak
e7792a52dc Check permissions when starting service on RHEL-6
Resolves: #1194699
2024-02-05 16:59:12 +01:00
Honza Horak
4e1363278b 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
2024-02-05 16:59:12 +01:00
Honza Horak
4640877fbc Use --no-defaults when checking server status before starting 2024-02-05 16:59:12 +01:00
Honza Horak
fbbcbd4fef Use correct path in install_db script warning 2024-02-05 16:59:12 +01:00
Honza Horak
d79b2f1f8f Expand paths in perl scripts in mysql-test
Conflicts:
	community-mysql.spec
2024-02-05 16:59:12 +01:00
Honza Horak
5e06e86227 Removing man pages patch since upstream claims the version in tarball is correct. 2024-02-05 16:59:12 +01:00
Bjorn Munch
303feabd0e Update to MySQL 5.6.23
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2024-02-05 16:59:12 +01:00
Honza Horak
b9961f6d17 Do not own /var/log 2024-02-05 16:59:12 +01:00
Honza Horak
babed9f6e2 Use correct dir for config files 2024-02-05 16:59:12 +01:00
Honza Horak
24e1d7e023 Use pkg_name for files in share 2024-02-05 16:59:12 +01:00
Honza Horak
93eef1b565 Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2024-02-05 16:59:12 +01:00
Honza Horak
f1ae8ff9b8 Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2024-02-05 16:59:12 +01:00
Honza Horak
1d84d0bf9d Require mysql and mysql-compat-client only when providing them, since otherwise we cannot be sure there is such a package in the repo 2024-02-05 16:59:12 +01:00
Honza Horak
a05cac8215 Add configuration file for server 2024-02-05 16:59:12 +01:00
Jakub Dorňák
397f7594fe Update to 5.6.22 2024-02-05 16:59:12 +01:00
Bjorn Munch
4d18bb0bac 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>
2024-02-05 16:59:12 +01:00
Honza Horak
7f738e37a9 Add bcond_without mysql_names 2024-02-05 16:59:12 +01:00
Honza Horak
45b0a6010f Remove errmsg-utf8.txt if not packaged 2024-02-05 16:59:12 +01:00
Honza Horak
cccf2a4098 Add with_debug option 2024-02-05 16:59:12 +01:00
Honza Horak
0873bbbc51 Move mysql_plugin into base and errmsg-utf8.txt into -errmsg to correspond with MariaDB upstream packages 2024-02-05 16:59:12 +01:00
Honza Horak
415ef8be9e Check upgrade script added to warn about need for mysql_upgrade 2024-02-05 16:59:12 +01:00
Bjorn Munch
a5b96ba570 Some updates for 5.6.21
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2024-02-05 16:59:12 +01:00
Honza Horak
72a002abcf Update to MySQL 5.6.21 2024-02-05 16:59:12 +01:00
Honza Horak
7f0cca4a38 Install systemd service file on RHEL-7+
Server requires any mysql package, so it should be fine with older client
2024-02-05 16:59:12 +01:00
Honza Horak
8f249754e9 Use %%cmake macro 2024-02-05 16:59:12 +01:00
Honza Horak
0a354ab64e Fix paths in mysql_install_db script
Related: #1134328
2024-02-05 16:59:12 +01:00
Honza Horak
7b008c4d2a Handle all ppc64 the same in my_config.h 2024-02-05 16:59:12 +01:00
Peter Robinson
7624bb0df0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Honza Horak
7dc500d407 Introduce -config subpackage and ship base config files here 2024-02-05 16:59:12 +01:00
Honza Horak
f1a4e59c2d Move %files section into with client condition 2024-02-05 16:59:12 +01:00
Honza Horak
9d06c4aeb4 Adopt changes from mariadb to sync spec files 2024-02-05 16:59:12 +01:00
Bjorn Munch
06090053f1 Update to MySQL 5.6.20
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2024-02-05 16:59:12 +01:00
Honza Horak
3ba3312a64 Hardcoded paths removed to work fine in chroot 2024-02-05 16:59:12 +01:00
Honza Horak
638671d4df Spec rewrite to be more similar to oterh MySQL implementations 2024-02-05 16:59:12 +01:00
Honza Horak
dfd59cb65f Port scripts for systemd unit from MariaDB 2024-02-05 16:59:12 +01:00
Honza Horak
c8c069a981 Remove unnecessary requirement, it is generated automatically 2024-02-05 16:59:12 +01:00
Honza Horak
0e0751941b Port some latest changes from MariaDB package to sync those packages
Error messages now provided by a separate package (thanks Alexander Barkov)
2024-02-05 16:59:12 +01:00
Honza Horak
aa9309386f Remove trailing whitespace 2024-02-05 16:59:12 +01:00
Honza Horak
55f683d672 Server requires any compatible mysql-compat-client package 2024-02-05 16:59:12 +01:00
Honza Horak
94a40f5463 Require /etc/my.cnf instead of shipping it 2024-02-05 16:59:12 +01:00
Honza Horak
a44f11cb5f Add mysql-compat-server symbol, common symbol for arbitrary MySQL
implementation
2024-02-05 16:59:12 +01:00
Bjorn Munch
c0f3a06ea8 Fix aarch64 build, rebase cipherspec patch
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2024-02-05 16:59:12 +01:00
Honza Horak
923d2c303f 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
2024-02-05 16:59:12 +01:00
Dennis Gilmore
e880a44ae4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2024-02-05 16:59:12 +01:00
Honza Horak
a65645d164 Fix multiple mtr sessions by Bjorn Munch 2024-02-05 16:59:12 +01:00
Bjorn Munch
22963a2b91 Update to 5.6.17
Signed-off-by: Bjorn Munch <bjorn.munch@oracle.com>
Signed-off-by: Honza Horak <hhorak@redhat.com>
2024-02-05 16:59:12 +01:00
Honza Horak
c8b7192f95 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
2024-02-05 16:59:12 +01:00
Honza Horak
39b3158cc9 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
2024-02-05 16:59:12 +01:00
Honza Horak
49d55805e8 Fix for CVE-2014-0001
Resolves: #1059545
2024-02-05 16:59:12 +01:00