[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
115/276: gnu: rust-openssl-sys-0.9: Update to 0.9.93.
From: |
guix-commits |
Subject: |
115/276: gnu: rust-openssl-sys-0.9: Update to 0.9.93. |
Date: |
Wed, 18 Oct 2023 04:49:40 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 7fcf7d94f20bf26df8126750cc7d43aa9194d9e2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 10:34:30 2023 +0300
gnu: rust-openssl-sys-0.9: Update to 0.9.93.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9): Update to 0.9.93.
[source]: Remove patch. Add snippet to remove dependencies on boringssl
and openssl source.
* gnu/packages/patches/rust-openssl-src-no-vendor.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
---
gnu/local.mk | 1 -
gnu/packages/crates-io.scm | 19 +++++++++----
.../patches/rust-openssl-sys-no-vendor.patch | 32 ----------------------
3 files changed, 13 insertions(+), 39 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index bf7cfbf8bd..73f10b5e3c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1955,7 +1955,6 @@ dist_patch_DATA =
\
%D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \
%D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch \
%D%/packages/patches/rust-nettle-disable-vendor.patch \
- %D%/packages/patches/rust-openssl-sys-no-vendor.patch \
%D%/packages/patches/rust-webbrowser-remove-unsupported-os.patch \
%D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \
%D%/packages/patches/rw-igraph-0.10.patch \
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c87c8b8222..583746fa5f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44725,22 +44725,29 @@ system for OpenSSL.")
(define-public rust-openssl-sys-0.9
(package
(name "rust-openssl-sys")
- (version "0.9.87")
+ (version "0.9.93")
(source
(origin
(method url-fetch)
(uri (crate-uri "openssl-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0znc0q7a2gi2pmkscv0d6wzpfd64mgmy3w4lmrvrv05jcj9ga5wf"))
- (patches (search-patches "rust-openssl-sys-no-vendor.patch"))))
+ (base32 "078vnn4s18kj8m5sd7b684frhjnxjcjc9z7s7h4871s7q2j5ckfv"))
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ ;; Remove dependency on boringssl and vendor openssl source.
+ (substitute* "Cargo.toml.orig"
+ (("vendored = .*") "vendored = []\n")
+ ((".*bssl.*") "")
+ ((".*openssl-src.*") ""))
+ (copy-file "Cargo.toml.orig" "Cargo.toml")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ;; Build dependencies:
- ("rust-bindgen" ,rust-bindgen-0.64)
+ (("rust-bindgen" ,rust-bindgen-0.64)
("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3)
("rust-vcpkg" ,rust-vcpkg-0.2))))
(native-inputs
diff --git a/gnu/packages/patches/rust-openssl-sys-no-vendor.patch
b/gnu/packages/patches/rust-openssl-sys-no-vendor.patch
deleted file mode 100644
index 5872d4cf22..0000000000
--- a/gnu/packages/patches/rust-openssl-sys-no-vendor.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- openssl-sys-0.9.84/Cargo.toml.orig 2023-04-03 09:10:11.979197979 -0400
-+++ openssl-sys-0.9.84/Cargo.toml 2023-04-03 12:07:30.285315609 -0400
-@@ -31,10 +31,6 @@
- [package.metadata.pkg-config]
- openssl = "1.0.1"
-
--[dependencies.bssl-sys]
--version = "0.1.0"
--optional = true
--
- [dependencies.libc]
- version = "0.2"
-
-@@ -46,16 +42,12 @@
- [build-dependencies.cc]
- version = "1.0"
-
--[build-dependencies.openssl-src]
--version = "111"
--optional = true
--
- [build-dependencies.pkg-config]
- version = "0.3.9"
-
- [features]
--unstable_boringssl = ["bssl-sys"]
--vendored = ["openssl-src"]
-+unstable_boringssl = []
-+vendored = []
-
- [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg]
- version = "0.2.8"
- 49/276: gnu: rust-quote-1: Update to 1.0.33., (continued)
- 49/276: gnu: rust-quote-1: Update to 1.0.33., guix-commits, 2023/10/18
- 52/276: gnu: Add rust-rctree-0.5., guix-commits, 2023/10/18
- 53/276: gnu: Add rust-selectors-0.24., guix-commits, 2023/10/18
- 57/276: gnu: Add rust-serial-test-derive-1., guix-commits, 2023/10/18
- 55/276: gnu: rust-serde-derive-1: Update to 1.0.188., guix-commits, 2023/10/18
- 98/276: gnu: rust-scratch-1: Update to 1.0.7., guix-commits, 2023/10/18
- 97/276: gnu: rust-pkg-config-0.3: Update to 0.3.27., guix-commits, 2023/10/18
- 101/276: gnu: Add rust-loom-0.7., guix-commits, 2023/10/18
- 100/276: gnu: Add rust-linux-raw-sys-0.4., guix-commits, 2023/10/18
- 121/276: gnu: rust-ahash-0.7: Update to 0.7.6., guix-commits, 2023/10/18
- 115/276: gnu: rust-openssl-sys-0.9: Update to 0.9.93.,
guix-commits <=
- 125/276: gnu: Add rust-core-extensions-1., guix-commits, 2023/10/18
- 157/276: gnu: Add rust-core-extensions-0.1., guix-commits, 2023/10/18
- 160/276: gnu: Add rust-as-derive-utils-0.8., guix-commits, 2023/10/18
- 58/276: gnu: Add rust-servo-arc-0.2., guix-commits, 2023/10/18
- 61/276: gnu: Add rust-to-shmem-derive-0.0.0., guix-commits, 2023/10/18
- 84/276: gnu: Add rust-miniz-oxide-0.7., guix-commits, 2023/10/18
- 95/276: gnu: rust-miniz-oxide-0.4: Update to 0.4.4., guix-commits, 2023/10/18
- 99/276: gnu: rust-libc-0.2: Update to 0.2.148., guix-commits, 2023/10/18
- 104/276: gnu: rust-nix-0.24: Update to 0.24.3., guix-commits, 2023/10/18
- 96/276: gnu: rust-miniz-oxide-0.3: Update to 0.3.7., guix-commits, 2023/10/18