Commit Graph

565 Commits

Author SHA1 Message Date
Michal Schorm
c870dc4d2c Extend the testsuite execution plan 2019-09-17 14:00:40 +02:00
Michal Schorm
59f05ba2ef Disable building of the ed25519 client plugin.
From now on it will be shipped by 'mariadb-connector-c' package
2019-09-11 13:01:30 +02:00
Michal Schorm
83045a5883 Fix the debug build 2019-09-06 04:31:21 +02:00
Michal Schorm
0f80301261 Rebase to 10.3.17 2019-08-01 20:42:47 +02:00
Fedora Release Engineering
4035a62c62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:53:07 +00:00
Michal Schorm
b0584894e4 Update build macros 2019-07-20 01:03:08 +02:00
Michal Schorm
8bf3a7d827 Rebase to 10.3.16
Added patch for armv7hl builds of spider SE
2019-06-18 22:35:37 +02:00
Michal Schorm
3a7d1f945d Rebase to 10.3.15 2019-06-12 12:27:35 +02:00
Michal Schorm
1f5de3828b Update after F28 EOL
Remove Cassandra SE; it is no longer developed: https://mariadb.com/kb/en/library/cassandra-storage-engine-overview
Fix typos
Remove unnecessary -fPIC; it is already applied by cmake SECURITY_HARDENED option
Update dead hypertext links
Stop providing "mariadb-galera"
Remove comments after %endif to comply with RPM syntax
2019-06-11 19:56:39 +02:00
Michal Schorm
f5eb0b7c4d Fix building with / without lz4 2019-05-10 04:53:11 +02:00
Michal Schorm
40688c3365 Fix building of TokuDB with Jemalloc 5 2019-05-10 03:48:29 +02:00
df9d3ff3d8 Move mysqld_safe_helper back to server subpackage
mysqld_safe is a script that calls the mysqld_safe_helper binary, so
being able to install one without the other doesn't make sense.
2019-05-06 11:10:51 +02:00
43e63f83db Use logrotateddir macro in one more spot 2019-05-03 22:32:37 -05:00
Michal Schorm
fe4891c5b8 Add patch for mysqld_safe --dry-run 2019-03-21 11:42:39 +01:00
Michal Schorm
943502fb6d Add patch for server pkgconfig file location 2019-03-20 18:26:16 +01:00
Pavel Raiskup
cbeee534b2 conditionally depend on selinux-policy-targeted again
Related: rhbz#1665643
Version: 10.3.12-11
2019-02-23 10:57:40 +01:00
Michal Schorm
44e21fbd64 Disable again the 'mysql-selinux' requirement. Bug remained, #1665643 2019-02-11 10:57:32 +01:00
Fedora Release Engineering
6ec65c33b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 09:39:27 +00:00
Honza Horak
73b0cf5ba2 Fix several SSL tests that failed because of different SSL cipher expectation 2019-01-30 07:29:00 +01:00
Michal Schorm
fba85c10dd Fix TokuDB Jemalloc ld_preload; #1668375
Tweak macros usage
2019-01-23 19:46:37 +01:00
Michal Schorm
4ea2bb47f2 Change weak dependency of RocksDB and TokuDB storage engines from Recommends to Suggests
Add "Suggests" weak dependencies to more storage engines
2019-01-21 13:56:44 +01:00
Michal Schorm
a444b291f8 Tweak the testsuite execution, speed up the testsuite on rebuilds
Enable mysql-selinux requirement
2019-01-21 13:37:56 +01:00
4cd2a4be54 Fix ggsapi typo 2019-01-17 10:48:21 -06:00
Michal Schorm
4c38589fa0 Update commands for newer CMake 2019-01-17 10:48:44 +01:00
Michal Schorm
49fab2f9ee Tweak handling of the mysql-selinux requirement 2019-01-16 12:48:02 +01:00
Björn Esser
e00d26b60c
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:08:29 +01:00
Kevin Fenzi
e5d3c93536 Drop mysql-selinux recommends for now due to bug #1665643 2019-01-11 17:17:14 -08:00
Honza Horak
4f1f8bb5b6 Use specific python shebang 2019-01-09 21:47:58 +01:00
Michal Schorm
e9dc01434b Rebase to 10.3.12 2019-01-09 09:57:45 +01:00
Michal Schorm
af148a5cec Add a weak dependence on a 'mysql-selinux' package 2019-01-06 03:16:37 +01:00
Michal Schorm
9a804d72e6 Remove ppc64 optimization which is no longer necessary 2018-12-15 08:02:31 +01:00
Michal Schorm
16e19df2b4 Rebase to 10.3.11 2018-12-10 13:21:07 +01:00
Michal Schorm
412ec98179 Update RPMLint blacklist 2018-10-22 15:37:32 +02:00
Michal Schorm
388f0ad7a8 Fix the debug build 2018-10-11 03:26:03 +02:00
Michal Schorm
5fd21bc1a6 Set Galera build options advised by the MariaDB documentation 2018-10-08 13:08:59 +02:00
Michal Schorm
7e676213ef Rebase to 10.3.10 2018-10-05 19:44:01 +02:00
Michal Schorm
fb9e3c56f0 Update RPMLint whitelist 2018-09-05 05:52:52 +02:00
Michal Schorm
2ce9d21e23 Fix parallel installability of x86_64 and i686 devel packages 2018-09-04 17:18:09 +02:00
Michal Schorm
293580d0b2 Use explicit "openssl-devel" again 2018-08-22 17:06:59 +02:00
Michal Schorm
e7b1a35ce0 Rebase to 10.3.9 2018-08-22 10:35:55 +02:00
Petr Lautrbach
5e6fd0f190 Update mariadb-server-galera sub-package to require the correct package with /usr/sbin/semanage
/usr/sbin/semanage was moved to policycoreutils-python-utils in Fedora
2018-08-10 09:36:12 +02:00
Honza Horak
a77eaad072 Do not build config on systems where mariadb-connector-c-config exists instead 2018-07-25 08:53:34 +02:00
Honza Horak
b9c8da27f2 Move config files mysql-clients.cnf and enable_encryption.preset to correct
sub-packages, similar to what upstream does
2018-07-18 00:39:30 +02:00
Fedora Release Engineering
5ea47737e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 09:47:31 +00:00
Michal Schorm
ecb40d449c Rebase to 10.3.8
Removal of the galera patch, it has been upstreamed
Build TokuDB with jemalloc; jemalloc 5 support introduced by upstream; #1583853
Allow very few tests to fail the testsuite; this won't block builds on unstable tests
2018-07-10 19:49:34 +02:00
Michal Schorm
ed2eba3105 Update Summary to match the upstream's 2018-06-28 11:19:53 +02:00
Michal Schorm
de46359584 Remove the --mem option for the testsuite. KOJI does not have enough RAM for it
(Errcode: 28 "No space left on device")
2018-06-28 00:52:27 +02:00
Michal Schorm
5007ecd667 Fix log rotation
Add forgotten 10.3.7 changelog entry
Remove galera and mysql obsoletion
Tweak the testsuite runs
Fix files section when build with test subpackage but without embedded subpackage
2018-06-27 21:35:06 +02:00
Michal Schorm
c4a60779cc The test is no longer present 2018-06-22 00:06:22 +02:00
Michal Schorm
6d5dc963e2 Rebase to 10.3.7
Merge branch 'private-10.3-COPR'
2018-06-21 23:09:09 +02:00
Michal Schorm
0ad70031b6 Disable AWS_KEY_MANAGEMENT plugin build
It needs git and it clones repository from the GitHub during the build process
2018-06-16 21:31:08 +02:00
Michal Schorm
7e5c97df1b Explicitly say that RocksDB is bundled
Attempt to unbundle it was unsuccessful
2018-06-14 15:39:00 +02:00
Jakub Janco
84de4c5d8c new version 10.3.7 2018-06-14 13:04:33 +02:00
Jakub Janco
e7e8c32ace Merge changes from 'master' into 'private-10.3-COPR' 2018-06-14 13:02:55 +02:00
Michal Schorm
68d53d0cd5 Prepare for building experimental Cassandra storage engine; leave it disabled for now
Remove openssl and bison unused requires
Disable building with jemalloc by CMake option; it was previously removed by accident
2018-06-12 21:16:21 +02:00
Michal Schorm
9e4f70c827 Jemalloc dependency moved to the TokuDB subpackage
CMake jemalloc option removed, not used anymore
The server doesn't need jemalloc since 10.2: https://jira.mariadb.org/browse/MDEV-11059
Build MariaDB with TokuDB without Jemalloc; users didn't find it problematic
2018-06-12 01:22:50 +02:00
Honza Horak
4024962c36 Use mysqladmin for checking the socket
This should avoid the long delay and service start failure in case the socket exists, some process is hanging on it, but no replies are sent, like when simulating the server using nc
2018-06-05 10:54:13 +02:00
Michal Schorm
5a8f2108c9 Fix PCRE macros to be more easily understood
Bump bundled PCRE version reuired by MariaDB
2018-06-04 15:46:46 +02:00
Michal Schorm
146358d414 Disable TokuDB build with Jemalloc 5.
Add more failing tests for the PPC64le.
2018-05-29 13:29:49 +02:00
Michal Schorm
f6397a1a9b Rebase to 10.2.15
Don't use conditionals macros verided by the values outside the SPEC. They don't work thay way.
Fix the server Recommends. They won't be parsed correctly, if they have whitespaces in front of them in contidional macros.
Move the upstream systemd config file for tokudb to the correct location.
Tweak the systemd unit files, to be closer to their upstream variants.
Heavy update of the skipped tests list. PPC64le seems problematic lately. Spider tests are disabled in the first testsuite run as a whole testsuite, so no need to explicitly list them.
Extend the testsuite timeout to 15 hours; 12 hours just wasn't enough for PPC64le; allow to retry failed test one time.
Build with Jemalloc again. Require Jemalloc by TokuDB. Set precise version of Jemalloc library to systemd config for TokuDB.
2018-05-28 06:16:00 +02:00
Michal Schorm
7fecec7c62 Fix typo 2018-05-02 14:33:53 +02:00
Michal Schorm
cae458ac36 Update some if clauses 2018-05-02 00:21:39 +02:00
Michal Schorm
d0b7a043a5 Build with lz4; Related: #1563282 2018-04-19 20:48:26 +02:00
Michal Schorm
fb1dfc156e Update to 10.3.6 2018-04-19 14:54:56 +02:00
Michal Schorm
8f35ef3af2 Rebase to 10.2.14
Update testsuite run for SSL self signed certificates
2018-03-29 03:28:28 +02:00
Michal Schorm
7855407025 Revert "COPR: update source url to fix source download"
This reverts commit 2f146cfc00.
2018-03-11 03:30:09 +01:00
Michal Schorm
2f146cfc00 COPR: update source url to fix source download 2018-03-11 03:06:18 +01:00
Michal Schorm
f900752655 COPR: update for building in COPR 2018-03-11 02:45:17 +01:00
Michal Schorm
259d0513b2 Further fix of ldconfig scriptlets for F27
Fix hardcoded paths, move unversioned libraries and symlinks to the devel subpackage
2018-03-06 16:11:41 +01:00
Michal Schorm
7195667067 Rebase to 10.2.13 version
Update lists of failing tests
2018-03-01 22:24:40 +01:00
Michal Schorm
994a33ffe0 Add condition for the client library component 2018-02-28 10:29:46 +01:00
Michal Schorm
fd1545682a SPECfile refresh, RHEL6, SySV init and old fedora stuff removed 2018-02-26 16:14:33 +01:00
Michal Schorm
094243a05a Release bump for rebuild 2018-02-25 11:47:21 +01:00
Michal Schorm
76677bb0ec Remove hardening if-clauses. Do the hardening always.
Use upstream -DSECURITY_HARDENED=ON which will eanable -pie and -Wl,-z,relro,-z,now, but also -fstack-protector and -D_FORTIFY_SOURCE=2
2018-02-25 03:40:00 +01:00
Michal Schorm
c34f161783 Prefer MariaDB over MySQL in DNF package resolution 2018-02-25 02:36:23 +01:00
Michal Schorm
5fe00622cb Use -DINSTALL_MYSQLTESTDIR Cmake argument correctly; https://jira.mariadb.org/browse/MDEV-14972 2018-02-18 20:12:10 +01:00
Michal Schorm
538105c8fd Add comment 2018-02-09 14:39:47 +01:00
Fedora Release Engineering
b75aea1dab - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 00:57:05 +00:00
Michal Schorm
39512bdd8b Update ldconfig scriptlets 2018-01-30 11:56:49 +01:00
Michal Schorm
daa1ad6dc4 Use '-ldl' compiler flag when associated library used
Resolves: #1538990
2018-01-26 18:26:43 +01:00
Michal Schorm
0f8f4c807c Use downstream tmpfiles instead of the upstream one; #1538066 2018-01-25 12:09:50 +01:00
Michal Schorm
d582a409d7 Fix upgrade path - do build TokuDB, but build a configuration unsupported by upstream (Build without Jemalloc) 2018-01-25 12:04:40 +01:00
Björn Esser
95af530dbb
Rebuilt for switch to libxcrypt 2018-01-20 23:07:11 +01:00
Honza Horak
a6ee91f1b4 Print the same messages as before when starting the service in SysV init, to not scare users
Related: #1463411
2018-01-12 13:33:21 +01:00
Honza Horak
a77a3d64a1 Support MYSQLD_OPTS and _WSREP_NEW_CLUSTER env vars in init script, same as it is done in case of systemd unit file
Related: #1455850
2018-01-11 19:25:41 +01:00
Honza Horak
16cf4d2abf Remove jar files used for testing from the source
Related: #1463417
2018-01-11 19:25:41 +01:00
Michal Schorm
bbf3a20d30 Rebase to 10.2.12
Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 removed
TokuDB disabled
Failing tests lists updated
2018-01-10 20:25:41 +01:00
Michal Schorm
1b8fb85b0f Temporary fix for #1523875 removed, bug in Annobin fixed 2017-12-11 12:55:15 +01:00
Michal Schorm
53adb7991c Added reasons in comments to removed files section.
Based on a question asked on the usptream mailing list: https://lists.launchpad.net/maria-developers/msg11028.html
2017-12-09 18:57:49 +01:00
Michal Schorm
e44669641a Rebase to 10.2.11
Temporary fix for https://jira.mariadb.org/browse/MDEV-14537 introduced
Temporary fix for #1523875 intoruced
2017-12-09 02:35:29 +01:00
Michal Schorm
add7d9cf1a Remove 'Group' tags as they should not be used any more
https://fedoraproject.org/wiki/RPMGroups
2017-12-06 09:51:51 +01:00
Honza Horak
d7b4f7837a Use conditions definition for optional plugins as described at https://github.com/rpm-software-management/rpm/blob/34c2ba3c/macros.in#L100-L141 2017-12-01 16:10:14 +01:00
Michal Schorm
df3c3b6c68 Fix PID file location
Related: #1483331, #1515779
2017-11-23 15:06:29 +01:00
Michal Schorm
8420e0ff5a Remove false Provides
List only relevant Cmake arguments
2017-11-20 14:38:51 +01:00
Michal Schorm
b36c28563a Fix file removal on multilib systems 2017-11-15 12:02:56 +01:00
Michal Schorm
e164541be4 Divided to more sub-packages to match upstream's RPM list: #1490401; #1400463
Update of Cmake arguments to supported format: https://lists.launchpad.net/maria-discuss/msg04852.htm
2017-11-13 09:18:22 +01:00
Michal Schorm
5722a3f4a8 Added JIRA issue trackers 2017-11-06 16:06:33 +01:00
Michal Schorm
a97652db21 Compatibility fix 2017-11-06 13:31:33 +01:00
Michal Schorm
b8b4d032f6 Rebase to 10.2.10 version
Patch 2: mariadb-install-test.patch has been incorporated by upstream
Patch 8: mariadb-install-db-sharedir.patch; upstream started to use macros
Update PCRE check
Start using location libdir/mariadb for plugins
Move libraries to libdir
Update unstable tests list
2017-11-03 03:42:19 +01:00
Michal Schorm
25eb8c91e6 Update PCRE version and fix its failsafe 2017-10-16 14:42:14 +02:00
Michal Schorm
1b7bd2e9d5 RPMLint error fix: Remove unused python scripts which remained from TokuDB upstream 2017-10-16 14:28:44 +02:00
Michal Schorm
3b1fe420f0 RPMLint error fix: description line too long 2017-10-08 00:35:13 +02:00
Michal Schorm
ac59198e8b RPMLint error fix: use python version in python scripts shebangs 2017-10-08 00:18:33 +02:00
Michal Schorm
81336ab97e Enable testsuite again
Bump version for rebuild
2017-10-05 19:05:24 +02:00
Michal Schorm
5d1fdf8404 Fix client library obsolete 2017-10-05 18:14:07 +02:00
Michal Schorm
19214b69d8 Fix building with client library 2017-10-05 14:33:14 +02:00
Michal Schorm
7d18921236 Fix of "with" and "without" macros, so they works
Use 'iproute' dependency instead of 'net-tools'
  Related: #1496131

Set server package to own /usr/lib64/mysql directory

Use correct obsolete, so upgrade from maridb 10.1 to 10.2 is possible with dnf "--allowerasing" option
  Related: #1497234

Created upstream issue tracker for the failing Spider testsuite
2017-10-04 21:31:14 +02:00
Michal Schorm
501c9293f9 Rebase to 10.2.9
Testsuite temorarly disabled in order to fast deploy critical fix
Related: #1497234
2017-10-02 14:47:32 +02:00
Michal Schorm
fe537064ba Use obosletes of "-libs" in "-common", if built without client library part 2017-09-26 13:21:30 +02:00
Michal Schorm
3ae3c01b3f Bump version 2017-09-21 12:00:14 +02:00
Michal Schorm
b33c986ca5 Set mariadb-connector-c-devel as Requires for mariadb-devel, instead of Recommends 2017-09-21 11:58:31 +02:00
Michal Schorm
9722cede7f Start building mariadb without client library part
Use mariadb-connector-c package instead
2017-09-20 14:47:03 +02:00
Michal Schorm
23d588b0ff Fix building without client library part 2017-09-20 14:30:23 +02:00
Honza Horak
d352dbd5ad Sync mysql.init with community-mysql 2017-08-28 23:10:27 +02:00
Honza Horak
fef8a6b54d Run mysql-prepare-db-dir as non-root 2017-08-28 22:59:20 +02:00
Honza Horak
a45e9dbc0b Use correct abbrev. for hindi 2017-08-28 22:40:39 +02:00
Honza Horak
8955559189 Do not expect mariadb-service-convert on non-systemd system and do not create ld.so.conf.d entry if no client library is shipped 2017-08-28 21:21:22 +02:00
Honza Horak
2039ee9607 Allow 4567 port for tcp as well 2017-08-28 21:09:54 +02:00
Honza Horak
f130bf6899 Install mysql-wait-ready on RHEL-6 for the SysV init 2017-08-28 21:08:52 +02:00
Honza Horak
263dd48ce1 Use macros around pidfile consistently 2017-08-28 20:58:21 +02:00
Honza Horak
036ca48a16 Support --defaults-group-suffix option in all starting scripts
Resolves: #1485777
2017-08-28 20:38:32 +02:00
Honza Horak
ebda147116 Fix paths in galera_recovery and galera_new_cluster
Resolves: #1403416
2017-08-28 20:35:59 +02:00
Honza Horak
802a77cc1b Fix version in the changelog 2017-08-28 20:29:45 +02:00
Honza Horak
e89fd4e189 Rebase to 10.1.25 2017-08-21 00:34:47 +02:00
Honza Horak
ba432eb69b Unlink the non-versioned library symlinks when the library itself is not delivered 2017-08-08 12:23:51 +02:00
Honza Horak
51d56ebb65 Binaries mysql_ldb and sst_dump are only installed when rocksdb is built 2017-08-08 07:47:59 +02:00
Honza Horak
47a4d5b48f Add mysqld_port_t definition also for udp as it is documented in the README 2017-08-07 18:31:37 +02:00
Honza Horak
fe1ebbe8f1 Use with init_systemd condition to build fine on RHEL-6 2017-08-07 18:20:34 +02:00
Honza Horak
47aa81f0f8 Use correct rocksdb conditions and remove bundled rocksdb if not compiled 2017-08-07 18:20:34 +02:00
Honza Horak
ab242dbfda Fix galera related selinux on RHEL-6 2017-08-07 18:20:34 +02:00
Honza Horak
a06955c958 Include each dependency on one line for better patches in the future 2017-08-07 18:20:34 +02:00
Honza Horak
91f4ad0e19 Add dependency for psmisc because of fuser call in mysql-check-socket 2017-08-07 18:20:34 +02:00
Honza Horak
655de675c8 Dividing test blacklists for s390 and ppc 2017-08-07 18:20:30 +02:00
Honza Horak
ad3f24323d Remove unnecessary condition, the branch with_systemd cannot be on RHEL-6 2017-08-07 17:04:42 +02:00
Michal Schorm
e550f7b3c4 Testsuite enabled 2017-08-06 23:57:36 +02:00
Michal Schorm
4444d37142 Fix removal of files, if build without client library
Testsuite enabled
2017-08-06 23:55:54 +02:00
Fedora Release Engineering
97c8a754f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 03:04:46 +00:00
Fedora Release Engineering
1af8bed533 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 20:52:11 +00:00
Adam Williamson
6bbbe1d098 Revert previous change, back to libmariadb headers (RHBZ #1474764) 2017-07-25 09:10:46 -07:00
Adam Williamson
b97399acb9 Install correct headers (server, not client) - MDEV-13370 2017-07-21 14:56:38 -07:00
Jonathan Wakely
bb731eb481 Rebuilt for s390x binutils bug 2017-07-19 16:50:44 +01:00
Jonathan Wakely
87012c4860 Rebuilt for Boost 1.64 2017-07-18 11:02:43 +01:00
Michal Schorm
04a85451ac Remove mysql-wait-* scripts. They aren't needed when using systemd "Type=notify" 2017-07-13 16:30:08 +02:00
Michal Schorm
70e252bc2b Rebase to 10.2.7
Get back mysql_config, its "--libmysqld-libs" is still needed
Symlink libmariadb.so.18 should point to versioned libmariadb library, since it was moved to -libs subpackage

MariaBackup Beta included
2017-07-13 14:12:13 +02:00
Adam Williamson
61b7a7d354 Fix SRPM build...I guess? 2017-07-12 15:46:35 -07:00
Adam Williamson
dcfdba190c Add manual Provides: for the libmysqlcient compat symlink 2017-07-12 15:40:34 -07:00
Adam Williamson
c9111f4735 Move libmysqlclient.so.18 compat link to -libs subpackage
Reviewed by mschorm.
2017-07-12 12:10:28 -07:00
Honza Horak
80328f92e1 Use the new provide perl-interpreter only in Fedora 2017-07-12 15:17:26 +02:00
Petr Písař
8e5086329f perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:53:52 +02:00
Michal Schorm
65d1b5a319 Disable Sphinx - circural dependency 2017-07-12 09:10:46 +02:00