From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54A6C15808A for ; Wed, 23 Jul 2025 02:37:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 026D43415D2 for ; Wed, 23 Jul 2025 02:37:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0AF5D110560; Wed, 23 Jul 2025 02:37:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0379111055E for ; Wed, 23 Jul 2025 02:37:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC8ED3415F1 for ; Wed, 23 Jul 2025 02:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 250083294 for ; Wed, 23 Jul 2025 02:37:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1753238079.e2df40ad0d132bcc100f3441d564fe38258b120c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/stunnel/files/, net-misc/stunnel/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch net-misc/stunnel/stunnel-5.74.ebuild net-misc/stunnel/stunnel-5.75.ebuild X-VCS-Directories: net-misc/stunnel/ net-misc/stunnel/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e2df40ad0d132bcc100f3441d564fe38258b120c X-VCS-Branch: master Date: Wed, 23 Jul 2025 02:37:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 62579384-6f0b-4ad3-8e4b-12aeae77e3fa X-Archives-Hash: a4c3ecf1707ab7539911910ad9048f4e commit: e2df40ad0d132bcc100f3441d564fe38258b120c Author: Z. Liu gmail com> AuthorDate: Sat Jul 12 14:27:13 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 23 02:34:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2df40ad net-misc/stunnel: handle mimalloc's .so filename libmimalloc.so will be libmimalloc-secure.so if dev-libs/mimalloc is built with USE="hardened" Thanks-to: Jiri Netolicky epos.cd.cz> Closes: https://bugs.gentoo.org/956606 Closes: https://bugs.gentoo.org/956616 Signed-off-by: Z. Liu gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43013 Closes: https://github.com/gentoo/gentoo/pull/43013 Signed-off-by: Sam James gentoo.org> .../stunnel/files/stunnel-5.74-hardened-mimalloc.patch | 15 +++++++++++++++ net-misc/stunnel/stunnel-5.74.ebuild | 1 + net-misc/stunnel/stunnel-5.75.ebuild | 1 + 3 files changed, 17 insertions(+) diff --git a/net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch b/net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch new file mode 100644 index 000000000000..eeb27f9eb52d --- /dev/null +++ b/net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch @@ -0,0 +1,15 @@ +.so of mimalloc will be libmimalloc-secure.so if build with +"-DMI_SECURE=ON" (USE="hardended" in Gentoo). +diff --git a/configure.ac b/configure.ac +index c647b5c..e2b1f55 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -225,7 +225,7 @@ AC_SEARCH_LIBS([openpty], [util]) + AC_SEARCH_LIBS([dlopen], [dl]) + AC_SEARCH_LIBS([shl_load], [dld]) + # Checks for optional libraries +-AC_SEARCH_LIBS([mi_malloc], [mimalloc]) ++AC_SEARCH_LIBS([mi_malloc], [mimalloc mimalloc-secure]) + + # Add BeOS libraries + if test "x${host_os}" = "xbeos"; then diff --git a/net-misc/stunnel/stunnel-5.74.ebuild b/net-misc/stunnel/stunnel-5.74.ebuild index 3187e5965d07..ca1cf9937023 100644 --- a/net-misc/stunnel/stunnel-5.74.ebuild +++ b/net-misc/stunnel/stunnel-5.74.ebuild @@ -43,6 +43,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-5.71-dont-clobber-fortify-source.patch "${FILESDIR}"/${PN}-5.71-respect-EPYTHON-for-tests.patch + "${FILESDIR}"/${PN}-5.74-hardened-mimalloc.patch ) python_check_deps() { diff --git a/net-misc/stunnel/stunnel-5.75.ebuild b/net-misc/stunnel/stunnel-5.75.ebuild index ed8a71dca93b..46518864cdb8 100644 --- a/net-misc/stunnel/stunnel-5.75.ebuild +++ b/net-misc/stunnel/stunnel-5.75.ebuild @@ -43,6 +43,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-5.71-dont-clobber-fortify-source.patch "${FILESDIR}"/${PN}-5.71-respect-EPYTHON-for-tests.patch + "${FILESDIR}"/${PN}-5.74-hardened-mimalloc.patch ) python_check_deps() {