Commit Graph

136 Commits

Author SHA1 Message Date
ajacoutot
f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +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
kmos
1358a4c6af Fix build on sparc64 and other big endian arches by moving test files
for a little-endian-only storage engine to PFRAG.le-tests

from Brad Smith (maintainer)
2022-06-17 23:21:28 +00:00
sthen
7f9358b12f mariadb: add BDEP on devel/fmt; build breakage reported by aja@ 2022-06-06 17:35:25 +00:00
sthen
8d25188596 update to mariadb-client-10.8.3, from Brad Smith (maintainer) 2022-06-06 08:21:02 +00:00
naddy
7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
sthen
3c0422d144 bump REVISION to keep -current above -stable (different plists) 2022-02-24 15:04:51 +00:00
sthen
b12041748a missed file 2022-02-23 21:55:49 +00:00
robert
ac82c1e08a now that the daemon login class is tamed, let's switch the tc back to it 2022-02-21 10:22:37 +00:00
robert
cf51d7580a do not encourage the usage of cap_mkdb 2022-02-17 14:01:27 +00:00
robert
debc00933c add a custom login class for mariadb by default 2022-02-17 09:51:57 +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
espie
737fb8bb76 zap a few PKGNAME-sub which are now default
(and also duplicated EPOCH-sub which make little sense in db/{v3,v4}
2021-11-22 13:55:54 +00:00
sthen
86a671867a update to mariadb-10.6.5, from Brad 2021-11-16 20:29:52 +00:00
robert
0940bd958a set daemon timeout to 300 by default;
databases can take a long time to gracefully shutdown
especially if you have a lot of cached data or you are
swapping and we do not want to kill these processes to
avoid potential dataloss
2021-11-07 14:27:44 +00:00
sthen
2e38ba117d adjust mysqld.rc to use mariadb-prefixed binary name, from brad 2021-08-25 23:23:14 +00:00
sthen
06dda7a60f use the mariadb-prefixed version of binary names, from Brad 2021-08-16 17:49:56 +00:00
sthen
7b6676f059 Direct the user at kern.maxlocksperuid if they run into problems like
"doesn't exist in engine". Figured out by Frank Groeneveld, final diff from Brad
2021-08-13 20:19:28 +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
fa30ed7074 bump REVISION and adjust comment; execinfo change post-6.9 means that the
version number of mariadb in -current needs to be above the version in -stable
2021-06-27 12:07:49 +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
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
sthen
95dac013da update to MariaDB 10.5.9, from Brad 2021-02-23 14:29:03 +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
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
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
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
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