Commit Graph

90 Commits

Author SHA1 Message Date
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