luci-app-advanced-reboot: update to 1.0.1-13 7291/head
authorStan Grishin <stangri@melmac.ca>
Sun, 22 Sep 2024 17:45:28 +0000 (17:45 +0000)
committerStan Grishin <stangri@melmac.ca>
Sun, 22 Sep 2024 17:45:54 +0000 (17:45 +0000)
* update copyright
* update license
* split version string into PKG_VERSION and PKG_RELEASE for APK compatibility
* update upstream URL link
* add menuconfig title/version info
* update README
* add support for:
  * Linksys MX4200v1 (Thanks @innovara)
  * Linksys MX4200v2 (Thanks @innovara)
  * Linksys MX4300 (Thanks @PIPIPIG233666)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
applications/luci-app-advanced-reboot/Makefile
applications/luci-app-advanced-reboot/README.md
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json [new file with mode: 0644]
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json [new file with mode: 0644]
applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json [new file with mode: 0644]

index 4c0e7936597ab1d5d6210c8995d0201ecce6eead..1f0f03000677a66c6d4c79126ad1d4dd2cdef189 100644 (file)
@@ -1,19 +1,29 @@
-# Copyright 2017-2018 Stan Grishin (stangri@melmac.net)
-# This is free software, licensed under the GNU General Public License v3.
+# Copyright 2017-2024 MOSSDeF, Stan Grishin (stangri@melmac.ca).
+# This is free software, licensed under AGPL-3.0-or-later.
 
 include $(TOPDIR)/rules.mk
 
-PKG_LICENSE:=GPL-3.0-or-later
-PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
-PKG_VERSION:=1.0.1-11
+PKG_NAME:=luci-app-advanced-reboot
+PKG_LICENSE:=AGPL-3.0-or-later
+PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
+PKG_VERSION:=1.0.1
+PKG_RELEASE:=13
 
 LUCI_TITLE:=Advanced Linksys Reboot Web UI
-LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
+LUCI_URL:=https://github.com/stangri/luci-app-advanced-reboot/
 LUCI_DESCRIPTION:=Provides Web UI (found under System/Advanced Reboot) to reboot supported Linksys and ZyXEL routers to\
        an alternative partition. Also provides Web UI to shut down (power off) your device.    Supported dual-partition\
        routers are listed at https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
 LUCI_DEPENDS:=+luci-base +jshn
 
+define Package/$(PKG_NAME)/config
+# shown in make menuconfig <Help>
+help
+       $(LUCI_TITLE)
+       .
+       Version: $(PKG_VERSION)-$(PKG_RELEASE)
+endef
+
 include ../../luci.mk
 
 # call BuildPackage - OpenWrt buildroot signature
index a0fd20c9ef23b29c8f8a86ff89fcfc3345869935..11df6a73805c004208c08ee2e9acc809fa297f25 100644 (file)
@@ -1,3 +1,3 @@
-# Advanced Reboot Web UI (luci-app-advanced-reboot)
+# README
 
-README has been moved to [https://docs.openwrt.melmac.net/luci-app-advanced-reboot/](<https://docs.openwrt.melmac.net/luci-app-advanced-reboot/>).
+Documentation for this project is available at [https://docs.openwrt.melmac.net/luci-app-advanced-reboot/](https://docs.openwrt.melmac.net/luci-app-advanced-reboot/).
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v1.json
new file mode 100644 (file)
index 0000000..0121384
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX4200v1",
+       "boardNames": [ "linksys,mx4200v1" ],
+       "partition1MTD": "mtd21",
+       "partition2MTD": "mtd23",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4200v2.json
new file mode 100644 (file)
index 0000000..44e8d3c
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX4200v2",
+       "boardNames": [ "linksys,mx4200v2" ],
+       "partition1MTD": "mtd21",
+       "partition2MTD": "mtd23",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mx4300.json
new file mode 100644 (file)
index 0000000..8692c6d
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "vendorName": "Linksys",
+       "deviceName": "MX4300",
+       "boardNames": [ "linksys,mx4300" ],
+       "partition1MTD": "mtd21",
+       "partition2MTD": "mtd23",
+       "labelOffset": 192,
+       "bootEnv1": "boot_part",
+       "bootEnv1Partition1Value": 1,
+       "bootEnv1Partition2Value": 2,
+       "bootEnv2": null,
+       "bootEnv2Partition1Value": null,
+       "bootEnv2Partition2Value": null
+}