1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/asuran-cli/system-zstd.patch
psykose 14ed6891af testing/asuran-cli: modernise
- fix build with new rust
- use new fetch/install style
- +aes feature prevents binary from running on most arm boards and any
  cpu without aes extensions, so remove it
- test without --release
- link system libs
2022-11-10 19:55:25 +01:00

56 lines
1.9 KiB
Diff

diff --git a/Cargo.lock b/Cargo.lock
index f5f8226..7f52194 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2042,18 +2042,18 @@ dependencies = [
[[package]]
name = "zstd"
-version = "0.5.3+zstd.1.4.5"
+version = "0.5.4+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01b32eaf771efa709e8308605bbf9319bf485dc1503179ec0469b611937c0cd8"
+checksum = "69996ebdb1ba8b1517f61387a883857818a66c8a295f487b1ffd8fd9d2c82910"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
-version = "2.0.5+zstd.1.4.5"
+version = "2.0.6+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cfb642e0d27f64729a639c52db457e0ae906e7bc6f5fe8f5c453230400f1055"
+checksum = "98aa931fb69ecee256d44589d19754e61851ae4769bf963b385119b1cc37a49e"
dependencies = [
"libc",
"zstd-sys",
@@ -2061,12 +2061,13 @@ dependencies = [
[[package]]
name = "zstd-sys"
-version = "1.4.17+zstd.1.4.5"
+version = "1.4.18+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b89249644df056b522696b1bb9e7c18c87e8ffa3e2f0dc3b0155875d6498f01b"
+checksum = "a1e6e8778706838f43f771d80d37787cb2fe06dafe89dd3aebaf6721b9eaec81"
dependencies = [
"cc",
"glob",
"itertools",
"libc",
+ "pkg-config",
]
diff --git a/asuran-core/Cargo.toml b/asuran-core/Cargo.toml
index 178449c..6abaf4b 100644
--- a/asuran-core/Cargo.toml
+++ b/asuran-core/Cargo.toml
@@ -57,7 +57,7 @@ tracing = "0.1.15"
uuid = "0.8.1"
xz2 = { version = "0.1.6", optional = true }
zeroize = { version = "1.1.0", features = ["zeroize_derive"] }
-zstd = { version = "0.5.3", optional = true, default-features = false }
+zstd = { version = "0.5.3", optional = true, default-features = false, features = ["pkg-config"] }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
aesni = { version = "0.7.0", features = ["ctr", "nocheck"], optional = true }