From b0570154558b164b5febc54cf273534687680688 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Tue, 31 Dec 2019 02:49:59 +0100
Subject: [PATCH] gluon-wireless-encryption: add package

The gluon-wireless-encryption package selects a WPA3 supporting
hostapd package as a dependency and stores the information, which
encryption method is supported to the device.
---
 package/gluon-wireless-encryption/Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/gluon-wireless-encryption/Makefile

diff --git a/package/gluon-wireless-encryption/Makefile b/package/gluon-wireless-encryption/Makefile
new file mode 100644
index 000000000..35b615760
--- /dev/null
+++ b/package/gluon-wireless-encryption/Makefile
@@ -0,0 +1,20 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=gluon-wireless-encryption
+PKG_RELEASE:=1
+
+include ../gluon.mk
+
+define Package/gluon-wireless-encryption-wpa3
+  DEPENDS:=+hostapd-openssl
+  TITLE:=Package for supporting WPA3 encrypted wireless networks
+endef
+
+define Package/gluon-wireless-encryption-wpa3/install
+	$(INSTALL_DIR) $(1)/lib/gluon/features
+
+	touch $(1)/lib/gluon/features/wpa2
+	touch $(1)/lib/gluon/features/wpa3
+endef
+
+$(eval $(call BuildPackageGluon,gluon-wireless-encryption-wpa3))
-- 
GitLab