summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-12-07 00:46:12 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2025-12-19 19:12:40 +0100
commit3c81c4b8b8a4f6d28faf540d7fa5c36772be15fc (patch)
treee8ddb15cfc7bf6f2564ae2142f4c994e7b05d8a1
parent33b0df3b2676545eb2ef5c03842d88c8c7617c2e (diff)
gnu: poco: Enable SSL.
* gnu/packages/cpp.scm (poco)[arguments]<#:configure-flags>: Add ENABLE_CRYPTO, ENABLE_NETSSL. <#:phases>{disable-problematic-tests}: Add NetSSL_OpenSSL. [inputs]: Add openssl. Change-Id: I2b15339b1b4b4917de31c26e031a48f73dea714b
-rw-r--r--gnu/packages/cpp.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index e85bfb9ab1d..e44a1c4652d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2473,17 +2473,22 @@ of C++14 components that complements @code{std} and Boost.")
2473 (build-system cmake-build-system) 2473 (build-system cmake-build-system)
2474 (arguments 2474 (arguments
2475 (list 2475 (list
2476 #:configure-flags #~(list "-DENABLE_TESTS=ON") 2476 #:configure-flags #~(list "-DENABLE_TESTS=ON" "-DENABLE_CRYPTO=ON"
2477 "-DENABLE_NETSSL=ON")
2477 #:phases 2478 #:phases
2478 #~(modify-phases %standard-phases 2479 #~(modify-phases %standard-phases
2479 (add-after 'unpack 'disable-problematic-tests 2480 (add-after 'unpack 'disable-problematic-tests
2480 (lambda _ 2481 (lambda _
2481 (substitute* (list "Foundation/CMakeLists.txt" ; XXX: fails. 2482 (substitute* (list "Foundation/CMakeLists.txt" ; XXX: fails.
2482 ;; Require network access 2483 ;; Require network access.
2483 "Net/CMakeLists.txt" 2484 "Net/CMakeLists.txt"
2484 "MongoDB/CMakeLists.txt" 2485 "MongoDB/CMakeLists.txt"
2485 "Redis/CMakeLists.txt") 2486 "Redis/CMakeLists.txt"
2487 ;; Requires network access and uses certificates
2488 ;; that will expire.
2489 "NetSSL_OpenSSL/CMakeLists.txt")
2486 (("ENABLE_TESTS") "FALSE"))))))) 2490 (("ENABLE_TESTS") "FALSE")))))))
2491 (inputs (list openssl))
2487 (home-page "https://pocoproject.org/") 2492 (home-page "https://pocoproject.org/")
2488 (synopsis "Portable C++ components") 2493 (synopsis "Portable C++ components")
2489 (description "This package provides a collection of C++ libraries intended 2494 (description "This package provides a collection of C++ libraries intended