Commit Graph

470 Commits

Author SHA1 Message Date
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
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