From ca103a675aa06ed7f692228959bc6dd6adb1bb9f Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Mon, 23 Sep 2024 11:13:53 +0000 Subject: [PATCH] Add programs for data recovery --- recipes/wip/data-recovery/foremost/recipe.toml | 5 +++++ recipes/wip/data-recovery/testdisk/recipe.toml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 recipes/wip/data-recovery/foremost/recipe.toml create mode 100644 recipes/wip/data-recovery/testdisk/recipe.toml diff --git a/recipes/wip/data-recovery/foremost/recipe.toml b/recipes/wip/data-recovery/foremost/recipe.toml new file mode 100644 index 000000000..faa9dbdbd --- /dev/null +++ b/recipes/wip/data-recovery/foremost/recipe.toml @@ -0,0 +1,5 @@ +#TODO missing script for gnu make, see the README inside the tarball +[source] +tar = "http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz" +[build] +template = "custom" diff --git a/recipes/wip/data-recovery/testdisk/recipe.toml b/recipes/wip/data-recovery/testdisk/recipe.toml new file mode 100644 index 000000000..13e2ecb3f --- /dev/null +++ b/recipes/wip/data-recovery/testdisk/recipe.toml @@ -0,0 +1,14 @@ +#TODO not compiled or tested +# build instructions - https://www.cgsecurity.org/wiki/TestDisk_Compilation +# add optional libraries to expand the features - https://www.cgsecurity.org/wiki/TestDisk_Compilation#Libraries +[source] +tar = "https://www.cgsecurity.org/testdisk-7.2.tar.bz2" +[build] +template = "custom" +dependencies = [ + "ncurses", +] +script = """ +export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include/ncurses" +cookbook_configure +""" -- GitLab