Commit Graph

244 Commits

Author SHA1 Message Date
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
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: #1056972
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: #1003115
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: #729040
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: #982387
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: #966645
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
Honza Horák
c8c1b8c56c Update to MySQL 5.5.32 2024-02-05 16:59:12 +01:00
Honza Horák
e6a00cb0a6 Release bump 2024-02-05 16:59:12 +01:00
Honza Horák
74bb4c4ea0 Fix for CVE-2013-1861 backported from MariaDB
Resolves: #921836
2024-02-05 16:59:12 +01:00
Honza Horák
a8bc704d6d Fix test suite requirements 2024-02-05 16:59:12 +01:00
Honza Horák
f48240871d Use /var/tmp as default tmpdir to prevent potential issues
Resolves: #905635
2024-02-05 16:59:12 +01:00
Jan Staněk
1d87c09dd2 Added missing command-line options to man-pages (#948930) 2024-02-05 16:59:12 +01:00
Honza Horák
bcb6c3a615 Remove mysql provides from devel sub-packages to not build against community-mysql if mysql-devel is specified 2024-02-05 16:59:12 +01:00
Honza Horák
53e30da6fc Fix building with relro and PIE 2024-02-05 16:59:12 +01:00
Honza Horák
33af135575 Fix paths in -plugin-test patch 2024-02-05 16:59:12 +01:00
Honza Horák
dd5f004a66 Add BR for perl(Env) needed by test rpl_manual_change_index_file 2024-02-05 16:59:12 +01:00
Honza Horák
50bf53ed7f Fix some paths related to test suite 2024-02-05 16:59:12 +01:00
Honza Horák
74caac9abf Build with _hardened_build 2024-02-05 16:59:12 +01:00
Honza Horák
bcfa13df01 Update to MySQL 5.5.31 2024-02-05 16:59:12 +01:00
Honza Horák
849395bef6 run test suite 2024-02-05 16:59:12 +01:00
Tom Lane
c80ae3ea7b mysql is being replaced by mariadb and/or MySQL.
this commit is squash of:
  last commit(s) of 'mysql' repo 'rawhide' branch
and
  first commit(s) of 'community-mysql' repo 'rawhide' branch
2024-02-05 16:59:12 +01:00