From nobody Sun Aug 18 12:23:24 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wmvyh4YrDz5T2XS; Sun, 18 Aug 2024 12:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wmvyh44D9z4SpC; Sun, 18 Aug 2024 12:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723983804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AGaxdEjdsoIYlTM/osJUM4AQAxgWefovBMxxvIWbKlc=; b=JfWFU3hi3bK8n4hZUKSljJBekPrfFPWQSdjkmoFyfHbZ3Uefyb5+gA9bcUQj94t3v24J8e RGCSYudz3toMK7LPus9I0ACla/x4djEtLkKnvbBBUFCjAfdPnnOPyDjP8AU38pA9bBuhAk CbObNE8AEG44rLIvoRgRzzhFdIaeXQc/I9BHsroMDb92pBAch8FXO6vQiqp4XlXtepUf8F hCebrPYYeQEFmC8NoyZaRvoy9IM33YtliaQ1yHyc9WLSwBSaPOziYoHSp36JlPIsPqlsVB 27tCACmZBN9Ga67Mj0MIhTUUpLvjmpIp9YQiwoMN6bYzP34zkD4kWXe/Lu3b7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723983804; a=rsa-sha256; cv=none; b=eQtAMrwJoLL+GiB1sPzs/RCtZtLd6qHxHcN72vsgjlgmaerBAE8EDBVTHTctsuu288tRFr QuvIjzIyHKUDb+QvibYtdj8wPSsPhNEYM8PByq2kNFazkwqDQq9Kka4SNNi9R+/WeL66V2 a9qypt4MnTeSN20LMjcADJiY1rJIa/OVlmox6hXTxjlQcnRPnkYkqEO0RFYWvhENPxva+m FaS95YgL8ZVghbGpXLJ0GNLFWR8pPK0fKMe2fvBi7wc/b+730yQLnxBye2cYb/jD4xPt7K iQ0YfNysRDNzb8rgmO8Rj+NNSv+JzvrfOiwtaFj+jCXWttfEYmjHcKrmXgShCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723983804; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AGaxdEjdsoIYlTM/osJUM4AQAxgWefovBMxxvIWbKlc=; b=UEkvVtbZheeKX587gns6xnuxkqMKQ1MGN2tZ/5H2ayvmwXJV+t0sr5lupDiSa1CEJSmNyw HThb8ZUmY/+3SjhFKJw5UXIINrAXpnNEtNzilMbiJgyZLwE9I8IfFS8eRwFV58rlgs8kGm fBI7kNBKJqFb0xhpFTK96uQXD6j57npPMN3o6tj9jbVRUdCSZgsJq4vIUTTS44gZyl6fnn on14+OB8vi487I/mbDSeK0J/r6bUdJ99Rg03WotCjlvStv1mE6L0ofmKzBqSegl8GlBi18 MCd4yL1R3Pk0HXif8y4uvsJ6AYpCFhu7rOSG9m3fGbvUUAEGkN+g0COjLgLSNQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wmvyh3gRBzYZX; Sun, 18 Aug 2024 12:23:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47ICNOND036920; Sun, 18 Aug 2024 12:23:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47ICNOog036917; Sun, 18 Aug 2024 12:23:24 GMT (envelope-from git) Date: Sun, 18 Aug 2024 12:23:24 GMT Message-Id: <202408181223.47ICNOog036917@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Bernard Spil Subject: git: a34cf9c2dbf5 - main - databases/mariadb106-server: Update to 10.6.19 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brnrd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a34cf9c2dbf503c8248371ba3bab24f34d2d045d Auto-Submitted: auto-generated The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a34cf9c2dbf503c8248371ba3bab24f34d2d045d commit a34cf9c2dbf503c8248371ba3bab24f34d2d045d Author: Bernard Spil AuthorDate: 2024-08-18 12:21:26 +0000 Commit: Bernard Spil CommitDate: 2024-08-18 12:23:18 +0000 databases/mariadb106-server: Update to 10.6.19 * Fix a ports LibreSSL issue [1] PR: 274494 [1] Reported by: Ivan Rozhuk --- databases/mariadb106-server/Makefile | 4 +- databases/mariadb106-server/distinfo | 6 +-- databases/mariadb106-server/files/patch-MDEV-34254 | 52 ---------------------- .../files/patch-mysys__ssl_openssl.c | 15 +++++++ databases/mariadb106-server/patch | 23 ++++++++++ .../mariadb106-server/patch-mysys__ssl_openssl.c | 17 +++++++ 6 files changed, 60 insertions(+), 57 deletions(-) diff --git a/databases/mariadb106-server/Makefile b/databases/mariadb106-server/Makefile index 1523df03e7f1..504fbdf51fd5 100644 --- a/databases/mariadb106-server/Makefile +++ b/databases/mariadb106-server/Makefile @@ -1,6 +1,6 @@ PORTNAME?= mariadb -PORTVERSION= 10.6.18 -PORTREVISION?= 1 +PORTVERSION= 10.6.19 +PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= https://mirror.nodesdirect.com/${SITESDIR}/ \ https://mirror.one.com/${SITESDIR}/ \ diff --git a/databases/mariadb106-server/distinfo b/databases/mariadb106-server/distinfo index 8d8248c62249..d5fe50bd36d4 100644 --- a/databases/mariadb106-server/distinfo +++ b/databases/mariadb106-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1716446883 -SHA256 (mariadb-10.6.18.tar.gz) = 6898a1111f47130709e28ba2c7bd1a57e4bb57101f6e109e597d51e6d385cf18 -SIZE (mariadb-10.6.18.tar.gz) = 99344652 +TIMESTAMP = 1723490771 +SHA256 (mariadb-10.6.19.tar.gz) = bcecb0ff7b79a41344736fa994710787c15516d51eb7715f278c3f0fcb7e8703 +SIZE (mariadb-10.6.19.tar.gz) = 99979223 diff --git a/databases/mariadb106-server/files/patch-MDEV-34254 b/databases/mariadb106-server/files/patch-MDEV-34254 deleted file mode 100644 index 68210424694c..000000000000 --- a/databases/mariadb106-server/files/patch-MDEV-34254 +++ /dev/null @@ -1,52 +0,0 @@ -From 90d376e01710fbc6f7e9eeef3f8c4653d5d4d82e Mon Sep 17 00:00:00 2001 -From: Dave Gosselin -Date: Mon, 13 May 2024 10:36:11 -0400 -Subject: [PATCH] MDEV-34129 mariadb-install-db appears to hang on macOS - -Immediately close down the signal handler loop when we decide to -break connections as it's the start of process termination -anyway, and there's no need to wait once we've invoked break_connections. ---- - sql/mysqld.cc | 15 +++++++++++---- - 1 file changed, 11 insertions(+), 4 deletions(-) - -diff --git a/sql/mysqld.cc b/sql/mysqld.cc -index cfc16209251c2..a9960400c17cd 100644 ---- sql/mysqld.cc.orig -+++ sql/mysqld.cc -@@ -2953,6 +2953,15 @@ static void start_signal_handler(void) - DBUG_VOID_RETURN; - } - -+/** Called only from signal_hand function. */ -+static void* exit_signal_handler() -+{ -+ my_thread_end(); -+ signal_thread_in_use= 0; -+ pthread_exit(0); // Safety -+ return nullptr; // Avoid compiler warnings -+} -+ - - /** This threads handles all signals and alarms. */ - /* ARGSUSED */ -@@ -3013,10 +3022,7 @@ pthread_handler_t signal_hand(void *arg __attribute__((unused))) - if (abort_loop) - { - DBUG_PRINT("quit",("signal_handler: calling my_thread_end()")); -- my_thread_end(); -- signal_thread_in_use= 0; -- pthread_exit(0); // Safety -- return 0; // Avoid compiler warnings -+ return exit_signal_handler(); - } - switch (sig) { - case SIGTERM: -@@ -3035,6 +3041,7 @@ pthread_handler_t signal_hand(void *arg __attribute__((unused))) - PSI_CALL_delete_current_thread(); - my_sigset(sig, SIG_IGN); - break_connect_loop(); // MIT THREAD has a alarm thread -+ return exit_signal_handler(); - } - break; - case SIGHUP: diff --git a/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c index dd66a716fa84..8a141435bd67 100644 --- a/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c +++ b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c @@ -12,3 +12,18 @@ #else #include +@@ -36,8 +36,12 @@ + static uint testing; + static size_t alloc_size, alloc_count; + +-static void *coc_malloc(size_t size, const char *f __attribute__((unused)), +- int l __attribute__((unused))) ++static void *coc_malloc(size_t size ++#if !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) ++ , const char *f __attribute__((unused)), ++ int l __attribute__((unused)) ++#endif ++) + { + if (unlikely(testing)) + { diff --git a/databases/mariadb106-server/patch b/databases/mariadb106-server/patch new file mode 100644 index 000000000000..78c70e302f6a --- /dev/null +++ b/databases/mariadb106-server/patch @@ -0,0 +1,23 @@ +diff --git a/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c +new file mode 100644 +index 000000000000..5f809d5ae662 +--- /dev/null ++++ b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c +@@ -0,0 +1,17 @@ ++--- mysys_ssl/openssl.c +++++ mysys_ssl/openssl.c ++@@ -36,8 +36,12 @@ ++ static uint testing; ++ static size_t alloc_size, alloc_count; ++ ++-static void *coc_malloc(size_t size, const char *f __attribute__((unused)), ++- int l __attribute__((unused))) +++static void *coc_malloc(size_t size +++#if !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) +++ , const char *f __attribute__((unused)), +++ int l __attribute__((unused)) +++#endif +++) ++ { ++ if (unlikely(testing)) ++ { diff --git a/databases/mariadb106-server/patch-mysys__ssl_openssl.c b/databases/mariadb106-server/patch-mysys__ssl_openssl.c new file mode 100644 index 000000000000..5f809d5ae662 --- /dev/null +++ b/databases/mariadb106-server/patch-mysys__ssl_openssl.c @@ -0,0 +1,17 @@ +--- mysys_ssl/openssl.c ++++ mysys_ssl/openssl.c +@@ -36,8 +36,12 @@ + static uint testing; + static size_t alloc_size, alloc_count; + +-static void *coc_malloc(size_t size, const char *f __attribute__((unused)), +- int l __attribute__((unused))) ++static void *coc_malloc(size_t size ++#if !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) ++ , const char *f __attribute__((unused)), ++ int l __attribute__((unused)) ++#endif ++) + { + if (unlikely(testing)) + {