From ffdca6bb5bd05ee78688513b1f44ffb6965c67fd Mon Sep 17 00:00:00 2001
From: viktorxda <35473052+viktorxda@users.noreply.github.com>
Date: Mon, 5 Feb 2024 00:28:01 +0100
Subject: [PATCH] [no ci] Package: add webui fork (#1298)

---
 .../configs/msc313e_lite_defconfig            |  2 +-
 .../configs/msc316dc_lite_defconfig           |  2 +-
 .../configs/msc316dm_lite_defconfig           |  2 +-
 .../configs/ssc30kd_lite_defconfig            |  2 +-
 .../configs/ssc30kd_ultimate_defconfig        |  2 +-
 .../configs/ssc30kq_fpv_defconfig             |  2 +-
 .../configs/ssc30kq_lite_defconfig            |  2 +-
 .../configs/ssc30kq_ultimate_defconfig        |  2 +-
 .../configs/ssc325_lite_defconfig             |  2 +-
 .../configs/ssc325de_lite_defconfig           |  2 +-
 .../configs/ssc333_lite_defconfig             |  2 +-
 .../configs/ssc333_ultimate_defconfig         |  2 +-
 .../configs/ssc335_lite_defconfig             |  2 +-
 .../configs/ssc335_ultimate_defconfig         |  2 +-
 .../configs/ssc335de_lite_defconfig           |  2 +-
 .../configs/ssc335de_ultimate_defconfig       |  2 +-
 .../configs/ssc337_lite_defconfig             |  2 +-
 .../configs/ssc337_ultimate_defconfig         |  2 +-
 .../configs/ssc337de_lite_defconfig           |  2 +-
 .../configs/ssc337de_ultimate_defconfig       |  2 +-
 .../configs/ssc338q_fpv_defconfig             |  2 +-
 .../configs/ssc338q_initramfs_defconfig       |  2 +-
 .../configs/ssc338q_lite_defconfig            |  2 +-
 .../configs/ssc338q_ultimate_defconfig        |  2 +-
 .../configs/ssc377_lite_defconfig             |  2 +-
 general/package/Config.in                     |  6 +++---
 general/package/webui-next/Config.in          |  6 ++++++
 general/package/webui-next/webui-next.mk      | 20 +++++++++++++++++++
 28 files changed, 54 insertions(+), 28 deletions(-)
 create mode 100644 general/package/webui-next/Config.in
 create mode 100644 general/package/webui-next/webui-next.mk

diff --git a/br-ext-chip-sigmastar/configs/msc313e_lite_defconfig b/br-ext-chip-sigmastar/configs/msc313e_lite_defconfig
index 03235db6..5e40021b 100644
--- a/br-ext-chip-sigmastar/configs/msc313e_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/msc313e_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_LIBYAML=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/msc316dc_lite_defconfig b/br-ext-chip-sigmastar/configs/msc316dc_lite_defconfig
index 52d36c98..b1c8d997 100644
--- a/br-ext-chip-sigmastar/configs/msc316dc_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/msc316dc_lite_defconfig
@@ -81,7 +81,7 @@ BR2_PACKAGE_LIBYAML=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 # BR2_PACKAGE_OPUS_OPENIPC is not set
diff --git a/br-ext-chip-sigmastar/configs/msc316dm_lite_defconfig b/br-ext-chip-sigmastar/configs/msc316dm_lite_defconfig
index 7be52aa4..f694b742 100644
--- a/br-ext-chip-sigmastar/configs/msc316dm_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/msc316dm_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_LIBYAML=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc30kd_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc30kd_lite_defconfig
index 34c09d8f..c593ef53 100644
--- a/br-ext-chip-sigmastar/configs/ssc30kd_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc30kd_lite_defconfig
@@ -73,7 +73,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc30kd_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc30kd_ultimate_defconfig
index d177f69a..48372f41 100644
--- a/br-ext-chip-sigmastar/configs/ssc30kd_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc30kd_ultimate_defconfig
@@ -74,7 +74,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc30kq_fpv_defconfig b/br-ext-chip-sigmastar/configs/ssc30kq_fpv_defconfig
index 16764e2c..184a16dd 100644
--- a/br-ext-chip-sigmastar/configs/ssc30kq_fpv_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc30kq_fpv_defconfig
@@ -73,7 +73,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc30kq_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc30kq_lite_defconfig
index 87cd329f..4ab88810 100644
--- a/br-ext-chip-sigmastar/configs/ssc30kq_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc30kq_lite_defconfig
@@ -73,7 +73,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc30kq_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc30kq_ultimate_defconfig
index e9c16345..651b23a7 100644
--- a/br-ext-chip-sigmastar/configs/ssc30kq_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc30kq_ultimate_defconfig
@@ -74,7 +74,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc325_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc325_lite_defconfig
index 2215f537..aa0f4ba6 100644
--- a/br-ext-chip-sigmastar/configs/ssc325_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc325_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc325de_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc325de_lite_defconfig
index cf089ebf..27a2fcf2 100644
--- a/br-ext-chip-sigmastar/configs/ssc325de_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc325de_lite_defconfig
@@ -81,7 +81,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc333_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc333_lite_defconfig
index 46e35614..9cf73a5b 100644
--- a/br-ext-chip-sigmastar/configs/ssc333_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc333_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc333_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc333_ultimate_defconfig
index a8f51368..f33e17d2 100644
--- a/br-ext-chip-sigmastar/configs/ssc333_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc333_ultimate_defconfig
@@ -77,7 +77,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc335_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc335_lite_defconfig
index 0fa073d4..a616bd68 100644
--- a/br-ext-chip-sigmastar/configs/ssc335_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc335_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc335_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc335_ultimate_defconfig
index 51d4da22..23ebce38 100644
--- a/br-ext-chip-sigmastar/configs/ssc335_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc335_ultimate_defconfig
@@ -77,7 +77,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc335de_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc335de_lite_defconfig
index b0d50bba..2dcda4b1 100644
--- a/br-ext-chip-sigmastar/configs/ssc335de_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc335de_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc335de_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc335de_ultimate_defconfig
index fea454b2..4f346e47 100644
--- a/br-ext-chip-sigmastar/configs/ssc335de_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc335de_ultimate_defconfig
@@ -77,7 +77,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc337_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc337_lite_defconfig
index 7ce59263..dd571219 100644
--- a/br-ext-chip-sigmastar/configs/ssc337_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc337_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc337_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc337_ultimate_defconfig
index f8516b11..e2f441d4 100644
--- a/br-ext-chip-sigmastar/configs/ssc337_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc337_ultimate_defconfig
@@ -77,7 +77,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc337de_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc337de_lite_defconfig
index ffdf5e93..6f8ced38 100644
--- a/br-ext-chip-sigmastar/configs/ssc337de_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc337de_lite_defconfig
@@ -76,7 +76,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc337de_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc337de_ultimate_defconfig
index 65f57393..5fadcf2e 100644
--- a/br-ext-chip-sigmastar/configs/ssc337de_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc337de_ultimate_defconfig
@@ -82,7 +82,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc338q_fpv_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_fpv_defconfig
index b5017429..16d842af 100644
--- a/br-ext-chip-sigmastar/configs/ssc338q_fpv_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc338q_fpv_defconfig
@@ -78,7 +78,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-# BR2_PACKAGE_WEBUI is not set
+# BR2_PACKAGE_WEBUI_NEXT is not set
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig
index 307a69bf..a8b68fea 100644
--- a/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc338q_initramfs_defconfig
@@ -72,7 +72,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig
index 8c2474bd..ef832f20 100644
--- a/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc338q_lite_defconfig
@@ -73,7 +73,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc338q_ultimate_defconfig b/br-ext-chip-sigmastar/configs/ssc338q_ultimate_defconfig
index 9bd9dfbd..84e503a2 100644
--- a/br-ext-chip-sigmastar/configs/ssc338q_ultimate_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc338q_ultimate_defconfig
@@ -79,7 +79,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig b/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig
index 0c9b78b2..56315e47 100644
--- a/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig
+++ b/br-ext-chip-sigmastar/configs/ssc377_lite_defconfig
@@ -73,7 +73,7 @@ BR2_PACKAGE_MAJESTIC_FONTS=y
 BR2_PACKAGE_MBEDTLS_OPENIPC=y
 # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set
 # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
-BR2_PACKAGE_WEBUI=y
+BR2_PACKAGE_WEBUI_NEXT=y
 # BR2_PACKAGE_MINI_SNMPD is not set
 # BR2_PACKAGE_MOTORS is not set
 BR2_PACKAGE_OPUS_OPENIPC=y
diff --git a/general/package/Config.in b/general/package/Config.in
index 0d9893b7..ad48c8b9 100644
--- a/general/package/Config.in
+++ b/general/package/Config.in
@@ -36,12 +36,14 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv-hi3536dv100/Config.in
 source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv-serdes/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/hisilicon-osdrv1-sources/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/i2c-telemetry/Config.in"
+source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-diag-tools/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-opensdk/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t20/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t21/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t30/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t31/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-osdrv-t40/Config.in"
+source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-pwm/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/ipctool/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/jsonfilter/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/lame-openipc/Config.in"
@@ -102,6 +104,7 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/vdec-openipc/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/venc-openipc/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/vtund-openipc/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/webui/Config.in"
+source "$BR2_EXTERNAL_GENERAL_PATH/package/webui-next/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/wifibroadcast/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/xiongmai-opensdk-xm510/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/xiongmai-osdrv-xm510/Config.in"
@@ -109,6 +112,3 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/xiongmai-osdrv-xm530/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/xmdp/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/yaml-cli/Config.in"
 source "$BR2_EXTERNAL_GENERAL_PATH/package/zerotier-one/Config.in"
-
-source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-diag-tools/Config.in"
-source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-pwm/Config.in"
diff --git a/general/package/webui-next/Config.in b/general/package/webui-next/Config.in
new file mode 100644
index 00000000..23767657
--- /dev/null
+++ b/general/package/webui-next/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_WEBUI_NEXT
+	bool "webui-next"
+	select BR2_PACKAGE_HASERL
+	help
+	  Simple web interface.
+	  https://openipc.org
diff --git a/general/package/webui-next/webui-next.mk b/general/package/webui-next/webui-next.mk
new file mode 100644
index 00000000..cbb4a7dd
--- /dev/null
+++ b/general/package/webui-next/webui-next.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# webui-next
+#
+################################################################################
+
+WEBUI_NEXT_SITE = $(call github,openipc,webui-next,$(WEBUI_NEXT_VERSION))
+WEBUI_NEXT_VERSION = master
+WEBUI_NEXT_LICENSE = MIT
+WEBUI_NEXT_LICENSE_FILES = LICENSE
+
+define WEBUI_NEXT_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr
+	cp -rv $(@D)/files/usr/sbin $(TARGET_DIR)/usr
+
+	$(INSTALL) -m 755 -d $(TARGET_DIR)/var
+	cp -rv $(@D)/files/var/www $(TARGET_DIR)/var
+endef
+
+$(eval $(generic-package))