sequoia-sq: Depend on sequoia-keystore, use OpenSSL

Disable the Nettle backend and remove the Nettle dependency, depend on
sequoia-keystore for OpenPGP smartcard support.
This commit is contained in:
Clemens Lang
2025-10-24 16:33:25 +02:00
committed by Clemens Lang
parent b8875c1feb
commit 2bdd3da03d
+9 -1
View File
@@ -5,6 +5,7 @@ PortGroup gitlab 1.0
PortGroup cargo 1.0
gitlab.setup sequoia-pgp sequoia-sq 1.3.1 v
revision 1
checksums ${distname}${extract.suffix} \
rmd160 0ff6a0ac5fa122f55dcf5e7b860595cf612ce6a6 \
sha256 5c13d078b5105b53c56c57f4740de882d1ef621fbd2e8f314dae85e32457170d \
@@ -27,10 +28,12 @@ depends_build-append \
depends_lib-append \
port:libiconv \
port:nettle \
port:openssl3 \
port:sqlite3
depends_run-append \
port:sequoia-keystore
cargo.crates \
addr2line 0.24.2 dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 \
adler2 2.0.0 512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627 \
@@ -571,7 +574,12 @@ pre-build {
file mkdir ${asset_out_dir}
}
build.args \
--no-default-features \
--features {"crypto-openssl sequoia-openpgp/crypto-openssl sequoia-openpgp/compression"}
build.env-append ASSET_OUT_DIR=${asset_out_dir}
# The sequoia-ipc crate uses this path to locate sequoia-keystore in $PREFIX/lib/sequoia
build.env-append PREFIX=${prefix}
destroot {
xinstall -m 0755 ${worksrcpath}/target/[option triplet.${muniversal.build_arch}]/release/sq ${destroot}${prefix}/bin/