126 Commits

Author SHA1 Message Date
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
5603969652 add comment reminding about keeping -current REVISION if updating -stable 2020-12-21 13:01:59 +00:00
sthen
629974f35b mariadb: bump REVISION so the PKGNAME is "higher" than the version
in -stable, required because libiconv dep was removed in -current,
otherwise you get scary messages when updating -stable to current.
2020-12-21 11:51:20 +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
a6ecf5c92d databases/mariadb: update to 10.5.7, from Brad (maintainer)
Out-of-cycle release to fix regressions in MariaDB 10.5.7

Follow up to MDEV-19838 to alter protocol checks to support the
following implementations (which add garbage to the end of some
packets):

mysqlnd (from PHP < 7.3) (MDEV-24121)
mysql-connector-python (all versions) (MDEV-24134)
and mysql-connector-java (all versions)
2020-11-13 17:22:44 +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
a4ca47eb4e update to MariaDB 10.5.6, from Brad. CVE-2020-15180 2020-10-08 11:40:09 +00:00
sthen
2719f46e76 move mariadb-waitpid to -main, from Mikolaj Kucharski/brad/me 2020-10-03 13:12:35 +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
8e47977086 mariadb: fix pexp string, reported by Johan Huldtgren 2020-07-07 12:40:45 +00:00
sthen
efb5404c07 MariaDB port changes, from Brad:
- Enable XML support with the CONNECT engine.
- Add S3 plugin to the PLIST.
- Remove option disabling cURL support.
2020-06-29 11:33:58 +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
cwen
a5f75daf61 mariadb: don't require `-latomic' anymore on powerpc, since
this arch has been switched to clang

"go ahead" Brad (maintainer)
2020-04-06 20:58:29 +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
ac3cb554db adjust MariaDB pkg-readme to mention mysql_upgrade and use a simpler suggestion
for overriding socket path that matches the new default my.cnf better. ok Brad
2019-07-12 21:44:01 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
sthen
7aa2af4c21 update to mariadb-10.3.16, from Brad 2019-06-27 21:15:18 +00:00
sthen
ae95645ba1 add -latomic for mariadb on hppa, as done on macppc.
drop ONLY_FOR_ARCHS which with hppa added would be equal to the set
of arches with base-clang/ports-gcc as set in COMPILER, req by jca

"couldn't hurt" brad, ok jca
2019-06-14 10:08:52 +00:00
sthen
0c004a2215 simplify multipackages again, now that they are reunited between architectures.
from Brad.
2019-06-13 21:51:46 +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
sthen
9e886d4abb MariaDB port tweaks from Brad;
For libmariadb don't try to pick up cURL and use external zlib.
For the CONNECT engine don't try to pick up Mongo.

(plus small comment/ONLY_FOR_ARCHS tweaks and s/do-regress/do-test/)
2019-05-20 10:31:23 +00:00
jca
439ab94106 Zap a stray backslash 2019-05-13 03:53:22 +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
e9ebeca4ef use https; from Brad 2019-05-07 08:29:28 +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
bentley
d4cc864a13 https for osuosl.org. 2019-01-31 11:14:33 +00:00
landry
e1f121cf7b Re-disable the mroonga engine, it only builds on LE archs.
Prompted by a patch from George Koehler to subpackage it/make it
arch-dependent.

from brad (MAINTAINER)
2018-11-24 08:54:46 +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
ajacoutot
2b6f8eb5da - Enable the Mroonga storage engine.
- Enable XML support for the CONNECT storage engine.

from Brad (maintainer)
2018-10-27 09:27:56 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
sthen
27cd74215a use ports (rather than embedded) copy of pcre, from Brad 2018-10-16 14:41:14 +00:00