From a53b6b5db4030e7e39d74730aaba970a250be657 Mon Sep 17 00:00:00 2001
From: Timothy Finnegan <finnegantimothyd@gmail.com>
Date: Sun, 22 Sep 2024 15:56:20 -0700
Subject: [PATCH] Got dropbear building

---
 recipes/wip/ssh/dropbear/recipe.toml | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/recipes/wip/ssh/dropbear/recipe.toml b/recipes/wip/ssh/dropbear/recipe.toml
index ed1ae0268..487c164ce 100644
--- a/recipes/wip/ssh/dropbear/recipe.toml
+++ b/recipes/wip/ssh/dropbear/recipe.toml
@@ -1,5 +1,23 @@
-#TODO missing gnu make script, see https://github.com/mkj/dropbear/blob/master/INSTALL.md
 [source]
-tar = "https://matt.ucc.asn.au/dropbear/releases/dropbear-2024.85.tar.bz2"
+git = "https://gitlab.redox-os.org/tfinnegan937/dropbear.git"
+rev = "4c6828d39f988712cf4d2a64c7acf15d76f24aa9"
+
 [build]
 template = "custom"
+dependencies = [
+    "openssl1",
+    "zlib"
+]
+script="""
+COOKBOOK_CONFIGURE_FLAGS+=(
+    --enable-static
+    --disable-syslog
+    --disable-utmpx
+    --disable-utmp
+    --disable-lastlog
+    --disable-loginfunc
+    --disable-wtmp
+    --disable-wtmpx
+)
+cookbook_configure
+"""
-- 
GitLab