Commit Graph

257 Commits

Author SHA1 Message Date
Michal Schorm
b325983be5 Add one test failing only on F30 on aarch64 2024-02-05 16:59:13 +01:00
Michal Schorm
adb69c78bc Use RELRO hardening on all binaries 2024-02-05 16:59:13 +01:00
Lars Tangvald
7c23db2b2b Update to MySQL 8.0.17 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
6a2c3d262a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Michal Schorm
a02605080b Fix the name of rpmlintrc file in the SPECfile 2024-02-05 16:59:13 +01:00
Michal Schorm
1f6f39b3fc Remove SysVInit stuff
Clean up the SPECfile
2024-02-05 16:59:13 +01:00
Michal Schorm
d72fd0615b Update version of bundled Boost
Start requiring mysql-selinux package
2024-02-05 16:59:13 +01:00
Lars Tangvald
8f24bcddfb Update to MySQL 8.0.16 2024-02-05 16:59:13 +01:00
Michal Schorm
ed152fca98 Update to 8.0.15 2024-02-05 16:59:12 +01:00
Fedora Release Engineering
03d570487e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:12 +01:00
Honza Horak
fb5621d327 Use RPATH for mysqld, so we can later set capabilities
Set capabilities for mysqld the correct way
2024-02-05 16:59:12 +01:00
Michal Schorm
4f98e7a1d3 Update failing tests that started to fail due to changes in Rawhide 2024-02-05 16:59:12 +01:00
Igor Gnatenko
5196e459a8 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2024-02-05 16:59:12 +01:00
Michal Schorm
0ff692558a SPECfile cleanup
Update of skipped tests list
2024-02-05 16:59:12 +01:00
Lars Tangvald
8b1a37cf3f Update to MySQL 8.0.14 2024-02-05 16:59:12 +01:00
Michal Schorm
d1cec35de5 Tweak handling of the mysql-selinux requirement 2024-02-05 16:59:12 +01:00
Michal Schorm
433427a241 Disable test 'main.mysqldump' 2024-02-05 16:59:12 +01:00
Björn Esser
29366af883 Rebuilt for libcrypt.so.2 (#1666033) 2024-02-05 16:59:12 +01:00
Michal Schorm
ca1d4ebea2 Add failing test 2024-02-05 16:59:12 +01:00
Michal Schorm
ac185ad3db Rebase to 8.0.13
ICU patch removed; upstreamed
Patch for MySQL Router introduced. Do not build it.
CVEs fixed:
  CVE-2018-3276 CVE-2018-3200 CVE-2018-3137 CVE-2018-3284 CVE-2018-3195
  CVE-2018-3173 CVE-2018-3212 CVE-2018-3279 CVE-2018-3162 CVE-2018-3247
  CVE-2018-3156 CVE-2018-3161 CVE-2018-3278 CVE-2018-3174 CVE-2018-3282
  CVE-2018-3285 CVE-2018-3187 CVE-2018-3277 CVE-2018-3144 CVE-2018-3145
  CVE-2018-3170 CVE-2018-3186 CVE-2018-3182 CVE-2018-3133 CVE-2018-3143
  CVE-2018-3283 CVE-2018-3171 CVE-2018-3251 CVE-2018-3286 CVE-2018-3185
  CVE-2018-3280 CVE-2018-3203 CVE-2018-3155
2024-02-05 16:59:12 +01:00
Michal Schorm
c44f50a64b Add requires for the semanage binary 2024-02-05 16:59:12 +01:00
Michal Schorm
ad597f2de1 Fix the SYS_NICE capabilities; #1540946 2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
c0f198f8d9 Update to MySQL 8.0.12 2024-02-05 16:59:12 +01:00
Honza Horak
2d4484d225 Disable the lately added tests on aarch64, not arm 2024-02-05 16:59:12 +01:00
Honza Horak
d9abe8f525 Ignore unstable tests import_5_7 sdi dd_upgrade_partition 2024-02-05 16:59:12 +01:00
Honza Horak
8a5f2f75c5 Fix rule for selinux context for the log file 2024-02-05 16:59:12 +01:00
Honza Horak
8080903e5c Use /var/log/mysql rather than /var/log/community-mysql
Also use a temporary fix for the SELinux context
2024-02-05 16:59:12 +01:00
Honza Horak
2a14404d22 Use explicitly openssl-devel as dependency for -devel sub-package
The reason is that we want to install the same version of the openssl as we use for
building, not any version, like compat-openssl10-devel (which is the case actually,
because yum prefers the name sooner in the alphabet).
2024-02-05 16:59:12 +01:00
Honza Horak
12073de2f3 Move log file to a directory owned by mysql user
Resolves: #1590369
2024-02-05 16:59:12 +01:00
Honza Horak
e2d24af13c Move mysqld back to /usr/libexec, and create a symlink in /usr/sbin
This is done to make SELinux happy again (because correct context is only
defined for /usr/libexec/mysqld) and also because of back-ward compatibility,
that users might have /usr/libexec/mysqld path hard-coded already).
2024-02-05 16:59:12 +01:00
Fedora Release Engineering
63e012e12d - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:12 +01:00
Norvald H. Ryeng
778f965ec1 Update cnf and service files with MySQL 8.0 features and clean up patches. 2024-02-05 16:59:12 +01:00
Michal Schorm
ae8db5e0cc Update to 8.0.11 2024-02-05 16:59:12 +01:00
Michal Schorm
45ed314d86 Update failing tests fo 5.7.22 2024-02-05 16:59:12 +01:00
Michal Schorm
d026073054 Rebase to 5.7.22 version
CVE fixes: #1568963
          CVE-2018-2755 CVE-2018-2758 CVE-2018-2759 CVE-2018-2761 CVE-2018-2762
          CVE-2018-2766 CVE-2018-2769 CVE-2018-2771 CVE-2018-2773 CVE-2018-2775
          CVE-2018-2776 CVE-2018-2777 CVE-2018-2778 CVE-2018-2779 CVE-2018-2780
          CVE-2018-2781 CVE-2018-2782 CVE-2018-2784 CVE-2018-2786 CVE-2018-2787
          CVE-2018-2810 CVE-2018-2812 CVE-2018-2813 CVE-2018-2816 CVE-2018-2817
          CVE-2018-2818 CVE-2018-2819 CVE-2018-2839 CVE-2018-2846
2024-02-05 16:59:12 +01:00
Michal Schorm
f1bca1a6ec Update failing tests list for 5.7.21 2024-02-05 16:59:12 +01:00
Michal Schorm
add8e35acd Revert of: Add F>=27 condition for openssl 1.1 patch; d24ac6672badf6188b1f522b0045a42f632c7e36;
f26 needs that patch too
2024-02-05 16:59:12 +01:00
Michal Schorm
61f8dc1b27 Rebuilt after Rawhide & f28 & f27 & f26 merge 2024-02-05 16:59:12 +01:00
Michal Schorm
abfd0adbc9 Add F>=28 condition for tirpc patch 2024-02-05 16:59:12 +01:00
Michal Schorm
7119c2935e Merge branch 'f27' 2024-02-05 16:59:12 +01:00
Michal Schorm
5289356ae1 Add F>=27 condition for openssl 1.1 patch 2024-02-05 16:59:12 +01:00
Michal Schorm
757c2dd82c Add F>=28 condition for libxcrypt patch 2024-02-05 16:59:12 +01:00
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; #1546978 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; #1537210 2024-02-05 16:59:12 +01:00
Michal Schorm
ce7ba8251e Fix for libxcrypt - do not assume "crypt()" function is provided by glibc; #1536881 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: #1503701
            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: #1497694
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: #1400702
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: #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