Commit Graph

379 Commits

Author SHA1 Message Date
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
Honza Horak
caef780369 Use %cmake macro 2014-09-04 15:37:20 +02:00
Honza Horak
24ae267a59 Fix paths in mysql_install_db script
Resolves: #1134328
2014-09-04 15:36:04 +02:00
Honza Horak
2902cb9907 Handle all ppc64 the same in my_config.h 2014-08-21 14:42:41 +02:00
Honza Horak
782cd3849f Disable failing tests: innodb_simulate_comp_failures_small, key_cache
rhbz#1096787
2014-08-20 09:17:41 +02:00
Honza Horak
d01f3c2ab6 Build config subpackage everytime 2014-08-19 09:46:44 +02:00
Peter Robinson
b448ae9811 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 08:42:41 +00:00
Honza Horak
0fad14ff8f Only exclude ha_oqgraph.so if build with it 2014-08-14 17:27:12 +02:00
Honza Horak
2390bfeb42 Include mysqld_unit only if required; enable tokudb in f20- 2014-08-14 15:14:58 +02:00
Honza Horak
c5f6daa7dc Rebase to version 10.0.13 2014-08-14 09:54:25 +02:00
Honza Horak
0690baa687 Introduce -config subpackage and ship base config files here 2014-08-13 16:07:48 +02:00
Honza Horak
c3689f98c0 Move %files section into with client condition 2014-08-06 07:04:03 +02:00
Honza Horak
2a7a489639 Adopt changes from mysql, thanks Bjorn Munch <bjorn.munch@oracle.com> 2014-08-05 17:22:35 +02:00
Honza Horak
7de9cfe709 Fix several path issues. 2014-08-05 07:29:44 +02:00
Honza Horak
088c1e447f Absolut path for default value for pid file and error log 2014-07-28 19:26:09 +02:00
Honza Horak
842d2220fe Use explicit sysconfdir 2014-07-28 19:24:31 +02:00
Honza Horak
f6b02e3277 Hardcoded paths removed to work fine in chroot 2014-07-25 09:15:58 +02:00
Honza Horak
85af24c338 Spec rewrite to be more similar to oterh MySQL implementations 2014-07-24 13:59:25 +02:00
Honza Horak
9084c83ebd Add possibility to not ship some sub-packages 2014-07-24 08:22:48 +02:00
Honza Horak
ee2d0857de Include SysV init script if built on older system 2014-07-23 15:41:15 +02:00
Honza Horak
1366a527f1 Use variable for daemon unit name 2014-07-22 10:39:20 +02:00
Honza Horak
4bc1433e50 Reformating spec and removing unnecessary snippets 2014-07-22 01:07:00 +02:00
Honza Horak
b1b346ab21 Package OQGRAPH as a sub-package 2014-07-21 15:01:30 +02:00
Honza Horak
5eaeb51ae7 Expand paths in helper scripts using cmake 2014-07-21 14:57:46 +02:00
Honza Horak
b10bd5019e Remove already unused libmysql.version 2014-07-21 10:32:08 +02:00
Honza Horak
0879ad208d Require correct version of pcre library 2014-07-21 10:29:11 +02:00
Honza Horak
8a019a0a24 Error messages now provided by a separate package (thanks Alexander Barkov) 2014-07-21 10:20:20 +02:00
Honza Horak
626b71dbfc Add more group names for server's my.cnf 2014-07-21 09:53:36 +02:00
Honza Horak
2c4d13cefc Fix mysql_config packaging 2014-07-21 09:10:31 +02:00
Honza Horak
43c59ffe3e Add README-mysql-cnf into build dir to make it visible for %doc 2014-07-18 15:44:47 +02:00
Honza Horak
75785df7d6 Use modern symbol filtering with compatible backup 2014-07-18 14:28:47 +02:00
Honza Horak
539489a7a2 Disable TokuDB temporarily, until https://mariadb.atlassian.net/browse/MDEV-6446 is solved 2014-07-18 11:57:24 +02:00
Honza Horak
a6b32994ba Compile all binaries with full RELRO (RHBZ#1092548) 2014-07-18 09:55:25 +02:00
Honza Horak
f2af251c7d Improve error message when log file is not writable 2014-07-18 09:52:36 +02:00
Honza Horak
8102b4c264 Removed obsolete mysql-cluster, the package should already be removed 2014-07-17 17:33:31 +02:00
Honza Horak
0185d9964a Do not obsolete packages if macros not defined 2014-07-17 17:29:28 +02:00
Honza Horak
c2d546d69b Do not hardcode SOURCE names in the spec file 2014-07-17 17:24:07 +02:00
Honza Horak
6405c556a7 Introduce new option with_mysqld_unit 2014-07-17 16:46:12 +02:00
Honza Horak
d8610a2c7a Use buildroot rather than RPM_BUILD_ROOT to have the spec in sync with community-mysql 2014-07-17 16:33:17 +02:00
Honza Horak
4f5c8ebe4f Multilib support re-worked 2014-07-17 16:29:43 +02:00
Honza Horak
2d84ddd461 Do not hardcode SOURCE file names in spec 2014-07-17 16:02:19 +02:00
Honza Horak
9e778c02ee Include README.mysql-cnf 2014-07-17 15:57:42 +02:00
Honza Horak
aed899f509 Separate -lib and -common sub-packages
Require /etc/my.cnf instead of shipping it
2014-07-17 15:32:14 +02:00
Honza Horak
6830987ad3 Drop superfluous -libs and -embedded ldconfig deps (thanks Ville Skyttä) 2014-07-17 13:46:57 +02:00
Honza Horak
be639b0aa3 Enable TokuDB engine for x86_64
Re-enable tokudb_innodb_xa_crash again, seems to be fixed now
2014-07-15 16:09:03 +02:00
Honza Horak
502f72a4dc Enable OQGRAPH engine 2014-07-15 15:44:21 +02:00
Jakub Dorňák
a04e3ba825 Updated lists of failing tests
(have no results for s390*)
2014-06-23 19:03:30 +02:00
Jakub Dorňák
2a52daee0a Use -fno-delete-null-pointer-checks to avoid segfaults with gcc 4.9
(patch by Mikko Tiihonen)
2014-06-20 14:36:41 +02:00
Jakub Dorňák
3a5d7cd0bc Rebase to version 10.0.12 2014-06-19 16:08:41 +02:00
Dennis Gilmore
eeaa2f723c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:00:32 -05:00
Jakub Dorňák
b76166269a rebuild with tests failing on different arches disabled (#1096787) 2014-06-03 09:15:56 +02:00
Jakub Dorňák
7819f49078 rebuild with tests failing on different arches disabled (#1096787) 2014-06-02 18:25:47 +02:00
Dan Horák
e05ba09fe9 - rebuild with tests failing on big endian arches disabled (#1096787) 2014-05-29 13:33:24 +02:00
Dan Horák
3b0a17cb07 update arch list for the recently broken tests 2014-05-29 10:46:30 +02:00
Jakub Dorňák
ca8e4cee0e skip tests failing on ppc64 (rhbz#1096787) 2014-05-29 09:42:35 +02:00
Jakub Dorňák
d6a8f7fcc4 Rebase to version 10.0.11 2014-05-14 14:05:26 +02:00
Honza Horak
f2056aa950 Script for socket check enhanced 2014-05-05 12:36:12 +02:00
Jakub Dorňák
78d8add8e5 use system pcre library 2014-04-10 14:55:31 +02:00
Jakub Dorňák
1dcbdc2bc4 mariadb-10.0.10 - changelog 2014-04-10 10:26:59 +02:00
Jakub Dorňák
5160428e86 mariadb-10.0.10 - files 2014-04-08 10:37:08 +02:00
Jakub Dorňák
6aba9be8ec mariadb-10.0.10 - sources and patches 2014-04-07 21:07:33 +02:00
Honza Horak
d42fd78978 Move language files to the mariadb directory 2014-03-26 08:44:12 +01:00
Honza Horak
41a1c5712b Fix paths in helper scripts 2014-03-13 13:25:10 +01:00
Honza Horak
5b0ed2d410 Server crashes on SQL select containing more group by and left join statements using innodb tables
Resolves: #1065676
2014-03-12 11:38:27 +01:00
Honza Horak
62e3367ef7 Remove not needed patches 2014-03-06 18:19:50 +01:00
Honza Horak
d213ff08cc Rebase to 5.5.36
https://kb.askmonty.org/en/mariadb-5536-changelog/
2014-03-06 17:37:29 +01:00
Honza Horak
fff9c6f05a Daemon helper scripts sanity changes and spec files clean-up 2014-02-26 13:04:21 +01:00
Honza Horak
d283b05085 Fix typo in mysqld.service
Resolves: #1063981
2014-02-11 19:01:55 +01:00
Honza Horak
64e1dc37c7 Do not touch the log file in post script, so it does not get wrong owner
Resolves: #1061045
2014-02-05 12:03:57 +01:00
Honza Horak
6d5ecbd302 Fix owner and permission of log file in post script
Resolves: #1061045
2014-02-05 10:40:44 +01:00
Honza Horak
9b13c57f2f Fix changlog version 2014-01-30 18:03:25 +01:00
Honza Horak
577c71be65 Rebase to 5.5.35
https://kb.askmonty.org/en/mariadb-5535-changelog/
Also fixes: CVE-2014-0001, CVE-2014-0412, CVE-2014-0437, CVE-2013-5908, CVE-2014-0420, CVE-2014-0393, CVE-2013-5891, CVE-2014-0386, CVE-2014-0401, CVE-2014-0402

Resolves: #1054043
Resolves: #1059546
2014-01-30 17:53:19 +01:00
Honza Horak
9def760e7e Use compatibility mysqld.service instead of link
Related: #1014311
2014-01-17 10:34:51 +01:00
Honza Horák
73abdb8e5e Adopt compatible system versioning
Related: #1045013
2014-01-17 10:26:42 +01:00
Rex Dieter
3e8dca5f47 move mysql_config alternatives scriptlets to -devel too 2014-01-13 14:36:16 -06:00
Honza Horák
8b23b854ab Move mysql_config to -devel sub-package and remove Require: mariadb
Related: #1050920
2014-01-10 09:57:54 +01:00
Honza Horák
d01f73bd77 Build with -O3 on ppc64
Related: #1051069
2014-01-10 09:51:00 +01:00
Honza Horák
2980890d18 Disable main.gis-precise test also for AArch64
Disable perfschema.func_file_io and perfschema.func_mutex for AArch64
(like it is done for 32-bit ARM)
Resolves: #1050974
2014-01-10 09:40:00 +01:00
Honza Horák
0b96aec067 Clean all non-needed doc files properly 2014-01-10 09:17:12 +01:00
Honza Horák
cf12bcb35c Read socketfile location in mariadb-prepare-db-dir script 2014-01-08 09:45:23 +01:00
Honza Horák
607492ed8a Get INFO_xxx files from the correct place 2014-01-07 11:00:18 +01:00
Honza Horák
0be8e58cfc Fix date in changelog 2014-01-06 18:10:30 +01:00
Honza Horák
9aff247e12 Use %%ghost directive for the log file
Related: 1043501
2014-01-06 18:09:21 +01:00
Honza Horák
96e337e120 Check if socket file is not being used by another process at a time of starting the service
Related: #1045435
2014-01-06 12:08:06 +01:00
Honza Horák
36b8db2178 Use upstream's layout for symbols version in client library
Related: #1045013
2014-01-06 12:00:39 +01:00
Honza Horák
de206ed6cd Don't test EDH-RSA-DES-CBC-SHA cipher, it seems to be removed from openssl which now makes mariadb/mysql FTBFS because openssl_1 test fails
Related: #1044565
2014-01-06 11:54:32 +01:00
Honza Horák
2b8c23763f Fix mariadb-wait-ready script 2013-11-27 15:22:54 +01:00
Honza Horák
26fa8b35cd Rebase to 5.5.34 2013-11-22 08:55:22 +01:00
Honza Horák
9a2be74e7b Fix spec file to be ready for backport by Oden Eriksson
Resolves: #1026404
2013-11-04 16:40:18 +01:00
Honza Horák
eb0830bac9 Check if correct process is running in mysql-wait-ready script
Related: #1026313
2013-11-04 13:12:04 +01:00
Honza Horák
2e73b0f970 Add pam-devel to build-requires in order to build
Related: #1019945
2013-11-04 13:08:21 +01:00
Honza Horák
4fa030a2d7 Turn on test suite 2013-10-14 13:33:35 +02:00
Honza Horak
25740ab053 Dont't build with TokuDB by default 2013-10-12 15:53:31 +02:00
Honza Horák
8c95b2e672 Don't backup patched files 2013-10-11 14:22:15 +02:00
Honza Horák
3976d8922b Disable tokudb_innodb_xa_crash test
Work-around for BZ#1018192
2013-10-11 14:08:35 +02:00
Honza Horák
55c4f60c21 Enable outfile_loaddata test 2013-10-11 10:57:14 +02:00
Honza Horák
5df5e512dc Rebase to 5.5.33a 2013-10-11 09:58:06 +02:00
Honza Horák
3c56e2eca7 Re-organize my.cnf to include only generic settings (RHBZ#1003115)
Move pid file location to /var/run/mariadb (RHBZ#999589)
Make mysqld a symlink to mariadb unit file rather than the opposite way (RHBZ#999589)
2013-09-02 17:47:26 +02:00
Honza Horák
1adc7451a4 Move log file into /var/log/mariadb/mariadb.log
Rename logrotate script to mariadb
Resolves: #999589
2013-08-29 16:03:31 +02:00
Rex Dieter
95fdcac209 fix alternatives usage 2013-08-14 10:02:37 -05:00
Honza Horák
a173dc7da2 Multilib issues solved by alternatives
Resolves: #986959
2013-08-13 18:22:37 +02:00
Petr Písař
b757ef51f9 Perl 5.18 rebuild 2013-08-03 13:43:23 +02:00
Honza Horák
d9b4c2f8e2 Do not use login shell for mysql user 2013-07-30 23:25:34 +02:00
Honza Horák
3318b49773 Add condition for doc placement in F20+ 2013-07-30 17:15:34 +02:00
Honza Horák
5460e2a995 Use scriptstub instead of links to avoid multilib conflicts 2013-07-30 16:04:38 +02:00
Honza Horák
feb70c23cb Enhance documentation in the unit file 2013-07-30 14:27:58 +02:00
Honza Horák
0aac98ab5a Fix multilib header location for arm 2013-07-30 12:14:56 +02:00
Honza Horák
ea30ccdab4 Create mariadb.service symlink 2013-07-30 12:08:59 +02:00
Honza Horák
8e08256ade Provide mysql-compat-server symbol 2013-07-30 10:04:11 +02:00
Honza Horák
3798b7b971 Remove unneeded systemd-sysv requires 2013-07-30 09:31:26 +02:00
Dennis Gilmore
6c646d81fc remove "Requires(pretrans): systemd" since its not possible
- when installing mariadb and systemd at the same time. as in a new install
2013-07-28 19:40:34 -05:00
Kevin Fenzi
5bfa689cc1 Set rpm doc macro to install docs in unversioned dir 2013-07-27 13:29:34 -06:00
Dennis Gilmore
273083bdf6 add Requires(pre) on systemd for the server package 2013-07-26 20:02:27 -05:00
Dennis Gilmore
8ad2d22359 get the path right for the solaris bits 2013-07-24 13:01:04 -05:00
Peter Robinson
c334060603 solaris needs recursive rm due to being a directory 2013-07-24 12:05:12 +01:00
Dennis Gilmore
dc53d01aeb remove solaris files that were installed
fixuo date in changelog
2013-07-23 23:25:45 -05:00
Dennis Gilmore
26a56b8fd0 replace systemd-units requires with systemd 2013-07-23 21:09:39 -05:00
Honza Horák
88699ac4aa Clean-up spec file, remove un-necessary systemd snippets 2013-07-19 14:37:02 +02:00
Honza Horák
e48cc34c04 Rebase to 5.5.32
https://kb.askmonty.org/en/mariadb-5532-changelog/
2013-07-19 14:14:40 +02:00
Petr Písař
f0bc32a8db Perl 5.18 rebuild 2013-07-17 12:15:20 +02:00
Honza Horák
279ad3326d Fix misleading error message when uninstalling built-in plugins
Related: #966873
2013-07-01 15:24:02 +02:00
Honza Horák
5bbe2768ae Test suite params enhanced to decrease server condition influence 2013-07-01 15:21:46 +02:00
Honza Horák
af63a8bf7c Apply fixes found by Coverity static analysis tool 2013-06-27 16:40:14 +02:00
Honza Horák
9a1819acac Do not use pretrans scriptlet, which doesn't work in anaconda
Resolves: #975348
2013-06-19 11:40:23 +02:00
Honza Horák
9efa2eb96f Explicitly enable mysqld if it was enabled in the beggining of the transaction. 2013-06-14 10:47:43 +02:00
Honza Horák
7c1f6a7133 Apply man page fix from Jan Stanek 2013-06-13 14:29:22 +02:00
Honza Horák
47df471a29 Fix test suite requirements 2013-05-24 16:23:46 +02:00
Honza Horák
cf6dc1b3a8 Use /var/tmp instead of /tmp, since the later is using tmpfs,
which can cause problems
Resolves: #962087
2013-05-24 13:37:05 +02:00
Honza Horák
36438a3dd0 Rebase to 5.5.31
https://kb.askmonty.org/en/mariadb-5531-changelog/
Preserve time-stamps in case of installed files
2013-05-24 13:21:42 +02:00
Honza Horák
427fd6e396 Resolve multilib conflicts in mysql/private/config.h 2013-05-07 13:32:55 +02:00
Honza Horák
b89f76168f Remove mytop utility, which is packaged separately 2013-05-06 15:44:05 +02:00
Honza Horák
cd9eeb6283 Rebase to 5.5.30 2013-03-22 16:14:07 +01:00
Honza Horák
dff95bfa20 Obsolete MySQL since it is now renamed to community-mysql and remove real- virtual names 2013-03-22 14:57:53 +01:00
Honza Horák
8ae62ad575 Adding epoch to have higher priority than other mysql implementations when comes to provider comparison 2013-03-21 17:01:25 +01:00
Honza Horák
061f172c2d Adjust mariadb-sortbuffer.patch to correspond with upstream patch 2013-03-13 09:19:58 +01:00
Honza Horák
91bd546649 Let mariadb-embedded-devel conflict with MySQL-embedded-devel 2013-03-13 09:11:25 +01:00
Honza Horák
e9b1460d6c Mask expected warnings about setrlimit in test suite 2013-03-04 14:09:47 +01:00
Honza Horák
b8f9351dab Export dynamic columns and non-blocking API functions documented by upstream 2013-02-28 18:16:16 +01:00
Honza Horák
50cf48aea5 Use configured prefix value instead of guessing basedir in mysql_config; Resolves: #916189 2013-02-28 10:15:43 +01:00
Honza Horák
0cb82945a8 Fix sort_buffer_length option type 2013-02-27 17:05:40 +01:00
Honza Horák
7ef2ba1389 Skip failing tests also on ppc64p7 2013-02-13 12:34:52 +01:00
Honza Horák
dd2088fa6f Suppress warnings in tests also on ppc64p7 2013-02-13 09:20:22 +01:00
Honza Horák
e6d746a143 Suppress warning in tests on ppc, Enable fixed index_merge_myisam test case 2013-02-12 18:55:48 +01:00
Honza Horák
8bb66c606c Disable main.myisampack test also for s390 2013-02-11 13:34:02 +01:00
Honza Horák
8a5160dbf1 Typo in spec fixed 2013-02-11 10:51:44 +01:00
Honza Horák
473e3e84d1 Conflict only with real-mysql, otherwise mariadb conflicts with ourself 2013-02-11 10:38:18 +01:00
Honza Horák
a4dbe8dcaa Disable some tests that fail on ppc and s390 2013-02-11 10:34:56 +01:00
Honza Horák
e3d7534ed7 Fix format for buffer size in error messages (MDEV-4156) 2013-02-11 10:08:58 +01:00
Honza Horák
cc31a55411 Provide own symbols with real- prefix to distinguish from mysql unambiguously 2013-02-11 09:50:14 +01:00
Honza Horák
de551aa1e9 Packages need to provide also %%_isa version of mysql package 2013-02-07 14:32:27 +01:00
Honza Horák
30d1fbf422 Let mariadb-libs to own /etc/my.cnf.d 2013-02-05 13:33:52 +01:00
Honza Horák
5cefe26150 Rebase to 5.5.29
Fix inaccurate default for socket location in mysqld-wait-ready
Resolves: #890535
2013-02-01 11:35:51 +01:00
Honza Horák
1e074eeb80 Enable obsoleting mysql 2013-01-31 11:18:29 +01:00
Honza Horák
5ebb875274 Namespace sanity re-added for symbol default_charset_info 2013-01-30 17:04:04 +01:00
Honza Horák
5f858eef06 Adding necessary hacks for perl dependency checking, rpm is still not wise enough 2013-01-30 14:45:15 +01:00
Honza Horák
6595c88db1 Fix evaluation of %%obsoletemysql 2013-01-28 11:58:18 +01:00
Honza Horák
647547d07f Do not obsolete mysql at a time of testing 2013-01-28 09:56:16 +01:00
Honza Horák
96467d4052 Removed %%{_isa} from provides/obsoletes, which doesn't allow proper obsoleting 2013-01-28 09:10:15 +01:00
Honza Horák
9c7c797056 Initial commit 2013-01-10 18:35:12 +01:00