git: 8a277bace183 - main - security/sequoia-chameleon-gnupg: re-update openssl crates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Oct 2026 15:30:10 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8a277bace183d2b01d8d3f8c04090683f63fec0b
commit 8a277bace183d2b01d8d3f8c04090683f63fec0b
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-10-13 15:29:27 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-10-13 15:29:27 +0000
security/sequoia-chameleon-gnupg: re-update openssl crates
patch for LibreSSL 4.4, before new openssl crate releases
---
security/sequoia-chameleon-gnupg/Makefile | 2 +-
security/sequoia-chameleon-gnupg/Makefile.crates | 4 ++--
security/sequoia-chameleon-gnupg/distinfo | 10 ++++----
...-cargo-crates_openssl-sys-0.9.117_build_cfgs.rs | 12 ++++++++++
...-cargo-crates_openssl-sys-0.9.117_build_main.rs | 27 ++++++++++++++++++++++
...tch-cargo-crates_openssl-sys-0.9.117_src_ssl.rs | 11 +++++++++
6 files changed, 58 insertions(+), 8 deletions(-)
diff --git a/security/sequoia-chameleon-gnupg/Makefile b/security/sequoia-chameleon-gnupg/Makefile
index 26bfa22c56f4..88a4ef94ff05 100644
--- a/security/sequoia-chameleon-gnupg/Makefile
+++ b/security/sequoia-chameleon-gnupg/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sequoia-chameleon-gnupg
DISTVERSION= 0.13.1
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= security
MASTER_SITES= CRATESIO/${PORTNAME}/${DISTNAME}${CARGO_CRATE_EXT}
# XXX Teach USES=cargo to have proper default
diff --git a/security/sequoia-chameleon-gnupg/Makefile.crates b/security/sequoia-chameleon-gnupg/Makefile.crates
index 4f7c7209cb65..7320cd2ac617 100644
--- a/security/sequoia-chameleon-gnupg/Makefile.crates
+++ b/security/sequoia-chameleon-gnupg/Makefile.crates
@@ -225,10 +225,10 @@ CARGO_CRATES= addr2line-0.24.2 \
opaque-debug-0.3.1 \
openpgp-cert-d-0.3.4 \
openssh-keys-0.6.4 \
- openssl-0.10.69 \
+ openssl-0.10.81 \
openssl-macros-0.1.1 \
openssl-probe-0.1.6 \
- openssl-sys-0.9.104 \
+ openssl-sys-0.9.117 \
option-ext-0.2.0 \
parking_lot-0.12.3 \
parking_lot_core-0.9.10 \
diff --git a/security/sequoia-chameleon-gnupg/distinfo b/security/sequoia-chameleon-gnupg/distinfo
index baf19df3cad4..70d859223efd 100644
--- a/security/sequoia-chameleon-gnupg/distinfo
+++ b/security/sequoia-chameleon-gnupg/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1789773244
+TIMESTAMP = 1791905004
SHA256 (rust/crates/sequoia-chameleon-gnupg-0.13.1.crate) = 709cc7440fe79a0794209c82e48fe5044358f1e37d11bb9a4a27ebe64fb6eae2
SIZE (rust/crates/sequoia-chameleon-gnupg-0.13.1.crate) = 1161250
SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
@@ -455,14 +455,14 @@ SHA256 (rust/crates/openpgp-cert-d-0.3.4.crate) = d3dd47b0b6df1022ca8a9a06791261
SIZE (rust/crates/openpgp-cert-d-0.3.4.crate) = 32033
SHA256 (rust/crates/openssh-keys-0.6.4.crate) = abb830a82898b2ac17c9620ddce839ac3b34b9cb8a1a037cbdbfb9841c756c3e
SIZE (rust/crates/openssh-keys-0.6.4.crate) = 22213
-SHA256 (rust/crates/openssl-0.10.69.crate) = f5e534d133a060a3c19daec1eb3e98ec6f4685978834f2dbadfe2ec215bab64e
-SIZE (rust/crates/openssl-0.10.69.crate) = 277442
+SHA256 (rust/crates/openssl-0.10.81.crate) = 77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45
+SIZE (rust/crates/openssl-0.10.81.crate) = 311187
SHA256 (rust/crates/openssl-macros-0.1.1.crate) = a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c
SIZE (rust/crates/openssl-macros-0.1.1.crate) = 5601
SHA256 (rust/crates/openssl-probe-0.1.6.crate) = d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e
SIZE (rust/crates/openssl-probe-0.1.6.crate) = 8128
-SHA256 (rust/crates/openssl-sys-0.9.104.crate) = 45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741
-SIZE (rust/crates/openssl-sys-0.9.104.crate) = 72287
+SHA256 (rust/crates/openssl-sys-0.9.117.crate) = b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695
+SIZE (rust/crates/openssl-sys-0.9.117.crate) = 76045
SHA256 (rust/crates/option-ext-0.2.0.crate) = 04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d
SIZE (rust/crates/option-ext-0.2.0.crate) = 7345
SHA256 (rust/crates/parking_lot-0.12.3.crate) = f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27
diff --git a/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_cfgs.rs b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_cfgs.rs
new file mode 100644
index 000000000000..5fcd440664c5
--- /dev/null
+++ b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_cfgs.rs
@@ -0,0 +1,12 @@
+--- cargo-crates/openssl-sys-0.9.117/build/cfgs.rs.orig 2006-07-24 01:21:28 UTC
++++ cargo-crates/openssl-sys-0.9.117/build/cfgs.rs
+@@ -50,6 +50,9 @@ pub fn get(openssl_version: Option<u64>, libressl_vers
+ if libressl_version >= 0x4_03_00_00_0 {
+ cfgs.push("libressl430");
+ }
++ if libressl_version >= 0x4_04_00_00_0 {
++ cfgs.push("libressl440");
++ }
+ } else {
+ let openssl_version = openssl_version.unwrap();
+ cfgs.push("ossl101");
diff --git a/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_main.rs b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_main.rs
new file mode 100644
index 000000000000..91920bc68610
--- /dev/null
+++ b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_build_main.rs
@@ -0,0 +1,27 @@
+--- cargo-crates/openssl-sys-0.9.117/build/main.rs.orig 2006-07-24 01:21:28 UTC
++++ cargo-crates/openssl-sys-0.9.117/build/main.rs
+@@ -163,6 +163,7 @@ fn main() {
+ println!("cargo:rustc-check-cfg=cfg(libressl410)");
+ println!("cargo:rustc-check-cfg=cfg(libressl420)");
+ println!("cargo:rustc-check-cfg=cfg(libressl430)");
++ println!("cargo:rustc-check-cfg=cfg(libressl440)");
+
+ println!("cargo:rustc-check-cfg=cfg(ossl101)");
+ println!("cargo:rustc-check-cfg=cfg(ossl102)");
+@@ -430,6 +431,7 @@ See rust-openssl documentation for more information:
+ (4, 1, _) => ('4', '1', 'x'),
+ (4, 2, _) => ('4', '2', 'x'),
+ (4, 3, _) => ('4', '3', 'x'),
++ (4, 4, _) => ('4', '4', 'x'),
+ _ => version_error(),
+ };
+
+@@ -468,7 +470,7 @@ This crate is only compatible with OpenSSL (version 1.
+ "
+
+ This crate is only compatible with OpenSSL (version 1.1.0, 1.1.1, 3.x, or 4.x), or LibreSSL 3.5.0
+-through 4.3.x, but a different version of OpenSSL was found. The build is now aborting
++through 4.4.x, but a different version of OpenSSL was found. The build is now aborting
+ due to this version mismatch.
+
+ "
diff --git a/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_src_ssl.rs b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_src_ssl.rs
new file mode 100644
index 000000000000..b545304dc05e
--- /dev/null
+++ b/security/sequoia-chameleon-gnupg/files/patch-cargo-crates_openssl-sys-0.9.117_src_ssl.rs
@@ -0,0 +1,11 @@
+--- cargo-crates/openssl-sys-0.9.117/src/ssl.rs.orig 2006-07-24 01:21:28 UTC
++++ cargo-crates/openssl-sys-0.9.117/src/ssl.rs
+@@ -186,6 +186,8 @@ cfg_if! {
+ | SSL_OP_LEGACY_SERVER_CONNECT
+ | SSL_OP_TLSEXT_PADDING
+ | SSL_OP_SAFARI_ECDHE_ECDSA_BUG;
++ } else if #[cfg(libressl440)] {
++ pub const SSL_OP_ALL: ssl_op_type!() = 0x0;
+ } else if #[cfg(libressl)] {
+ pub const SSL_OP_ALL: ssl_op_type!() = 0x4;
+ } else {