public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nng] rawhide: build with openssl support
@ 2026-08-07  7:38 Bill Roberts
  0 siblings, 0 replies; only message in thread
From: Bill Roberts @ 2026-08-07  7:38 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/nng
            Branch : rawhide
            Commit : bbd3cae6d2c6114ab6f2ab59b09163771645ac53
            Author : Bill Roberts <bill.roberts@arm.com>
            Date   : 2026-07-24T07:54:46-07:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/nng/c/bbd3cae6d2c6114ab6f2ab59b09163771645ac53?branch=rawhide

            Log:
            build with openssl support

Drop mbedtls and use openssl. mbedtls is really meant for embedded
environments and doesn't provide the most stable APIs and ABIs that are
the hallmark of desktop Linux distros.

Signed-off-by: Bill Roberts <bill.roberts@arm.com>

---
diff --git a/nng.spec b/nng.spec
index dca67d3..aab0c32 100644
--- a/nng.spec
+++ b/nng.spec
@@ -11,7 +11,7 @@ BuildRequires: gcc
 BuildRequires: gcc-c++
 BuildRequires: cmake
 BuildRequires: libnsl2-devel
-BuildRequires: mbedtls-devel
+BuildRequires: openssl-devel
 BuildRequires: rubygem-asciidoctor
 
 %description
@@ -46,7 +46,7 @@ sockets and bindings, which can include local and remote connections.
 %build
 %cmake -DCMAKE_CXX_FLAGS="%optflags -fPIC" -DBUILD_SHARED_LIBS=ON \
        -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_NNGCAT=ON \
-       -DNNG_TESTS=ON -DNNG_ENABLE_DOC=ON .
+       -DNNG_TESTS=ON -DNNG_ENABLE_DOC=ON -DNNG_TLS_ENGINE=openssl .
 
 %cmake_build
 
@@ -72,8 +72,9 @@ rm -rf %{buildroot}/%{_mandir}/man[3-7]*
 %{_mandir}/man1/nngcat.1.gz
 
 %changelog
-* Wed Jul 22 2026 Bill Roberts <bill.roberts@arm.com> - 1.12-1
+* Wed Jul 22 2026 Bill Roberts <bill.roberts@arm.com> - 1.12.0-1
 - update to latest upstream version 1.12
+- use openssl backend over mbedtls
 
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  7:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07  7:38 [rpms/nng] rawhide: build with openssl support Bill Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox