luci-app-pbr: update to 1.1.8
authorStan Grishin <stangri@melmac.ca>
Wed, 18 Dec 2024 05:18:11 +0000 (05:18 +0000)
committerStan Grishin <stangri@melmac.ca>
Wed, 18 Dec 2024 05:18:49 +0000 (05:18 +0000)
* match version with principal package
* update README version
* use var instead of const for RPCD objects

Signed-off-by: Stan Grishin <stangri@melmac.ca>
applications/luci-app-pbr/Makefile
applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js

index fb166677e65a2804689dc28c1d875999ada20f42..4b4d447a16d83769d362c476d0f08f64bc32880a 100644 (file)
@@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=luci-app-pbr
 PKG_LICENSE:=AGPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
-PKG_VERSION:=1.1.7
-PKG_RELEASE:=47
+PKG_VERSION:=1.1.8
+PKG_RELEASE:=2
 
 LUCI_TITLE:=Policy Based Routing Service Web UI
 LUCI_URL:=https://github.com/stangri/luci-app-pbr/
index 19c66ab58dfce09d9caea9f4327c0b899289158c..d8b47bc26d15c6e50205f35bcdf3aef3eb7a1bea 100644 (file)
@@ -11,7 +11,7 @@ var pkg = {
                return "pbr";
        },
        get ReadmeCompat() {
-               return "1.1.7-39";
+               return "1.1.8";
        },
        get URL() {
                return (
@@ -32,37 +32,37 @@ var pkg = {
        },
 };
 
-const getGateways = rpc.declare({
+var getGateways = rpc.declare({
        object: "luci." + pkg.Name,
        method: "getGateways",
        params: ["name"],
 });
 
-const getInitList = rpc.declare({
+var getInitList = rpc.declare({
        object: "luci." + pkg.Name,
        method: "getInitList",
        params: ["name"],
 });
 
-const getInitStatus = rpc.declare({
+var getInitStatus = rpc.declare({
        object: "luci." + pkg.Name,
        method: "getInitStatus",
        params: ["name"],
 });
 
-const getInterfaces = rpc.declare({
+var getInterfaces = rpc.declare({
        object: "luci." + pkg.Name,
        method: "getInterfaces",
        params: ["name"],
 });
 
-const getPlatformSupport = rpc.declare({
+var getPlatformSupport = rpc.declare({
        object: "luci." + pkg.Name,
        method: "getPlatformSupport",
        params: ["name"],
 });
 
-const _setInitAction = rpc.declare({
+var _setInitAction = rpc.declare({
        object: "luci." + pkg.Name,
        method: "setInitAction",
        params: ["name", "action"],