Commit Graph

459 Commits

Author SHA1 Message Date
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
Michal Schorm
3775a7afa5 Disable Dtrace 2017-07-12 01:01:39 +02:00
Michal Schorm
38ba8acc0a Remove unneeded requires. 2017-07-11 22:59:11 +02:00
Michal Schorm
69417aa78b Rebase to 10.2.6
SSL patch removed
'libmariadb.so.3' replaced 'limysqlclient.so.18.0.0'
"make test" removed, it needs running server and same test are included in the testsuite
2017-07-11 22:26:16 +02:00
Michal Schorm
e2f0086f30 Disable plugins 'cracklib' and 'gssapi' by default
Related: #1468028, #1464070

Looks like the testsuite removes its 'var' content correctly, no need to do that explicitly.
2017-07-11 14:11:08 +02:00
Igor Gnatenko
93cc726551 Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-07 12:22:23 +02:00
Michal Schorm
570e5a390a Use "/run" location instead of "/var/run" symlink
Related: #1455811

AppArmor policy files removed

Some cosmetic changelog changes
2017-06-19 12:49:43 +02:00