luci-layer2: create a minimal collection for layer-2 devices
authorEric Fahlgren <redacted>
Tue, 3 Mar 2026 23:05:45 +0000 (15:05 -0800)
committerPaul Donald <redacted>
Wed, 4 Mar 2026 19:34:46 +0000 (20:34 +0100)
The current luci-light collection includes many router (layer-3)
specific package dependencies that are inappropriate for inclusion on
switches and APs.  Let's create an even lighter top-level package to
accommodate those devices as they rapidly are becoming more popular.

Signed-off-by: Eric Fahlgren <redacted>
collections/luci-layer2/Makefile [new file with mode: 0644]

diff --git a/collections/luci-layer2/Makefile b/collections/luci-layer2/Makefile
new file mode 100644 (file)
index 0000000..e7fb642
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TYPE:=col
+LUCI_BASENAME:=layer2
+
+LUCI_TITLE:=LuCI interface for layer-2 devices, using Uhttpd (layer-2)
+LUCI_DESCRIPTION:=Layer-2 OpenWrt set including admin support and the default Bootstrap theme
+LUCI_DEPENDS:= \
+       +luci-mod-admin-full \
+       +luci-theme-bootstrap \
+       +rpcd-mod-rrdns \
+       +uhttpd \
+       +uhttpd-mod-ubus
+
+PKG_LICENSE:=Apache-2.0
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
git clone https://git.99rst.org/PROJECT