[packages/stunnel] - added mimalloc bcond; release 2

qboosh qboosh at pld-linux.org
Sun Jun 8 18:29:21 CEST 2025


commit 3b0e4ffe6f67f791debee448a6afcebff1de1a67
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 8 18:06:19 2025 +0200

    - added mimalloc bcond; release 2

 stunnel.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/stunnel.spec b/stunnel.spec
index e462993..9a271cb 100644
--- a/stunnel.spec
+++ b/stunnel.spec
@@ -1,12 +1,13 @@
 #
 # Conditional build:
-%bcond_without	systemd	# systemd socket activation support
+%bcond_without	systemd		# systemd socket activation support
+%bcond_with	mimalloc	# use mimalloc
 
 Summary:	Universal SSL tunnel
 Summary(pl.UTF-8):	Uniwersalne narzędzie do bezpiecznego tunelowania
 Name:		stunnel
 Version:	5.75
-Release:	1
+Release:	2
 License:	GPL v2+ with OpenSSL exception
 Group:		Networking/Daemons
 Source0:	https://www.stunnel.org/downloads/%{name}-%{version}.tar.gz
@@ -22,6 +23,7 @@ BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	libtool >= 2:2.0
 BuildRequires:	libwrap-devel
+%{?with_mimalloc:BuildRequires:	mimalloc-devel}
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	openssl-tools >= 0.9.7d
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -107,7 +109,7 @@ stunnel.
 %{__autoheader}
 %{__automake}
 %configure \
-	ac_cv_search_mi_malloc=no \
+	%{!?with_mimalloc:ac_cv_header_mimalloc_h=no ac_cv_search_mi_malloc=no} \
 	ac_cv_search_yp_get_default_domain=no \
 	--disable-silent-rules \
 	%{!?with_systemd:--disable-systemd} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/stunnel.git/commitdiff/3b0e4ffe6f67f791debee448a6afcebff1de1a67



More information about the pld-cvs-commit mailing list