87 Commits

Author SHA1 Message Date
sthen
79f9ff8075 update to MariaDB 10.9.4, tidy arch-specific parts of the Makefile,
build rocksdb on other 64-bit LE archs, and add run-time hw feature
detection for OpenBSD/arm64. From Brad.
2022-11-09 12:12:44 +00:00
sthen
bf49d1e86c MariaDB tweaks, from Brad:
- Add a build fix for Clang to resolve building on riscv64
- Add a fix for retrieving the MAC address
- Update patch comments
2022-10-28 17:15:10 +00:00
sthen
af14247767 build mariadb with rocksdb on amd64 and riscv64, from Brad 2022-10-25 10:26:38 +00:00
sthen
86914ffe4c update to MariaDB 10.9.3, getting us onto 10.9.x for 7.2-stable,
and fixing some crash recovery and assertion bugs
https://mariadb.org/regressions-in-recent-mariadb-server-releases/

from Brad.
2022-09-20 18:27:42 +00:00
sthen
cc3d12affe mariadb: add support for OpenBSD to the disks plugin and enable it.
from brad.
2022-08-31 09:00:22 +00:00
sthen
0287c53a4d "Merge in main part of my diff to revert aligned_alloc() usage", from Brad.
(sync with f02ca429f7)
2022-08-24 13:23:48 +00:00
sthen
84301d9916 update to MariaDB 10.8.4, from Brad
CVE-2018-25032, CVE-2022-32081, CVE-2022-32082, CVE-2022-32084, CVE-2022-32089, CVE-2022-32091
2022-08-21 13:35:40 +00:00
sthen
8d25188596 update to mariadb-client-10.8.3, from Brad Smith (maintainer) 2022-06-06 08:21:02 +00:00
rsadowski
0e0ecabbc4 Remove all LIBxxx_VERSION hacks, cmake.mk can cope that now 2022-03-18 21:11:52 +00:00
naddy
7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
sthen
0014bbbba2 update to mariadb-10.6.7, from Brad
CVE-2021-46659, CVE-2021-46661, CVE-2021-46663, CVE-2021-46664, CVE-2021-46665,
CVE-2021-46668, CVE-2022-24048, CVE-2022-24050, CVE-2022-24051, CVE-2022-24052
2022-02-23 21:49:44 +00:00
tb
b1bd329b8d databases/mariadb: Fix build with opaque EVP_MD_CTX and EVP_CIPHER_CTX.
A mariadb developer didn't like the fact that these structs need to be
allocated in OpenSSL 1.1 and added some insane hacks to work around
this. Adjust the code to cope with that the same way as it is done for
OpenSSL.

LibreSSL doesn't provide the means to override malloc and friends, so
the runtime check cannot be adapted. Use generous estimates for the
sizes for these structs instead.

With opaque EVP_CIPHER_CTX, EVP_CIPHER_CTX_buf_noconst() needs to be
provided by libcrypto, so disable this and a few other API redefinitions.
2022-01-14 10:32:15 +00:00
sthen
86a671867a update to mariadb-10.6.5, from Brad 2021-11-16 20:29:52 +00:00
sthen
9b78663290 update to MariaDB 10.6.4, from Brad
Enable mroonga now that the build issue with clang has been fixed
2021-08-13 17:24:00 +00:00
sthen
d9f3732265 mariadb tweaks, from brad:
- fix warning by using proper API in the ioapi code for the connect storage backend
- sync plist
2021-07-10 10:54:02 +00:00
sthen
4cce4c2cb7 update to mariadb-10.6.3, from Brad 2021-07-09 11:35:29 +00:00
sthen
3a4ffbbed1 update to MariaDB-10.5.11, from Brad
https://mariadb.com/kb/en/mariadb-10511-release-notes/
2021-06-27 12:04:21 +00:00
sthen
04dec83197 mariadb: enable libexecinfo, from Brad 2021-06-11 19:19:59 +00:00
sthen
ee5bdec336 update to MariaDB 10.5.10, from Brad; includes fixes for CVE-2021-2154,
CVE-2021-2166 (DoS).

Various hash_XXX functions have been renamed to ma_hashtbl_XXX to fix
an issue with static linking to newer GnuTLS releases;
https://jira.mariadb.org/browse/CONC-543
d19c7c6926

These functions don't appear to be in the exported API so I have skipped
bumping the library version so that the same update can be used in stable.
I don't expect problems but if we run into any it can be bumped later.
2021-05-09 09:17:13 +00:00
sthen
1d73553a19 rm empty patch, reminded by brad 2021-04-30 11:12:32 +00:00
sthen
29f64789bc Remove old patch related to iconv support which has been removed.
Actually a noop as mysql_config defers to mariadb_config if present.
From Brad.
2021-04-29 20:52:00 +00:00
rsadowski
55b1f459b6 Fix cmake syntax. cmake >= 3.20 is much more strict. 2021-04-24 04:21:12 +00:00
sthen
95dac013da update to MariaDB 10.5.9, from Brad 2021-02-23 14:29:03 +00:00
sthen
fe8e51784b Update existing patch for backtrace()-related unit test build failure
to the version committed upstream. From Brad.
2021-01-29 12:05:44 +00:00
jasper
fdb3616d11 add two patches to fix building mariadb on powerpc64
"sure" brad (MAINTAINER)
2021-01-09 21:03:10 +00:00
sthen
4cf0e5eea8 mariadb: fix OQGraph check to avoid cmake printing unexpected check output,
from Brad (maintainer), https://jira.mariadb.org/browse/MDEV-24161
2020-11-14 21:24:37 +00:00
sthen
3feefc852c databases/mariadb: Replace a hack to disable OQGraph with
PLUGIN_OQGRAPH=NO and remove some bits that are no longer necessary.
From Brad (maintainer).
2020-11-13 17:18:20 +00:00
jca
9e9454ed0d Drop patches that lowered mysqladmin's default --connect-timeout
The kernel used to have a quite small limit for SO_RCVTIMEO/SO_SNDTIMEO,
this lead mysqladmin to error out with its default --connect-timeout
value.  But that was before mpi@'s uipc_socket.c rev 1.239 commit, which
extended the maximum timeout for those socket options.

ok Brad (maintainer)
2020-11-06 22:34:33 +00:00
sthen
7d971c66ae add ticket url, from brad 2020-11-06 10:19:00 +00:00
sthen
89c15ce76e update to MariaDB 10.5.7, from Brad
CVE-2020-14765, CVE-2020-14776, CVE-2020-14789, CVE-2020-14812

iconv linking is now disabled by default upstream; remove the patch that
was needed for building with libiconv (as opposed to libc iconv) -
https://github.com/mariadb-corporation/mariadb-connector-c/commit/7052619cc4 /
https://jira.mariadb.org/browse/CONC-491
2020-11-05 11:57:59 +00:00
sthen
c21f9e6ea3 rm empty file, pointed out by Brad 2020-08-12 14:59:23 +00:00
sthen
760680f62b update to MariaDB 10.5.5, from Brad 2020-08-12 14:43:54 +00:00
sthen
5ceee7c848 Fix iconv vs libiconv problem in MariaDB in a better way, from Brad. 2020-08-11 13:00:30 +00:00
sthen
eb9d22183d MariaDB port update, from Brad:
- Make use of getthrid(), also fixes the build on sparc64
- Fix building the S3 storage engine

Builds Ok on amd64, i386, powerpc and sparc64.
2020-06-28 21:35:41 +00:00
sthen
9d1bf1cdf9 update to MariaDB 10.5.4, from Brad.
move mytop from -server to -main
2020-06-26 08:46:41 +00:00
sthen
7251880261 mariadb tweak: avoid a cmake debug message. no packagee change. From Brad. 2020-03-28 13:11:06 +00:00
sthen
4ca0c5dfc0 update to MariaDB 10.4.12, from Brad.
CVE-2020-2574 - client DoS
2020-01-29 02:16:43 +00:00
sthen
fda30a18da update to MariaDB 10.4.11, from Brad (maintainer) 2019-12-30 20:26:51 +00:00
sthen
8f73040ba1 update to mariadb-10.3.21, from Brad 2019-12-16 13:35:57 +00:00
sthen
569d619b73 update to MariaDB 10.3.20, fixes CVE-2019-2938, CVE-2019-2974
from Brad
2019-11-19 17:41:51 +00:00
sthen
e391914532 update to MariaDB 10.3.18, from Brad 2019-09-15 12:37:01 +00:00
sthen
ef7c6a78f5 update to MariaDB 10.3.17, from Brad
CVE-2019-2737, CVE-2019-2739, CVE-2019-2740, CVE-2019-2758,
CVE-2019-2805
2019-08-05 19:48:49 +00:00
sthen
7aa2af4c21 update to mariadb-10.3.16, from Brad 2019-06-27 21:15:18 +00:00
jca
2b22f08b1c SECURITY update to mariadb-10.3.15
Bugs fixed (documented as hangs/crashes):
o CVE-2019-2614
o CVE-2019-2627
o CVE-2019-2628

Major update, upstream says running mysql_upgrade is required.

Release notes:
https://mariadb.com/kb/en/library/mariadb-10315-release-notes/

Upstream doesn't provide a default config file any more so I tried to
cook up which seemed reasonable.

This update should also fix mariadb on powerpc, broken since the update
to 10.2.23.  Thanks to cwen@ for the tests and tweaks.

ok Brad (maintainer)
2019-05-26 22:28:40 +00:00
jca
b799be6324 Major upgrade to mariadb-10.2.23
Some config options have changed or have been removed, check your config
file.  Also make sure to use mysql_upgrade.

Update effort started by jeremy@, continued by sthen@ and me.  Delayed
for some time because of lack of atomic builtins on lots of our base-gcc
platforms.  Since we now use ports-gcc to build mariadb, this is not
a problem any more.

This update brings in libiconv and changes the name of the library.
Stuart kindly proposed to handle the WANTLIB syncing.

Test reports for the server from jcs@ and sthen@.
ok sthen@, "go ahead" Brad (maintainer)
2019-05-12 21:56:55 +00:00
sthen
6342770387 Fix the mysql_install_db script. From Brad. 2019-03-01 15:27:05 +00:00
sthen
bd5fd13c02 update to MariaDB 10.0.38, from Brad.
CVE-2019-2529, CVE-2019-2537
2019-02-10 21:23:00 +00:00
sthen
09c30d495e update to MariaDB 10.0.37, from Brad
CVE-2016-9843, CVE-2018-3143, CVE-2018-3156, CVE-2018-3174,
CVE-2018-3251, CVE-2018-3282
2018-11-02 00:19:32 +00:00
sthen
7f276d91b4 update to MariaDB 10.0.36, from Brad
CVE-2018-2755, CVE-2018-2761, CVE-2018-2766, CVE-2018-2771, CVE-2018-2781,
CVE-2018-2782, CVE-2018-2784, CVE-2018-2787, CVE-2018-2813, CVE-2018-2817,
CVE-2018-2819, CVE-2018-3058, CVE-2018-3063, CVE-2018-3064, CVE-2018-3066,
CVE-2018-3081
2018-08-09 10:58:52 +00:00
sthen
44084a5408 update to MariaDB 10.0.34, from Brad.
CVE-2018-2562, CVE-2018-2622, CVE-2018-2640, CVE-2018-2665, CVE-2018-2668,
CVE-2018-2612
2018-02-05 10:40:03 +00:00