Commit Graph

408 Commits

Author SHA1 Message Date
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
Jakub Dorňák
d34bef2a31 Revert "Update to 10.2.0"
This reverts commit 782ee21209.

It is possible that MariaDB 10.2.0 won't be stable till f25 GA.
2016-07-01 19:48:49 +02:00
Pavel Raiskup
cd3275f872 multilib fixes
Delegate most of the multilib decisions to multilib-rpm-config,
this allows us to maintain the rules at central place.

Move the pkgconfig file to architecture dependant location.

Version: 10.2.0-3
2016-06-27 19:05:16 +02:00
Petr Písař
e0a9f3e25e Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:01:21 +02:00
Jakub Dorňák
cb04c7ab87 Fix mysql-prepare-db-dir
Resolves: #1335849
2016-05-26 16:16:11 +02:00
Jakub Dorňák
782ee21209 Update to 10.2.0 2016-05-13 10:49:13 +02:00
Jakub Dorňák
992cadbef3 Add selinux policy
Update to 10.1.14 (includes various bug fixes)
Add -h and --help options to galera_new_cluster
2016-05-12 20:29:28 +02:00
Jakub Dorňák
345174466b wsrep_on in galera.cnf 2016-04-07 14:54:39 +02:00
Jakub Dorňák
d9318cef1d Moved other galera related files to mariadb-server-galera 2016-04-05 17:09:01 +02:00
Jakub Dorňák
f74de4a738 fix galera configuration file 2016-03-30 14:58:48 +02:00
Jakub Dorňák
77ceff32b6 Update to 10.1.13 2016-03-29 10:29:29 +02:00
Jakub Dorňák
3699d693be Fixed conflict with mariadb-galera-server 2016-03-23 13:58:03 +01:00
Jakub Dorňák
803bbfca97 Add subpackage mariadb-server-galera
Resolves: 1310622
2016-03-22 15:30:08 +01:00
Honza Horak
fa6213e0b4 Rebuild for BZ#1309199 (symbol versioning) 2016-03-01 15:26:02 +01:00
Jakub Dorňák
7fa8e9931a Update to 10.1.12 2016-03-01 12:39:43 +01:00
Honza Horak
20e34b49a4 Remove dangling symlink to /etc/init.d/mysql 2016-02-16 10:43:14 +01:00
Honza Horak
3c90b1d1a2 Use epoch for obsoleting mariadb-galera-server 2016-02-13 17:24:01 +01:00
Honza Horak
d13216c178 embedded-devel should require libaio-devel
Resolves: #1290517
2016-02-12 12:45:58 +01:00
Honza Horak
e0c8c9c170 Add Provides: bundled(pcre) in case we build with bundled pcre
Related: #1302296
2016-02-12 12:25:14 +01:00
Honza Horak
3e8dc51024 Fix typo s/obsolate/obsolete/ 2016-02-12 08:34:57 +01:00
Honza Horak
2caa773538 Remove mariadb-wait-ready call from systemd unit, we have now systemd notify support
Make mariadb@.service similar to mariadb.service
2016-02-11 13:52:17 +01:00
Honza Horak
f7a17ba600 Re-enable using libedit, which should be now fixed
Related: #1201988
2016-02-11 11:40:18 +01:00
Honza Horak
d43c4315ab Obsolate mariadb-galera & mariadb-galera-server (thanks Tomas Repik)
Resolves: #1279753
2016-02-11 10:35:49 +01:00
Honza Horak
a97ddad354 Add missing requirements for proper wsrep functionality 2016-02-11 10:24:38 +01:00
Honza Horak
43cc79ee49 Use systemd unit file more compatible with upstream 2016-02-08 06:56:32 +01:00
Honza Horak
0265f229ab Temporarily disabling oqgraph for
https://mariadb.atlassian.net/browse/MDEV-9479
2016-02-07 22:13:06 +01:00
Honza Horak
35f670f8ce Add files missing in spec 2016-02-07 14:29:38 +01:00
Dennis Gilmore
6562be992f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 04:53:25 +00:00
Jakub Dorňák
0619ce4c5b Update to 10.1.11 2016-02-03 15:26:02 +01:00
Jakub Dorňák
9a948cc78e Update to 10.1.10 2016-01-27 15:13:32 +01:00
Dan Horák
61cbdd0245 - rebuilt for s390(x) 2015-12-07 16:07:44 +01:00
Honza Horak
26eedb7974 Expand variables in server.cnf 2015-11-03 13:05:53 +01:00
Jakub Dorňák
6290cad8ad Update to 10.1.8 2015-10-29 18:31:23 +01:00
Jonathan Wakely
d9719cc625 Rebuilt for Boost 1.59 2015-08-27 20:44:52 +01:00
Jakub Dorňák
919f31dbfa BuildRequires: perl(Memoize)
It has been split from the main perl package in f24
2015-08-11 13:45:51 +02:00
Jakub Dorňák
7d334d7eaf Update to 10.0.21 2015-08-10 17:34:16 +02:00
Dennis Gilmore
c447717e1a - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 12:50:05 -05:00
David Tardon
61786393f1 rebuild for Boost 1.58 2015-07-22 19:05:55 +02:00
Honza Horak
fea52af2a7 Add tokuft_logprint into %files section 2015-06-24 07:09:40 -04:00
Honza Horak
1b9ef3ebd6 Update to 10.0.20 2015-06-23 22:42:54 -04:00
Dennis Gilmore
21e32e0f08 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 19:30:36 +00:00
Dan Horák
9df6d782e2 - Update lists of failing tests (jdornak)
Related: #1149647
2015-06-03 15:27:39 +02:00
Honza Horak
162447e3a4 Update to 10.0.19 2015-05-11 10:22:30 +02:00
Honza Horak
b4e648b57a Fix bogus data in changelog 2015-05-08 07:51:29 +02:00
Honza Horak
965e4581ba Fix openssl test to match openssl default ciphers
Conflicts:
	mariadb.spec
2015-05-08 07:50:50 +02:00
Honza Horak
913badf090 Update to 10.0.18
Conflicts:
	mariadb-ssltest.patch
	mariadb.spec
2015-05-07 22:40:48 +02:00
Honza Horak
e83c0889de Fix mysqladmin crash if run with -u root -p
Resolves: #1207170

Conflicts:
	mariadb.spec
2015-05-07 22:39:11 +02:00
Honza Horak
b5fe19261f Fail in case any command in check fails
Related: #1124791
2015-05-07 22:38:03 +02:00
Honza Horak
7d80bfec00 Add openssl as BuildRequires to run some openssl tests during build
Related: #1189180

Conflicts:
	mariadb.spec
2015-05-07 22:36:36 +02:00
Honza Horak
97dcf7410b Check permissions when starting service on RHEL-6
Resolves: #1194699

Conflicts:
	mariadb.spec
2015-05-07 22:34:54 +02:00
Honza Horak
35ddbf6329 Let plugin dir to be owned by -common
Conflicts:
	mariadb.spec
2015-05-07 22:33:17 +02:00
Honza Horak
cef557efac Do not use libedit
Related: #1201988
2015-05-07 22:31:28 +02:00
Honza Horak
41d13c39ac Include client plugins into -common package since they are used by both -libs
and base packages.

Conflicts:
	mariadb.spec
2015-05-07 22:29:59 +02:00
Kalev Lember
b0dd56bbb5 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 15:54:15 +02:00
Honza Horak
c9d7d6f31d Require -libs only when it is build 2015-03-06 21:50:59 +01:00
Honza Horak
fa8f2eb58c Do not use scl prefix more than once in paths
Based on https://www.redhat.com/archives/sclorg/2015-February/msg00038.html

Conflicts:
	mariadb.spec
	my.cnf.in
2015-03-06 21:31:18 +01:00
Honza Horak
4568299fc7 Do not include symlink to libmysqlclient if not shipping the library
Conflicts:
	mariadb.spec
2015-03-06 21:20:34 +01:00
Honza Horak
eb4231cae1 Wait for daemon ends
Resolves: #1072958

Conflicts:
	mariadb-scl-env-check.patch
	mariadb.spec
2015-03-06 21:18:26 +01:00
Honza Horak
5fdb6bd2c7 Added variable for turn off skipping some tests 2015-03-05 08:08:43 +01:00
Honza Horak
ba44c95846 Rebase to version 10.0.17
Conflicts:
	mariadb.spec
2015-03-05 08:08:19 +01:00
Honza Horak
1ba13114e2 Do not create test database by default
Related: #1194611
2015-03-05 08:06:53 +01:00
Honza Horak
46165ca650 Check permissions when starting service on RHEL-6
Resolves: #1194699

Conflicts:
	mariadb.spec
2015-03-05 08:06:38 +01:00
Matej Muzila
a02a49cae7 Enable tokudb 2015-02-18 13:48:18 +01:00
Honza Horak
0fd3f8559d Fix openssl test 2015-02-10 14:57:43 +01:00
Jakub Dorňák
52a503bde9 put back, what was accidentally removed 2015-02-06 13:22:55 +01:00
Jakub Dorňák
62d85982a4 updated lists of failing tests 2015-02-06 13:19:30 +01:00
Jakub Dorňák
709026c209 Include new certificate for tests 2015-02-06 13:17:53 +01:00
Jakub Dorňák
73dc70620a Rebase to version 10.0.16
Resolves: #1187895
2015-02-03 11:02:12 +01:00
Petr Machata
fb0dc83fa5 Rebuild for boost 1.57.0 2015-01-27 02:45:58 +01:00
Honza Horak
093a0820af Fix typo in the config file 2015-01-26 17:55:15 +01:00
Honza Horak
a0cd71f735 Do not create log file in post script
Conflicts:
	mariadb.spec
	my.cnf.in
2015-01-25 20:00:05 +01:00
Honza Horak
e1cb7b3d49 Use pkg_name for files in share 2015-01-25 13:07:20 +01:00
Honza Horak
b2ee179e9b Move server settings to config file under my.cnf.d dir 2015-01-25 00:00:50 +01:00
Honza Horak
5870f56b23 Fix path for sysconfig file
Filter provides in el6 properly
Fix initscript file location
2015-01-24 22:46:25 +01:00
Honza Horak
07c8c50492 Disable failing tests connect.mrr, connect.updelx2 on ppc and s390 2015-01-06 13:46:45 +01:00
Honza Horak
745e0f9209 Fix macros paths in my.cnf
Create old location for pid file if it remained in my.cnf
2014-12-22 14:28:44 +01:00
Honza Horak
8a5dc2e718 Rework usage of macros and remove some compatibility artefacts 2014-12-06 09:00:06 +01:00
Honza Horak
83886dc4bb Require mysql and mysql-compat-client only when providing them, since otherwise we cannot be sure there is such a package in the repo 2014-12-05 23:24:34 +01:00
Jakub Dorňák
7f3fe0a2f7 Update to 10.0.15 2014-12-01 02:43:34 +01:00
Jan Staněk
c0c63684bf Applied upstream fix for mysql_config --cflags output.
Resolves: #1160845
2014-11-20 14:09:59 +01:00
Jan Staněk
a2a92b8e1d Fixed compat service file.
Resolves: #1155700
2014-10-24 14:18:17 +02:00
Honza Horak
971c99504c Disable main.key_cache test on s390
Releated: #1149647
2014-10-13 20:42:51 +02:00
Honza Horak
7162d539b1 Move mysqlimport man page to proper package 2014-10-13 20:35:25 +02:00
Honza Horak
0df3a48d80 Remove bundled cmd-line-utils
Related: #1079637
2014-10-13 20:31:09 +02:00
Honza Horak
a7cd29b164 Disable tests connect.part_file, connect.part_table and connect.updelx
Related: #1149647
2014-10-08 14:10:49 +02:00
Honza Horak
b0dad15adb Add bcond_without mysql_names
Use more correct path when deleting mysql logrotate script
2014-10-01 14:13:57 +02:00
Honza Horak
4bb43c839e Build with system libedit
Resolves: #1079637
2014-10-01 08:46:39 +02:00
Honza Horak
53fd0e710d Remove errmsg-utf8.txt if not packaged 2014-09-30 21:32:03 +02:00
Honza Horak
c4ed5215c5 Add with_debug option 2014-09-29 18:41:50 +02:00
Honza Horak
00534d9ccc Update to 10.0.14 2014-09-29 17:19:52 +02:00
Honza Horak
487b6d1b34 Check upgrade script added to warn about need for mysql_upgrade 2014-09-29 14:34:41 +02:00
Honza Horak
77858d0995 Move some files to correspond with MariaDB upstream packages
client.cnf into -libs, mysql_plugin and msql2mysql into base,
  tokuftdump and aria_* into -server, errmsg-utf8.txt into -errmsg
Remove duplicate cnf files packaged using %doc
2014-09-24 17:32:43 +02:00
Honza Horak
2d590e9c2c Move connect engine to a separate package
Rename oqgraph engine to align with upstream packages
2014-09-24 15:53:15 +02:00
Honza Horak
5c7b565b2a Fix typo in changelog 2014-09-24 13:23:06 +02:00
Matej Mužila
881c7d3976 Client related libraries moved from mariadb-server to mariadb-libs
Related: #1138843
2014-09-24 09:42:14 +02:00
Honza Horak
6cfcb4da75 Install systemd service file on RHEL-7+
Server requires any mysql package, so it should be fine with older client

Conflicts:
	mariadb.spec
2014-09-08 12:40:20 +02:00
Honza Horak
50eb63d819 Disable vcol_supported_sql_funcs_myisam test on all arches
Related: #1096787
2014-09-08 12:32:47 +02:00