From 877ae95a95b9cb176458f81c2b4dbc0b638ff6cc Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 29 Mar 2025 11:54:53 +0100
Subject: [PATCH] gluon-tls: add marker file

Allow checking for TLS support at runtime or for site checks.
---
 package/gluon-tls/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/gluon-tls/Makefile b/package/gluon-tls/Makefile
index f395a1c44..6d02e49f8 100644
--- a/package/gluon-tls/Makefile
+++ b/package/gluon-tls/Makefile
@@ -6,7 +6,12 @@ include ../gluon.mk
 
 define Package/gluon-tls
   DEPENDS:=+libustream-mbedtls +ca-bundle
-  TITLE:=Dummy Package to select the current TLS implementation
+  TITLE:=Enable TLS support
+endef
+
+define Package/gluon-tls/install
+	$(INSTALL_DIR) $(1)/lib/gluon/features
+	touch $(1)/lib/gluon/features/tls
 endef
 
 $(eval $(call BuildPackageGluon,gluon-tls))
-- 
GitLab