[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/19: gnu: cmake-minimal: Update to 3.24.2.
From: |
guix-commits |
Subject: |
09/19: gnu: cmake-minimal: Update to 3.24.2. |
Date: |
Fri, 16 Sep 2022 16:45:31 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 3cf8b3dc574c5c0e8df1b76b9349db197ba54333
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Sep 16 19:40:49 2022 +0200
gnu: cmake-minimal: Update to 3.24.2.
* gnu/packages/patches/cmake-curl-certificates.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.24.2
[source](patches): Use refreshed patch.
(cmake)[version, source]: Remove.
---
gnu/local.mk | 1 -
gnu/packages/cmake.scm | 23 ++----------
gnu/packages/patches/cmake-curl-certificates.patch | 41 ----------------------
3 files changed, 3 insertions(+), 62 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 86dbd51a0b..b09c887c8d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -971,7 +971,6 @@ dist_patch_DATA =
\
%D%/packages/patches/classpath-miscompilation.patch \
%D%/packages/patches/cling-use-shared-library.patch \
%D%/packages/patches/clucene-pkgconfig.patch \
- %D%/packages/patches/cmake-curl-certificates.patch \
%D%/packages/patches/cmake-curl-certificates-3.24.patch \
%D%/packages/patches/coda-use-system-libs.patch \
%D%/packages/patches/collectd-5.11.0-noinstallvar.patch \
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 7f51c02b8a..151b91bf12 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -152,7 +152,7 @@ using the CMake build system.")
(define-public cmake-bootstrap
(package
(name "cmake-bootstrap")
- (version "3.24.1")
+ (version "3.24.2")
(source (origin
(method url-fetch)
(uri (string-append "https://cmake.org/files/v"
@@ -160,8 +160,8 @@ using the CMake build system.")
"/cmake-" version ".tar.gz"))
(sha256
(base32
- "0ax83yfis1n74llqhckrbgzcp82pfwx039xs2dgq06nvlivy4ca9"))
- (patches (search-patches "cmake-curl-certificates.patch"))))
+ "1ny8y2dzc6fww9gzb1ml0vjpx4kclphjihkxagxigprxdzq2140d"))
+ (patches (search-patches "cmake-curl-certificates-3.24.patch"))))
(build-system gnu-build-system)
(arguments
(list
@@ -330,23 +330,6 @@ and workspaces that can be used in the compiler
environment of your choice.")
(package
(inherit cmake-minimal)
(name "cmake")
- (version "3.24.2")
- (source (origin
- (inherit (package-source cmake-minimal))
- (method url-fetch)
- (uri (string-append "https://cmake.org/files/v"
- (version-major+minor version)
- "/cmake-" version ".tar.gz"))
- (snippet (match (origin-snippet (package-source cmake-minimal))
- (('begin ('define 'preserved-files ('quote x))
- rest ...)
- `(begin (define preserved-files
- ',(cons "Utilities/cmelf" x))
- ,@rest))))
- (sha256
- (base32
- "1ny8y2dzc6fww9gzb1ml0vjpx4kclphjihkxagxigprxdzq2140d"))
- (patches (search-patches "cmake-curl-certificates-3.24.patch"))))
(outputs '("out" "doc"))
(arguments
(substitute-keyword-arguments (package-arguments cmake-minimal)
diff --git a/gnu/packages/patches/cmake-curl-certificates.patch
b/gnu/packages/patches/cmake-curl-certificates.patch
deleted file mode 100644
index 8dd93de724..0000000000
--- a/gnu/packages/patches/cmake-curl-certificates.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-By default commands such as "ctest" would not look for certificates
-at all: <https://issues.guix.gnu.org/issue/37371>.
-
-This changes CMake such that commands honor SSL_CERT_FILE and SSL_CERT_DIR
-as well as /etc/ssl/certs.
-
-diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx
-index 28ee24dfe9..6b2bb09ff5 100644
---- a/Source/cmCurl.cxx
-+++ b/Source/cmCurl.cxx
-@@ -2,10 +2,7 @@
- file Copyright.txt or https://cmake.org/licensing for details. */
- #include "cmCurl.h"
-
--#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) &&
\
-- !defined(__APPLE__) && !defined(CURL_CA_BUNDLE) && !defined(CURL_CA_PATH)
- # define CMAKE_FIND_CAFILE
--#endif
- #include "cmStringAlgorithms.h"
- #include "cmSystemTools.h"
-
-@@ -38,6 +35,19 @@ std::string cmCurlSetCAInfo(::CURL* curl, const
std::string& cafile)
- ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile.c_str());
- check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
- }
-+
-+ /* Honor the usual environment variables. */
-+ else if (cmSystemTools::GetEnv("SSL_CERT_FILE", e)) {
-+ ::CURLcode res =
-+ ::curl_easy_setopt(curl, CURLOPT_CAINFO, e.c_str());
-+ check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
-+ }
-+ else if (cmSystemTools::GetEnv("SSL_CERT_DIR", e)) {
-+ ::CURLcode res =
-+ ::curl_easy_setopt(curl, CURLOPT_CAPATH, e.c_str());
-+ check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
-+ }
-+
- #ifdef CMAKE_FIND_CAFILE
- # define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt"
- else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) {
- branch core-updates updated (7e0f2728a4 -> 5339cb1161), guix-commits, 2022/09/16
- 01/19: gnu: libgcrypt: Provide absolute gpgrt-config also for native builds., guix-commits, 2022/09/16
- 05/19: gnu: python-mako: Update to 1.2.2., guix-commits, 2022/09/16
- 07/19: gnu: GnuPG: Update to 2.2.39., guix-commits, 2022/09/16
- 02/19: gnu: glibc-for-bootstrap: Remove obsolete patch., guix-commits, 2022/09/16
- 03/19: gnu: freeimage: Adjust for LibTIFF 4.4., guix-commits, 2022/09/16
- 04/19: gnu: fontforge: Update to 20220308., guix-commits, 2022/09/16
- 08/19: gnu: libpaper: Update to 2.0.0., guix-commits, 2022/09/16
- 09/19: gnu: cmake-minimal: Update to 3.24.2.,
guix-commits <=
- 15/19: gnu: libtiff: Fix CVE-2022-34526., guix-commits, 2022/09/16
- 17/19: gnu: Remove wayland-protocols-next., guix-commits, 2022/09/16
- 12/19: gnu: tevent: Update to 0.13.0., guix-commits, 2022/09/16
- 06/19: gnu: libksba: Update to 1.6.1., guix-commits, 2022/09/16
- 10/19: gnu: samba: Update to 4.17.0., guix-commits, 2022/09/16
- 16/19: gnu: QPDF: Update to 11.1.0., guix-commits, 2022/09/16
- 13/19: gnu: tdb: Update to 1.4.7., guix-commits, 2022/09/16
- 14/19: gnu: ldb: Update to 2.6.1., guix-commits, 2022/09/16
- 11/19: gnu: talloc: Update to 2.3.4., guix-commits, 2022/09/16
- 19/19: gnu: abseil-cpp: Re-enable testing., guix-commits, 2022/09/16