Commit Graph

265 Commits

Author SHA1 Message Date
Michal Schorm
3d65c27591 Revert "Fix ldconfig scriptlets"
This reverts commit d70e481fb94ffc9f282a5a11e69007cbe77af013.

This change is not applicable for packages shipping config files for ld.so.conf.d
2024-02-05 16:59:12 +01:00
Michal Schorm
61691eaf86 Bump release for rebuild 2024-02-05 16:59:12 +01:00
Michal Schorm
82bf904624 Added failing tests; 2024-02-05 16:59:12 +01:00
Michal Schorm
4a7645fc14 Move my_print_defaults binary to the server package to resolve conflict with mariadb 2024-02-05 16:59:12 +01:00
Michal Schorm
18545727fc Add a compiler to buildroot; https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot 2024-02-05 16:59:12 +01:00
Michal Schorm
93c629b9e6 Remove 'static' library subpackage. mysql-connector-odbc now supports dynamic linking again. 2024-02-05 16:59:12 +01:00
Fedora Release Engineering
6db585e11b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:12 +01:00
Michal Schorm
b4cedcb8c5 Fix ldconfig scriptlets 2024-02-05 16:59:12 +01:00
Michal Schorm
66a9f0c729 Remove one "Obsoletes: mysql-bench" 2024-02-05 16:59:12 +01:00
Michal Schorm
6217a8e021 Fix obsoletes using isa macro; 2024-02-05 16:59:12 +01:00
Michal Schorm
ce7ba8251e Fix for libxcrypt - do not assume "crypt()" function is provided by glibc; 2024-02-05 16:59:12 +01:00
Michal Schorm
f451daacf5 Changelog fix 2024-02-05 16:59:12 +01:00
Michal Schorm
fe62adf619 Update to MySQL 5.7.21 2024-02-05 16:59:12 +01:00
Björn Esser
f0b62302d1 Rebuilt for switch to libxcrypt 2024-02-05 16:59:12 +01:00
Michal Schorm
1bc2fd122c Exclude failing test 2024-02-05 16:59:12 +01:00
Michal Schorm
1f24bc90d1 Provide subackage with a client static library needed by mysql-connector-odbc package
Remove Group tag as it shouldn't be used anymore
2024-02-05 16:59:12 +01:00
Honza Horak
41cb3dcd0a Port for OpenSSL 1.1
Change few SSL calls
Fix tests that expect some particular ciphers
2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
6fd9a625c7 In F>27 stick to upstream library version naming 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
1e6afad97f Update to MySQL 5.7.20
CVE fixes: 
            CVE-2017-10155 CVE-2017-10227 CVE-2017-10268 CVE-2017-10276 CVE-2017-10279
            CVE-2017-10283 CVE-2017-10286 CVE-2017-10294 CVE-2017-10314 CVE-2017-10378
            CVE-2017-10379 CVE-2017-10384

Fix owner and perms on log file in post script: 
2024-02-05 16:59:12 +01:00
Honza Horak
cd415c1408 Use correct package name for the coreutils packge 2024-02-05 16:59:12 +01:00
Honza Horak
def1b525ca Support --defaults-group-suffix option in systemd unit file
Related: 
2024-02-05 16:59:12 +01:00
Honza Horak
741611f3ab Add bundled(boost) virtual provide 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
50c04a9d11 Retry must be 2 or higher to get any effect from --report-unstable-tests 2024-02-05 16:59:12 +01:00
Honza Horak
10feb64c2b Update list of failed tests 2024-02-05 16:59:12 +01:00
Honza Horak
1209ab5a99 Include mysqld@.service file and do not run start scripts in the unit file as root 2024-02-05 16:59:12 +01:00
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: 
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: ; /run
           ; random failures of the testsuite
           , , , ,  , , ,
           , ; replication tests
 CVE fixes: 
           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 )
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: 
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: 

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: 
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 ; 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: 
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 )
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: 
2024-02-05 16:59:12 +01:00
Honza Horak
49d55805e8 Fix for CVE-2014-0001
Resolves: 
2024-02-05 16:59:12 +01:00
Honza Horak
352fa34cf5 Disable tests for ppc(64) and s390(x):
innodb.innodb_ctype_ldml main.ctype_ldml main.ps_ddl main.ps_ddl1
Related: 
2024-02-05 16:59:12 +01:00
Honza Horák
c50e8ff469 We need -n in %setup macro 2024-02-05 16:59:12 +01:00
Honza Horák
61eeb85b85 Enable InnoDB Memcached plugin 2024-02-05 16:59:12 +01:00
Honza Horák
58eb0e8858 Some spec file clean-up based on Bjorn Munch's suggestions 2024-02-05 16:59:12 +01:00
Honza Horák
8cbc4e239c Update to MySQL 5.6.15 2024-02-05 16:59:12 +01:00
Honza Horák
2a50e07d79 Sync my.cnf with mariadb 2024-02-05 16:59:12 +01:00
Honza Horák
bd92dc30da Turn on tests 2024-02-05 16:59:12 +01:00
Honza Horák
535f967c18 Update to 5.6.14 2024-02-05 16:59:12 +01:00
Honza Horák
ab3f3d0d30 Enhanced my.cnf to be the same as in mariadb
Resolves: 
2024-02-05 16:59:12 +01:00
Honza Horák
c24d02a91f Update to MySQL 5.5.33, for various fixes described at
http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-33.html
2024-02-05 16:59:12 +01:00
Honza Horák
b0fd4045fd Merge branch 'master' of ssh://pkgs.fedoraproject.org/community-mysql
Conflicts:
	community-mysql.spec
2024-02-05 16:59:12 +01:00
Honza Horák
3323aa2c86 Fix multilib header location for arm 2024-02-05 16:59:12 +01:00
Honza Horák
0ac0170a6c Fix systemd and perl requirements 2024-02-05 16:59:12 +01:00
Honza Horák
3ceacf37e3 Copy some generated files in order find-debuginfo.sh finds them
Related: 
2024-02-05 16:59:12 +01:00
Petr Písař
aa4500691e Perl 5.18 rebuild 2024-02-05 16:59:12 +01:00
Honza Horák
aef7663e53 Revert path change to ldconfig, UsrMove is not complete yet 2024-02-05 16:59:12 +01:00
Honza Horák
a55bb65cee Arm support for multilib hacks 2024-02-05 16:59:12 +01:00
Honza Horák
f6965ec0a1 Use xz instead of gzip
Resolves: 
2024-02-05 16:59:12 +01:00
Honza Horák
ae00096103 Use proper path to ldconfig 2024-02-05 16:59:12 +01:00
Honza Horák
b954a4cc68 Fix misleading error message when uninstalling built-in plugins
Related: 
2024-02-05 16:59:12 +01:00
Honza Horák
53c3274f26 Apply fixes found by Coverity static analysis tool 2024-02-05 16:59:12 +01:00
Honza Horák
357b8cde00 Remove external man pages, upstream fixed man pages license 2024-02-05 16:59:12 +01:00
Honza Horák
1a38df5b1e Uploaded correctly stripped sources 2024-02-05 16:59:12 +01:00
Honza Horák
17693971aa Use man pages from 5.5.30, because their license do not allow us to ship them since 5.5.31 2024-02-05 16:59:12 +01:00
Honza Horák
3a4491d3c8 Strip warning in rpl_deadlock_innodb 2024-02-05 16:59:12 +01:00