From be28ec17a1c7f413ffd02995695856dd790d4040 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sun, 1 Feb 2026 19:50:16 -0300 Subject: [PATCH] Improve many recipes and remove abandoned recipe --- recipes/wip/dev/analysis/binocle/recipe.toml | 1 + recipes/wip/dev/analysis/binwalk/recipe.toml | 1 + recipes/wip/dev/analysis/code-minimap/recipe.toml | 1 + recipes/wip/dev/analysis/codevis/recipe.toml | 1 + recipes/wip/dev/analysis/debtmap/recipe.toml | 1 + recipes/wip/dev/analysis/feluda/recipe.toml | 3 ++- recipes/wip/dev/analysis/hex/recipe.toml | 1 + recipes/wip/dev/analysis/hgrep/recipe.toml | 1 + recipes/wip/dev/analysis/hl/recipe.toml | 1 + recipes/wip/dev/analysis/honggfuzz-rs/recipe.toml | 1 + recipes/wip/dev/analysis/hx/recipe.toml | 5 +++-- recipes/wip/dev/analysis/pratdiff/recipe.toml | 1 + recipes/wip/dev/analysis/rust-ontologist/recipe.toml | 5 ----- recipes/wip/dev/analysis/statui/recipe.toml | 1 + recipes/wip/dev/analysis/tinywatcher/recipe.toml | 1 + recipes/wip/dev/analysis/zizmor/recipe.toml | 2 ++ recipes/wip/dev/build-system/ant/recipe.toml | 12 ++++++++++-- 17 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 recipes/wip/dev/analysis/rust-ontologist/recipe.toml diff --git a/recipes/wip/dev/analysis/binocle/recipe.toml b/recipes/wip/dev/analysis/binocle/recipe.toml index 3bdd8bae9..32b158686 100644 --- a/recipes/wip/dev/analysis/binocle/recipe.toml +++ b/recipes/wip/dev/analysis/binocle/recipe.toml @@ -1,5 +1,6 @@ #TODO "No suitable wgpu::Adapter found" error on execution [source] git = "https://github.com/sharkdp/binocle" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/binwalk/recipe.toml b/recipes/wip/dev/analysis/binwalk/recipe.toml index 8ee40ae95..62044bed0 100644 --- a/recipes/wip/dev/analysis/binwalk/recipe.toml +++ b/recipes/wip/dev/analysis/binwalk/recipe.toml @@ -1,6 +1,7 @@ #TODO not compiled or tested [source] git = "https://github.com/ReFirmLabs/binwalk" +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/dev/analysis/code-minimap/recipe.toml b/recipes/wip/dev/analysis/code-minimap/recipe.toml index c0a18e39b..2f991c2ed 100644 --- a/recipes/wip/dev/analysis/code-minimap/recipe.toml +++ b/recipes/wip/dev/analysis/code-minimap/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/wfxr/code-minimap" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/codevis/recipe.toml b/recipes/wip/dev/analysis/codevis/recipe.toml index 809a63564..9c3cedb12 100644 --- a/recipes/wip/dev/analysis/codevis/recipe.toml +++ b/recipes/wip/dev/analysis/codevis/recipe.toml @@ -1,5 +1,6 @@ #TODO open crate error (after cargo update) [source] git = "https://github.com/sloganking/codevis" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/debtmap/recipe.toml b/recipes/wip/dev/analysis/debtmap/recipe.toml index 11a61f1ea..82095b2ce 100644 --- a/recipes/wip/dev/analysis/debtmap/recipe.toml +++ b/recipes/wip/dev/analysis/debtmap/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/iepathos/debtmap" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/feluda/recipe.toml b/recipes/wip/dev/analysis/feluda/recipe.toml index 75902a3f1..977c3b46c 100644 --- a/recipes/wip/dev/analysis/feluda/recipe.toml +++ b/recipes/wip/dev/analysis/feluda/recipe.toml @@ -1,8 +1,9 @@ #TODO camino crate error [source] git = "https://github.com/anistark/feluda" +shallow_clone = true [build] template = "cargo" dependencies = [ - "openssl1", + "openssl3", ] diff --git a/recipes/wip/dev/analysis/hex/recipe.toml b/recipes/wip/dev/analysis/hex/recipe.toml index 1a2f38dcb..6737d807c 100644 --- a/recipes/wip/dev/analysis/hex/recipe.toml +++ b/recipes/wip/dev/analysis/hex/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/sitkevij/hex" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/hgrep/recipe.toml b/recipes/wip/dev/analysis/hgrep/recipe.toml index 634ca89fc..6a71dbc64 100644 --- a/recipes/wip/dev/analysis/hgrep/recipe.toml +++ b/recipes/wip/dev/analysis/hgrep/recipe.toml @@ -1,5 +1,6 @@ #TODO compilation error, missing mimalloc sys/syscall.h [source] git = "https://github.com/rhysd/hgrep" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/hl/recipe.toml b/recipes/wip/dev/analysis/hl/recipe.toml index b6a227d5e..b6c52a475 100644 --- a/recipes/wip/dev/analysis/hl/recipe.toml +++ b/recipes/wip/dev/analysis/hl/recipe.toml @@ -1,5 +1,6 @@ #TODO compiled but not tested [source] git = "https://github.com/pamburus/hl" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/honggfuzz-rs/recipe.toml b/recipes/wip/dev/analysis/honggfuzz-rs/recipe.toml index de6a688dc..1ebd91a9a 100644 --- a/recipes/wip/dev/analysis/honggfuzz-rs/recipe.toml +++ b/recipes/wip/dev/analysis/honggfuzz-rs/recipe.toml @@ -1,6 +1,7 @@ #TODO not compiled or tested [source] git = "https://github.com/rust-fuzz/honggfuzz-rs" +shallow_clone = true [build] template = "cargo" dependencies = [ diff --git a/recipes/wip/dev/analysis/hx/recipe.toml b/recipes/wip/dev/analysis/hx/recipe.toml index 46f32c475..15983c0f2 100644 --- a/recipes/wip/dev/analysis/hx/recipe.toml +++ b/recipes/wip/dev/analysis/hx/recipe.toml @@ -1,6 +1,7 @@ -#TODO missing script for "make", see https://github.com/krpors/hx#compiling-and-running +#TODO missing script for gnu make: https://github.com/krpors/hx#compiling-and-running [source] git = "https://github.com/krpors/hx" -rev = "c124b40586f701e47b35628fde286d20bf9988ca" +rev = "v1.0.15" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/dev/analysis/pratdiff/recipe.toml b/recipes/wip/dev/analysis/pratdiff/recipe.toml index 05bfd0b92..90a842d33 100644 --- a/recipes/wip/dev/analysis/pratdiff/recipe.toml +++ b/recipes/wip/dev/analysis/pratdiff/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/fowles/pratdiff" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/rust-ontologist/recipe.toml b/recipes/wip/dev/analysis/rust-ontologist/recipe.toml deleted file mode 100644 index 8a2422e9d..000000000 --- a/recipes/wip/dev/analysis/rust-ontologist/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -#TODO the multipipe crate was removed from crates.io, wait this PR to be merged: https://github.com/lava-xyz/rust-ontologist/pull/7 -[source] -git = "https://github.com/lava-xyz/rust-ontologist" -[build] -template = "cargo" diff --git a/recipes/wip/dev/analysis/statui/recipe.toml b/recipes/wip/dev/analysis/statui/recipe.toml index 2fc9fdf9a..03ff1b084 100644 --- a/recipes/wip/dev/analysis/statui/recipe.toml +++ b/recipes/wip/dev/analysis/statui/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/Mohamed-Badry/statui" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/tinywatcher/recipe.toml b/recipes/wip/dev/analysis/tinywatcher/recipe.toml index cf09d2e52..6bbd38fff 100644 --- a/recipes/wip/dev/analysis/tinywatcher/recipe.toml +++ b/recipes/wip/dev/analysis/tinywatcher/recipe.toml @@ -1,5 +1,6 @@ #TODO not compiled or tested [source] git = "https://github.com/tinywatcher/tinywatcher" +shallow_clone = true [build] template = "cargo" diff --git a/recipes/wip/dev/analysis/zizmor/recipe.toml b/recipes/wip/dev/analysis/zizmor/recipe.toml index 7355c743b..b6ef326fb 100644 --- a/recipes/wip/dev/analysis/zizmor/recipe.toml +++ b/recipes/wip/dev/analysis/zizmor/recipe.toml @@ -1,8 +1,10 @@ #TODO camino crate error [source] git = "https://github.com/woodruffw/zizmor" +shallow_clone = true [build] template = "custom" script = """ +DYNAMIC_INIT cookbook_cargo_packages zizmor """ diff --git a/recipes/wip/dev/build-system/ant/recipe.toml b/recipes/wip/dev/build-system/ant/recipe.toml index 3c04f05e1..b2b1b7cf7 100644 --- a/recipes/wip/dev/build-system/ant/recipe.toml +++ b/recipes/wip/dev/build-system/ant/recipe.toml @@ -1,5 +1,13 @@ -#TODO missing script for building: https://ant.apache.org/manual/install.html#buildingant +#TODO not tested [source] -tar = "https://downloads.apache.org/ant/source/apache-ant-1.10.14-src.tar.xz" +tar = "https://dlcdn.apache.org//ant/binaries/apache-ant-1.10.15-bin.tar.xz" [build] template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}/usr/bin/ant-dir" +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/bin/ant-dir" +echo "/usr/bin/ant-dir/bin/ant" > "${COOKBOOK_STAGE}"/usr/bin/ant +chmod a+x "${COOKBOOK_STAGE}"/usr/bin/ant +""" +[package] +dependencies = ["openjdk21",]