Commit Graph

310 Commits

Author SHA1 Message Date
Michal Schorm
b0928d8195 Fix RPATH error
Error:
  "ERROR 0001: file '/usr/libexec/mysqld' contains a standard runpath '/usr/lib64' in [/usr/lib64]"

Caused by:
  https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild

More Info:
  https://docs.fedoraproject.org/en-US/packaging-guidelines/#_beware_of_rpath
2024-02-05 16:59:13 +01:00
Michal Schorm
c01002a576 Rebase to 8.0.25 2024-02-05 16:59:13 +01:00
Pete Walter
6d3611b4cd Rebuild for ICU 69 2024-02-05 16:59:13 +01:00
Pete Walter
f29e99adfe Rebuild for ICU 69 2024-02-05 16:59:13 +01:00
Michal Schorm
390e8d42cf Implement running of the minimal testsuite
Once the full testsuite has been run for the particular MySQL release; execute just the "main" suite on subsequent runs for that release.

The implementation default to running of the whole testsuite, as until now, if the maintainer won't set the flag that running of the minimal testsuite is enough for this release.

This feature aims to help with faster and more stable package builds when adding small fixes on top of already tested release;
and to ease the life of Fedora Linux Release Engineers during (mass) rebuilds.
2024-02-05 16:59:13 +01:00
Michal Schorm
ee4de3aa28 Allow to run the test-suite in parallel when more versions are built 2024-02-05 16:59:13 +01:00
Michal Schorm
c9ef673785 Move the disabled tests lists to the standalone files per architecture families
It will help the maintainers when trying to keep SPECs for different versions or product with minimal amount of differences
2024-02-05 16:59:13 +01:00
Michal Schorm
5087e301f6 Update disabled tests list fo the latest release for F32..Rawhide
Disable "--mem" option, because the s390x builders ran out of resources
2024-02-05 16:59:13 +01:00
Lars Tangvald
83c62ad629 Update to MySQL 8.0.24 2024-02-05 16:59:13 +01:00
Jonathan Wakely
fd94887653 Rebuilt for removed libstdc++ symbols (#1937698) 2024-02-05 16:59:13 +01:00
Zbigniew Jędrzejewski-Szmek
9ee7f01210 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2024-02-05 16:59:13 +01:00
Lukas Javorsky
0959988c36 Rebase to 8.0.23 2024-02-05 16:59:13 +01:00
Michal Schorm
fbe2f63222 Update failing and unstable tests list 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
2ad13cffdc - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Adrian Reber
799eb1a2e8 Rebuilt for protobuf 3.14 2024-02-05 16:59:13 +01:00
Tom Stellard
5bbbc2157f Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2024-02-05 16:59:13 +01:00
Lukas Javorsky
25c1cdede8 Add missing parts for 8.0.22 rebase
This missing parts was in patch created by Lars Tangvald
2024-02-05 16:59:13 +01:00
Lukas Javorsky
4cc3109d7a Add failing test for s390x arch 2024-02-05 16:59:13 +01:00
Lukas Javorsky
5b369c33a6 Rebase to 8.0.22
community-mysql-certs-expired.patch and community-mysql-lto.patch was
patched by upstream
New zlib_decompress binary
2024-02-05 16:59:13 +01:00
Jeff Law
f6c1bc49b5 Fix another missing #include for gcc-11 2024-02-05 16:59:13 +01:00
Jeff Law
8593570046 Add missing #include for gcc-11 2024-02-05 16:59:13 +01:00
Zbigniew Jędrzejewski-Szmek
f3a06b48a5 Rebuilt for libevent 2.1.12 (#2)
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/QOQW2BJBYMTIEUQIAYVEIX2L5IIOHDZL/
2024-02-05 16:59:13 +01:00
Adrian Reber
a667731131 Rebuilt for protobuf 3.13 2024-02-05 16:59:13 +01:00
Michal Schorm
d5320ef9b6 Rebuild due to libevent soname change 2024-02-05 16:59:13 +01:00
Michal Schorm
d94abba32b Start building the MeCab plugin 2024-02-05 16:59:13 +01:00
Michal Schorm
722076684a Fix the filelist.
A number of shared libraries in the plugindir are part of the testsuite and thus should reside in *-test subpackage
It will be best to keep the file list explicit to avoid this in the future
2024-02-05 16:59:13 +01:00
Michal Schorm
37a509f436 I encounter the ARM memory exaustion in the end
Looks like it is only issue on some machines
2024-02-05 16:59:13 +01:00
Michal Schorm
53372318b7 I haven't encounter the ARM memory exaustion on Fedora build infrastructure
Let's enable it and see how it will work
2024-02-05 16:59:13 +01:00
Lars Tangvald
c56966d2fa Enable LTO 2024-02-05 16:59:13 +01:00
Michal Schorm
18b2713fdb Remove ancient obsoletes 2024-02-05 16:59:13 +01:00
Michal Schorm
26b91bc699 Do a proper out-of-source CMake builds
Force the CMake change regarding the in-source builds also to F31 and F32
Use CMake macros instead of cmake & make direct commands
%%cmake macro covers the %%{set_build_flags}, so they are not needed
2024-02-05 16:59:13 +01:00
Honza Horak
99822cc68f Remove re2 dependency that is not needed any more 2024-02-05 16:59:13 +01:00
Honza Horak
5c37574e88 Check that we have correct versions in bundled(*) Provides 2024-02-05 16:59:13 +01:00
Jeff Law
77266db250 Disable LTO properly 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
d4fc909340 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Fedora Release Engineering
a438bcab56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Lukas Javorsky
ff0f386d88 Add failing tests 2024-02-05 16:59:13 +01:00
Lars Tangvald
3be266c59f Update to MySQL 8.0.21 2024-02-05 16:59:13 +01:00
Adrian Reber
4d2926a1ce Rebuilt for protobuf 3.12 2024-02-05 16:59:13 +01:00
Pete Walter
1c7ffc668b Rebuild for ICU 67 2024-02-05 16:59:13 +01:00
Lars Tangvald
a718330bdf Update to MySQL 8.0.20 2024-02-05 16:59:13 +01:00
Jitka Plesnikova
712220f447 Specify all perl dependencies 2024-02-05 16:59:13 +01:00
Michal Schorm
6db11ecba6 Add failing tests list since F32 mass rebuild 2024-02-05 16:59:13 +01:00
Michal Schorm
35e859b1ab Add failing test 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
0f57ab1bd2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Lars Tangvald
38c8d08a4f Update to MySQL 8.0.19 2024-02-05 16:59:13 +01:00
Adrian Reber
1a0ed504de Include patch to build against protobuf 3.11 2024-02-05 16:59:13 +01:00
Orion Poplawski
5a33d598a1 Rebuild for protobuf 3.11 2024-02-05 16:59:13 +01:00
Michal Schorm
2d872f485b Typo fixup 2024-02-05 16:59:13 +01:00
Michal Schorm
0b28b83285 Let the devel package require the libzstd-devel 2024-02-05 16:59:13 +01:00
Pete Walter
02f22f3242 Rebuild for ICU 65 2024-02-05 16:59:13 +01:00
Michal Schorm
a34f528606 Add missing dependency
Disable linking with GOLD on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698
2024-02-05 16:59:13 +01:00
Lars Tangvald
de17dc42a0 Update to MySQL 8.0.18 2024-02-05 16:59:13 +01:00
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