Commit Graph

504 Commits

Author SHA1 Message Date
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
Michal Schorm
6572cb6308 Update of source URL 2017-06-14 03:14:01 +02:00
Honza Horak
25e7bbfef5 Fix checking whether we can initialize the datadir
Existance of .bash_history is ignored
Every file is checked separately, so we don't get false negative check when *.err matches e.g. 'mysql test zzz.org.err' content
Related: #1356897
2017-06-09 07:58:19 +02:00
Honza Horak
b23629497b Downstream script mariadb-prepare-db-dir fixed for CVE-2017-3265
Related: #1458940

Changes based on MySQL changes:
76e9d7e5b3
7a5145e445
2017-06-09 07:41:54 +02:00
Michal Schorm
61840ee570 Fixed incorrect Jemalloc initialization
#1459671
2017-06-08 09:27:02 +02:00
Michal Schorm
789b0094ed Rebase to 10.1.24
Build dependecies Bison and Libarchive added, others corrected
Disabling Mroonga engine for i686 architecture, as it is not supported by MariaDB
Removed patches: (fixed by upstream)
   Patch5:  %{pkgnamepatch}-file-contents.patch
   Patch14: %{pkgnamepatch}-example-config-files.patch
   Patch31: %{pkgnamepatch}-string-overflow.patch
   Patch32: %{pkgnamepatch}-basedir.patch
   Patch41: %{pkgnamepatch}-galera-new-cluster-help.patch

Skipped tests list updated
Bigger READMEs update (made by upstream)

Resolves: rhbz#1414387
  CVE-2017-3313
Resolves partly: rhbz#1443408
  CVE-2017-3308 CVE-2017-3309 CVE-2017-3453 CVE-2017-3456 CVE-2017-3464
2017-06-03 02:17:41 +02:00
Michal Schorm
7998c8ef3a Plugin oqgraph enabled
Plugin jemalloc enabled
'force' option for 'rm' removed
Enabled '--big-test' option for the testsuite
Disabled '--skip-rpl' option for the testsuite = replication tests enabled
Multilib manpage added RH unstable tests added to upstream file instead of our own
Server dependency changed from 'sh-utils' to 'coreutils'
2017-06-03 02:16:39 +02:00
Honza Horak
42046e34d7 Use coreutils rather than fileutils, since that is correct name of the package
In modules, fileutils provide might be missing, so we would have unsatisfied dependency
2017-05-30 14:33:52 +02:00
Fedora Release Engineering
2b74e7b23c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 21:27:43 +00:00
Michal Schorm
4a9448cf0c Removed strmov patch, it is no longer needed. The issue was fixed long ago in both MariaDB and MySQL
Removed "After=syslog.target" from systemd unit files. This option is a default one
2017-03-08 15:10:16 +01:00
Michal Schorm
c2cd667555 Fix of date in changelog 2017-03-07 10:31:35 +01:00
Michal Schorm
9442da1922 Cracklib plugin enabled 2017-03-07 10:28:51 +01:00
Michal Schorm
5732289a93 Fix for some RPMLint issues
Fix: Only server utilities can be move to server-utils subpackage. The rest (from client)
  were moved back to where they came from (client the main subpackage)
Added correct "Obsoletes" for the server-utils subpackage
Fixed FTBFS in F26 on x86_64, because of -Werror option
  Related: #1421092, #1395127
2017-02-15 17:04:36 +01:00
Fedora Release Engineering
49c2f70b31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 20:28:30 +00:00
Honza Horak
79362ec511 Add comment about why we need config subpackage. 2017-02-01 12:42:38 +01:00
Michal Schorm
ae4f65b461 Rebase to version 10.1.21
Most of the non-essential utilites has been moved to the new sub-package mariadb-server-utils
Patches "admincrash" and "errno" removed, they are no longer relevant
  "mysql-embedded-check.c" removed, no longer relevant
Buildrequires krb5-devel duplicity removed
Manpage for mysql_secure_installation extended
Preparation for the CrackLib plugin to be added (waiting for correct SELinux rules to be relased)
  Related: #1260821, #1205082, #1414387
2017-01-24 10:59:46 +01:00
Honza Horak
96f19d7d3d Add explicit EVR requirement in main package for -libs
Related: #1406320
2017-01-03 13:21:04 +01:00
Honza Horak
220a57c9a3 Use correct macro when removing doc files
Resolves: #1400981
2016-12-20 17:54:00 +01:00
Michal Schorm
45e6a32f4d Rebase to version 10.1.20
Related: #1405258
2016-12-17 00:05:18 +01:00
Michal Schorm
10402ba1d7 Move patch from specfile to standalone patch file
Related: #1382988
2016-12-04 03:04:56 +01:00
Michal Schorm
921725f94f Move of comment to resolve parser error 2016-12-01 12:15:08 +01:00
Michal Schorm
f21a855eb2 devel: use pkgconfig(openssl) to allow any implementation (like compat-openssl10) 2016-12-01 12:09:15 +01:00
Michal Schorm
cb9d852433 - Log-error option added to all config files examples
Resolves: #1382988
2016-12-01 02:00:37 +01:00
Michal Schorm
920fb712c2 Testsuite blacklists heavily updated. Current tracker: #1399847 2016-11-29 23:20:46 +01:00
Michal Schorm
5dcaa2e485 Testsuite blacklists heavily updated. Current tracker: #1399847 2016-11-29 23:16:04 +01:00
Michal Schorm
a02a62d1a0 JdbcMariaDB.jar test removed
- PCRE version check added
- Resolves: #1382988
- Related: #1396945, #1096787
2016-11-29 12:03:31 +01:00
Michal Schorm
684ad9995a JdbcMariaDB.jar test removed
- PCRE version check added
- Resolves: #1382988
- Related: #1396945, #1096787
2016-11-28 01:09:55 +01:00
Michal Schorm
14c6fb26f0 JdbcMariaDB.jar test removed
- PCRE version check added
- Resolves: #1382988
- Related: #1396945
2016-11-24 10:08:22 +01:00
Michal Schorm
e27677ac0e test suite ENABLED, consensus was made it still should be run every build 2016-11-16 14:57:34 +01:00
Michal Schorm
5958df69b3 fixed bug 1382988
- added comment to the test suite
- test suite DISABLED for most builds in Koji, see comments
2016-11-16 14:35:20 +01:00
Michal Schorm
873305ba73 Update to 10.1.19
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
- added krb5-devel pkg as Buldrquires to prevent gssapi failure
2016-11-16 07:09:57 +01:00
Michal Schorm
0d67e7b883 Update to 10.1.19
- added krb5-devel pkg as Buildrequires, since it can cause CMake errors
2016-11-15 21:36:47 +01:00
Michal Schorm
d1924a9dc6 typo 2016-11-15 21:33:18 +01:00
Michal Schorm
13aaaccfd0 Update to 10.1.19
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
- added krb5-devel pkg as Buldrquires to preven gssapi failure.
2016-11-15 20:13:02 +01:00
Michal
0a9c40135b Disabled openssl-devel package 2016-11-15 12:44:41 +01:00
Michal
e03800e0e3 Added compat-openssl10-devel package as well. 2016-11-15 12:42:17 +01:00
Michal Schorm
5d73f5f249 Update to 10.1.19
- added temporary support to build with OpenSSL 1.0 on Fedora >= 26
2016-11-15 12:05:47 +01:00
Michal Schorm
431c116cac Update to 10.1.19 2016-11-15 11:41:43 +01:00
Jakub Dorňák
f02f0df623 Update to 10.1.18 2016-10-04 19:10:57 +02:00
Jakub Dorňák
c2703ae4c1 Update to 10.1.17 2016-09-07 14:39:45 +02:00
Jakub Dorňák
3444dbd746 Fixed galera repliaction
Resolves: #1352946
2016-08-29 17:01:25 +02:00
Jakub Dorňák
d8a18c3d89 Update to 10.1.16 2016-07-21 09:20:02 +02:00
Honza Horak
4e699cec52 Running ssl tests alone does not work 2016-07-16 21:45:06 +02:00
Honza Horak
4cf445442f Include galera script and config only on systemd-enabled system 2016-07-15 10:51:10 +02:00
Honza Horak
9291dfdbbe Do not try to build OQGRAPH if not set in spec 2016-07-15 10:50:40 +02:00
Honza Horak
39de317fb5 Fix ssl tests and run them separately 2016-07-15 10:49:28 +02:00
Honza Horak
e3d4b2f14e Use license macro for inclusion of licenses 2016-07-15 08:00:18 +02:00
Honza Horak
2b30b91e4e Fail build when test-suite fails 2016-07-15 07:59:05 +02:00
Honza Horak
95ef74d698 Include mariadb@.service only when cmake installs it 2016-07-14 22:04:43 +02:00
Honza Horak
5c109c86e1 Revert "Update to 10.1.15"
This reverts commit e6d72a834b.
2016-07-14 21:19:26 +02:00
Honza Horak
52318239a0 Include perl-generators dependency only on newer system where this package exists 2016-07-14 20:05:02 +02:00
Honza Horak
10ba86daf1 Re-enable checking test-suite result 2016-07-14 19:42:00 +02:00
Honza Horak
ff0bbd1d4f Bump release for previous commit: Check datadir more carefully to avoid unwanted data corruption
Related: #1335849
2016-07-14 19:38:52 +02:00
Jakub Dorňák
69ae9856e2 need to bump release too to pass n-v-r check 2016-07-07 14:33:31 +02:00
Jakub Dorňák
94956e3b32 bump epoch
related to the downgrade from the pre-release version
2016-07-07 12:49:05 +02:00
Jakub Dorňák
e6d72a834b Update to 10.1.15 2016-07-04 10:58:44 +02:00