From 9375488b57a9705d65ac636b1fa767644345ee05 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 1 Jun 2026 11:09:54 -0300 Subject: [PATCH] Add recipes --- recipes/wip/analysis/radare2/recipe.toml | 10 ++++++++ recipes/wip/libs/security/libksba/recipe.toml | 8 ++++++ recipes/wip/net/analysis/masscan/recipe.toml | 7 ++++++ recipes/wip/net/analysis/zgrab/recipe.toml | 7 ++++++ recipes/wip/net/analysis/zmap/recipe.toml | 16 ++++++++++++ recipes/wip/security/lmd/recipe.toml | 7 ++++++ recipes/wip/security/maltrail/recipe.toml | 16 ++++++++++++ recipes/wip/security/openvas/recipe.toml | 25 +++++++++++++++++++ recipes/wip/security/tiger/recipe.toml | 10 ++++++++ recipes/wip/security/vuls/recipe.toml | 8 ++++++ 10 files changed, 114 insertions(+) create mode 100644 recipes/wip/analysis/radare2/recipe.toml create mode 100644 recipes/wip/libs/security/libksba/recipe.toml create mode 100644 recipes/wip/net/analysis/masscan/recipe.toml create mode 100644 recipes/wip/net/analysis/zgrab/recipe.toml create mode 100644 recipes/wip/net/analysis/zmap/recipe.toml create mode 100644 recipes/wip/security/lmd/recipe.toml create mode 100644 recipes/wip/security/maltrail/recipe.toml create mode 100644 recipes/wip/security/openvas/recipe.toml create mode 100644 recipes/wip/security/tiger/recipe.toml create mode 100644 recipes/wip/security/vuls/recipe.toml diff --git a/recipes/wip/analysis/radare2/recipe.toml b/recipes/wip/analysis/radare2/recipe.toml new file mode 100644 index 000000000..6c1448cb9 --- /dev/null +++ b/recipes/wip/analysis/radare2/recipe.toml @@ -0,0 +1,10 @@ +#TODO compile and test +[source] +tar = "https://github.com/radareorg/radare2/releases/download/6.1.4/radare2-6.1.4.tar.xz" +[build] +template = "meson" +mesonflags = [ + "-Duse_webui=false", + "-Denable_tests=false", + "-Denable_r2r=false", +] diff --git a/recipes/wip/libs/security/libksba/recipe.toml b/recipes/wip/libs/security/libksba/recipe.toml new file mode 100644 index 000000000..d267c3cdb --- /dev/null +++ b/recipes/wip/libs/security/libksba/recipe.toml @@ -0,0 +1,8 @@ +#TODO compile and test +[source] +tar = "https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.8.0.tar.bz2" +[build] +template = "configure" +dependencies = [ + "libgpg-error", +] diff --git a/recipes/wip/net/analysis/masscan/recipe.toml b/recipes/wip/net/analysis/masscan/recipe.toml new file mode 100644 index 000000000..d0c7e6022 --- /dev/null +++ b/recipes/wip/net/analysis/masscan/recipe.toml @@ -0,0 +1,7 @@ +#TODO add script for gnu make: https://github.com/robertdavidgraham/masscan#building +[source] +git = "https://github.com/robertdavidgraham/masscan" +rev = "1.3.2" +shallow_clone = true +[build] +template = "custom" diff --git a/recipes/wip/net/analysis/zgrab/recipe.toml b/recipes/wip/net/analysis/zgrab/recipe.toml new file mode 100644 index 000000000..a30e928b5 --- /dev/null +++ b/recipes/wip/net/analysis/zgrab/recipe.toml @@ -0,0 +1,7 @@ +#TODO add script for gnu make: https://github.com/zmap/zgrab2#installation +[source] +git = "https://github.com/zmap/zgrab2" +rev = "v1.0.0" +shallow_clone = true +[build] +template = "custom" diff --git a/recipes/wip/net/analysis/zmap/recipe.toml b/recipes/wip/net/analysis/zmap/recipe.toml new file mode 100644 index 000000000..2380aadc0 --- /dev/null +++ b/recipes/wip/net/analysis/zmap/recipe.toml @@ -0,0 +1,16 @@ +#TODO compile and test +# build instructions: https://github.com/zmap/zmap/blob/main/INSTALL.md#building-from-source +[source] +git = "https://github.com/zmap/zmap" +rev = "v4.4.0" +shallow_clone = true +[build] +template = "cmake" +dependencies = [ + "libgmp", + "gengetopt", + "libpcap", + "json-c", + "libunistring", + "judy", +] diff --git a/recipes/wip/security/lmd/recipe.toml b/recipes/wip/security/lmd/recipe.toml new file mode 100644 index 000000000..d5157fb5a --- /dev/null +++ b/recipes/wip/security/lmd/recipe.toml @@ -0,0 +1,7 @@ +#TODO add script to handle "install.sh" : https://github.com/rfxn/linux-malware-detect#2-installation +[source] +tar = "https://github.com/rfxn/linux-malware-detect/releases/download/v2.0.1/maldet-2.0.1.tar.gz" +[build] +template = "custom" +[package] +dependencies = ["bash"] diff --git a/recipes/wip/security/maltrail/recipe.toml b/recipes/wip/security/maltrail/recipe.toml new file mode 100644 index 000000000..d5093d36f --- /dev/null +++ b/recipes/wip/security/maltrail/recipe.toml @@ -0,0 +1,16 @@ +#TODO add script for proper packaging: https://github.com/stamparm/maltrail#requirements +#TODO package pcapy-ng: https://github.com/stamparm/pcapy-ng/ +[source] +git = "https://github.com/stamparm/maltrail" +rev = "1.4" +shallow_clone = true +[build] +template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}/home/user/maltrail" +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/maltrail" +""" +[package] +dependencies = [ + "python312", +] diff --git a/recipes/wip/security/openvas/recipe.toml b/recipes/wip/security/openvas/recipe.toml new file mode 100644 index 000000000..686ee8b1c --- /dev/null +++ b/recipes/wip/security/openvas/recipe.toml @@ -0,0 +1,25 @@ +#TODO discover minimum dependencies from cmake log +# build instructions: https://github.com/greenbone/openvas-scanner/blob/main/INSTALL.md +[source] +git = "https://github.com/greenbone/openvas-scanner" +rev = "v23.45.6" +shallow_clone = true +[build] +template = "cmake" +#dependencies = [ + #"net-snmp", + #"libpcap", + #"glib", + #"json-glib", + #"libgcrypt", + #"gpgme", + #"redis", + #"libssh", + #"libksba", + #"gnutls", + #"curl", + #"libbsd", + #"krb5", + #"gvm-libs", + #"file", +#] diff --git a/recipes/wip/security/tiger/recipe.toml b/recipes/wip/security/tiger/recipe.toml new file mode 100644 index 000000000..fadbea992 --- /dev/null +++ b/recipes/wip/security/tiger/recipe.toml @@ -0,0 +1,10 @@ +#TODO compile and test +# installation instructions: https://cgit.git.savannah.gnu.org/cgit/tiger.git/tree/USING#n80 +[source] +tar = "https://download.savannah.gnu.org/releases/tiger/tiger_3.2.4rc1.tar.gz" +[build] +template = "configure" +[package] +dependencies = [ + "bash" +] diff --git a/recipes/wip/security/vuls/recipe.toml b/recipes/wip/security/vuls/recipe.toml new file mode 100644 index 000000000..7c1047066 --- /dev/null +++ b/recipes/wip/security/vuls/recipe.toml @@ -0,0 +1,8 @@ +#TODO add script for cross-compilation: https://vuls.io/docs/en/install-manually.html +#TODO which sql database implementation is needed? +[source] +git = "https://github.com/future-architect/vuls" +rev = "v0.39.2" +shallow_clone = true +[build] +template = "custom"