From 404578ca29a8094b7e3495d115b237bb8b0c2829 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 12 Mar 2026 14:16:12 -0300 Subject: [PATCH] Improve wip recipes --- recipes/wip/dev/cargo-tools/cargo-about/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-all-features/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-attribution/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-audit/recipe.toml | 5 +++-- recipes/wip/dev/cargo-tools/cargo-auditable/recipe.toml | 7 +++---- recipes/wip/dev/cargo-tools/cargo-auto/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-autodd/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-binutils/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-bloat/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-c/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-cache/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-careful/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-check-deadlock/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-checkmate/recipe.toml | 1 + .../wip/dev/cargo-tools/cargo-clone-crate/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-clone/recipe.toml | 9 ++++----- recipes/wip/dev/cargo-tools/cargo-compete/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-component/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-crev/recipe.toml | 9 ++++----- recipes/wip/dev/cargo-tools/cargo-deny/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-depsize/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-derivefmt/recipe.toml | 7 +++---- recipes/wip/dev/cargo-tools/cargo-diet/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-dist/recipe.toml | 7 +++---- recipes/wip/dev/cargo-tools/cargo-docs-rs/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-docs/recipe.toml | 1 + recipes/wip/dev/cargo-tools/cargo-duplicates/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-edit/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-equip/recipe.toml | 3 ++- recipes/wip/dev/cargo-tools/cargo-expand/recipe.toml | 1 + recipes/wip/games/fps/openspades-free/recipe.toml | 2 +- recipes/wip/games/fps/zerospades-free/recipe.toml | 3 ++- 32 files changed, 54 insertions(+), 33 deletions(-) diff --git a/recipes/wip/dev/cargo-tools/cargo-about/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-about/recipe.toml index b0efb1ff3..4e08ff854 100644 --- a/recipes/wip/dev/cargo-tools/cargo-about/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-about/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/EmbarkStudios/cargo-about" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-all-features/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-all-features/recipe.toml index e4eba3c79..c8a9cb885 100644 --- a/recipes/wip/dev/cargo-tools/cargo-all-features/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-all-features/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/frewsxcv/cargo-all-features" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-attribution/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-attribution/recipe.toml index f85099b93..53537026f 100644 --- a/recipes/wip/dev/cargo-tools/cargo-attribution/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-attribution/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/ameknite/cargo-attribution" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-audit/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-audit/recipe.toml index 826180ae6..e53e24122 100644 --- a/recipes/wip/dev/cargo-tools/cargo-audit/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-audit/recipe.toml @@ -1,14 +1,15 @@ #TODO camino crate error (after a patch on the ring crate) [source] git = "https://github.com/rustsec/rustsec" +shallow_clone = true [build] template = "custom" dependencies = [ - "openssl1", + "openssl3", "libssh2", ] script = """ +DYNAMIC_INIT export OPENSSL_DIR="${COOKBOOK_SYSROOT}" -export OPENSSL_STATIC="true" cookbook_cargo_packages cargo-audit """ diff --git a/recipes/wip/dev/cargo-tools/cargo-auditable/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-auditable/recipe.toml index c64d92fd0..e96e682f1 100644 --- a/recipes/wip/dev/cargo-tools/cargo-auditable/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-auditable/recipe.toml @@ -1,8 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/rust-secure-code/cargo-auditable" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages cargo-auditable -""" +template = "cargo" +cargopackages = ["cargo-auditable"] diff --git a/recipes/wip/dev/cargo-tools/cargo-auto/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-auto/recipe.toml index e2ca13dc0..28caa47b0 100644 --- a/recipes/wip/dev/cargo-tools/cargo-auto/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-auto/recipe.toml @@ -1,8 +1,9 @@ #TODO compiled but not tested [source] git = "https://github.com/automation-tasks-rs/cargo-auto" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-autodd/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-autodd/recipe.toml index 28dc3b5be..acc6f7548 100644 --- a/recipes/wip/dev/cargo-tools/cargo-autodd/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-autodd/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/nwiizo/cargo-autodd" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-binutils/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-binutils/recipe.toml index 7cde054af..78fa47798 100644 --- a/recipes/wip/dev/cargo-tools/cargo-binutils/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-binutils/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error [source] git = "https://github.com/rust-embedded/cargo-binutils" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-bloat/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-bloat/recipe.toml index 3b402d03c..2a0fbe483 100644 --- a/recipes/wip/dev/cargo-tools/cargo-bloat/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-bloat/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/RazrFalcon/cargo-bloat" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-c/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-c/recipe.toml index 6f410ef5e..7be16f618 100644 --- a/recipes/wip/dev/cargo-tools/cargo-c/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-c/recipe.toml @@ -1,5 +1,6 @@ #TODO require rustc 1.75 or newer [source] git = "https://github.com/lu-zero/cargo-c" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-cache/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-cache/recipe.toml index 614151d7a..0793dcc8e 100644 --- a/recipes/wip/dev/cargo-tools/cargo-cache/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-cache/recipe.toml @@ -2,5 +2,6 @@ # tested 29th January 2026 [source] git = "https://github.com/matthiaskrgr/cargo-cache" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-careful/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-careful/recipe.toml index 4c10161cc..1f2dec8f7 100644 --- a/recipes/wip/dev/cargo-tools/cargo-careful/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-careful/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/RalfJung/cargo-careful" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-check-deadlock/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-check-deadlock/recipe.toml index 1bbf81ce3..7470e0260 100644 --- a/recipes/wip/dev/cargo-tools/cargo-check-deadlock/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-check-deadlock/recipe.toml @@ -1,5 +1,6 @@ #TODO require the components rust-src rustc-dev llvm-tools-preview to be installed [source] git = "https://github.com/hlisdero/cargo-check-deadlock" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-checkmate/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-checkmate/recipe.toml index 445481f33..78f46c90b 100644 --- a/recipes/wip/dev/cargo-tools/cargo-checkmate/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-checkmate/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/cargo-checkmate/cargo-checkmate" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-clone-crate/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-clone-crate/recipe.toml index 80e325735..7b7a6ecab 100644 --- a/recipes/wip/dev/cargo-tools/cargo-clone-crate/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-clone-crate/recipe.toml @@ -1,8 +1,9 @@ #TODO compiled but not tested [source] git = "https://github.com/ehuss/cargo-clone-crate" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-clone/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-clone/recipe.toml index b3fe303f9..bb5786000 100644 --- a/recipes/wip/dev/cargo-tools/cargo-clone/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-clone/recipe.toml @@ -1,11 +1,10 @@ #TODO cargo-util crate error [source] git = "https://github.com/JanLikar/cargo-clone" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargopackages = ["cargo-clone"] dependencies = [ - "openssl1", + "openssl3", ] -script = """ -cookbook_cargo_packages cargo-clone -""" diff --git a/recipes/wip/dev/cargo-tools/cargo-compete/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-compete/recipe.toml index b602fb799..746fe09ff 100644 --- a/recipes/wip/dev/cargo-tools/cargo-compete/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-compete/recipe.toml @@ -1,5 +1,6 @@ #TODO serde crate error (after cargo update) [source] git = "https://github.com/qryxip/cargo-compete" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-component/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-component/recipe.toml index bacbc60a6..d77d13140 100644 --- a/recipes/wip/dev/cargo-tools/cargo-component/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-component/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/bytecodealliance/cargo-component" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-crev/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-crev/recipe.toml index e5d735367..95d0774fa 100644 --- a/recipes/wip/dev/cargo-tools/cargo-crev/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-crev/recipe.toml @@ -1,11 +1,10 @@ #TODO openssl-sys crate error [source] git = "https://github.com/crev-dev/cargo-crev" +shallow_clone = true [build] -template = "custom" +template = "cargo" +cargopackages = ["cargo-crev"] dependencies = [ - "openssl1", + "openssl3", ] -script = """ -cookbook_cargo_packages cargo-crev -""" diff --git a/recipes/wip/dev/cargo-tools/cargo-deny/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-deny/recipe.toml index bd0f8c9f9..db9dd5649 100644 --- a/recipes/wip/dev/cargo-tools/cargo-deny/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-deny/recipe.toml @@ -1,5 +1,6 @@ #TODO camino crate error (after a patch on the ring crate) [source] git = "https://github.com/EmbarkStudios/cargo-deny" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-depsize/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-depsize/recipe.toml index 1c08a4e61..fa57225a1 100644 --- a/recipes/wip/dev/cargo-tools/cargo-depsize/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-depsize/recipe.toml @@ -1,8 +1,9 @@ #TODO cargo-util crate error [source] git = "https://github.com/Alfex4936/cargo-depsize" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-derivefmt/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-derivefmt/recipe.toml index ce753166a..04ad8f36b 100644 --- a/recipes/wip/dev/cargo-tools/cargo-derivefmt/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-derivefmt/recipe.toml @@ -1,8 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/dcchut/cargo-derivefmt" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages cargo-derivefmt -""" +template = "cargo" +cargopackages = ["cargo-derivefmt"] diff --git a/recipes/wip/dev/cargo-tools/cargo-diet/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-diet/recipe.toml index 76e2a85ea..4bce04177 100644 --- a/recipes/wip/dev/cargo-tools/cargo-diet/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-diet/recipe.toml @@ -1,5 +1,6 @@ #TODO termsize crate error [source] git = "https://github.com/the-lean-crate/cargo-diet" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-dist/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-dist/recipe.toml index 167362565..16589fd10 100644 --- a/recipes/wip/dev/cargo-tools/cargo-dist/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-dist/recipe.toml @@ -1,8 +1,7 @@ #TODO camino crate error [source] git = "https://github.com/axodotdev/cargo-dist" +shallow_clone = true [build] -template = "custom" -script = """ -cookbook_cargo_packages cargo-dist -""" +template = "cargo" +cargopackages = ["cargo-dist"] diff --git a/recipes/wip/dev/cargo-tools/cargo-docs-rs/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-docs-rs/recipe.toml index 660e65e13..7320ae0de 100644 --- a/recipes/wip/dev/cargo-tools/cargo-docs-rs/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-docs-rs/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/dtolnay/cargo-docs-rs" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-docs/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-docs/recipe.toml index c19b8e181..04ec984bb 100644 --- a/recipes/wip/dev/cargo-tools/cargo-docs/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-docs/recipe.toml @@ -1,5 +1,6 @@ #TODO openssl-sys crate error [source] git = "https://github.com/btwiuse/cargo-docs" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/cargo-tools/cargo-duplicates/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-duplicates/recipe.toml index 4b842c460..f7d330440 100644 --- a/recipes/wip/dev/cargo-tools/cargo-duplicates/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-duplicates/recipe.toml @@ -1,8 +1,9 @@ #TODO cargo-util crate error [source] git = "https://github.com/Keruspe/cargo-duplicates" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-edit/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-edit/recipe.toml index a833b92ae..904e0bd8c 100644 --- a/recipes/wip/dev/cargo-tools/cargo-edit/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-edit/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/killercup/cargo-edit" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-equip/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-equip/recipe.toml index a0a8fc9d4..04fc1bd3b 100644 --- a/recipes/wip/dev/cargo-tools/cargo-equip/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-equip/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/qryxip/cargo-equip" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/cargo-tools/cargo-expand/recipe.toml b/recipes/wip/dev/cargo-tools/cargo-expand/recipe.toml index 6fb87a608..066c60dc6 100644 --- a/recipes/wip/dev/cargo-tools/cargo-expand/recipe.toml +++ b/recipes/wip/dev/cargo-tools/cargo-expand/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/dtolnay/cargo-expand" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/games/fps/openspades-free/recipe.toml b/recipes/wip/games/fps/openspades-free/recipe.toml index 8ea894c8f..8e8769c78 100644 --- a/recipes/wip/games/fps/openspades-free/recipe.toml +++ b/recipes/wip/games/fps/openspades-free/recipe.toml @@ -7,7 +7,7 @@ shallow_clone = true template = "custom" dependencies = [ "glew", - "openssl1", + "openssl3", "sdl2", "sdl2-image", "freealut", diff --git a/recipes/wip/games/fps/zerospades-free/recipe.toml b/recipes/wip/games/fps/zerospades-free/recipe.toml index 401f8af61..df45e30a0 100644 --- a/recipes/wip/games/fps/zerospades-free/recipe.toml +++ b/recipes/wip/games/fps/zerospades-free/recipe.toml @@ -2,11 +2,12 @@ # build instructions: https://github.com/yvt/openspades#on-unixes-from-source [source] git = "https://github.com/siecvi/zerospades" +shallow_clone = true [build] template = "custom" dependencies = [ "glew", - "openssl1", + "openssl3", "sdl2", "sdl2-image", "freealut",