forked from libremesh/lime-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'libremesh:master' into feature/mesh-upgrade
- Loading branch information
Showing
50 changed files
with
89 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gioacchino Mazzurco <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+libuci-lua +lua +random-numgen \ | ||
DEPENDS:=+libuci-lua +lua \ | ||
+luci-lib-httpclient | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=Utilities | ||
TITLE:=$(PKG_NAME) provides semi automated firmware upgrades | ||
MAINTAINER:=Santiago Piccinini <[email protected]> | ||
DEPENDS:=+lua +lime-system +luci-lib-jsonc +luci-lib-nixio +libubus-lua +libuci-lua +random-numgen | ||
DEPENDS:=+lua +lime-system +luci-lib-jsonc +luci-lib-nixio +libubus-lua +libuci-lua | ||
PKGARCH:=all | ||
endef | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gioacchino Mazzurco <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+libubox-lua +libubus-lua +random-numgen \ | ||
DEPENDS:=+libubox-lua +libubus-lua \ | ||
+lua +luci-lib-nixio | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ PKG_VERSION=$(GIT_COMMIT_DATE)-$(GIT_COMMIT_TSTAMP) | |
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=https://github.com/libremesh/shared-state-async.git | ||
PKG_SOURCE_VERSION:=575a4774a5fa38e6d5549e08e217f6299dc16742 | ||
PKG_SOURCE_VERSION:=db58e3d16e8658417956f9bb42e7e87f6aadcd4d | ||
PKG_MAINTAINER:=Asociación Civil Altermundi <[email protected]> | ||
PKG_LICENSE:=AGPL-3.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/shared-state-async/files/etc/uci-defaults/shared-state-publish-all-cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
unique_append() | ||
{ | ||
grep -qF "$1" "$2" || echo "$1" >> "$2" | ||
} | ||
|
||
unique_append \ | ||
'*/30 * * * * ((sleep $((RANDOM % 120)); shared-state-async-publish-all &> /dev/null)&)' \ | ||
/etc/crontabs/root |
5 changes: 5 additions & 0 deletions
5
packages/shared-state-async/files/usr/bin/shared-state-async-publish-all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
for publisher in /usr/share/shared-state/publishers/* ; do | ||
[ -x "$publisher" ] && "$publisher"; | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ define Package/$(PKG_NAME) | |
TITLE:=Babel links module for shared-state | ||
MAINTAINER:=Asociación Civil Altermundi <[email protected]> | ||
DEPENDS:=+lua +luci-lib-jsonc +ubus-lime-utils \ | ||
+libubus-lua +random-numgen shared-state-async | ||
+libubus-lua shared-state-async | ||
PKGARCH:=all | ||
endef | ||
|
||
|
1 change: 0 additions & 1 deletion
1
...-babel_links_info/files/etc/shared-state/publishers/shared-state-publish_babel_links_info
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gioacchino Mazzurco <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+hotplug-initd-services +random-numgen \ | ||
DEPENDS:=+hotplug-initd-services \ | ||
+lua +luci-lib-jsonc shared-state | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME) | |
MAINTAINER:=Asociación Civil Altermundi <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+libubus-lua +lime-system +lua +luci-lib-jsonc +luci-lib-nixio \ | ||
shared-state-async | ||
+shared-state-async | ||
PKGARCH:=all | ||
endef | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
packages/shared-state-bat_hosts/files/etc/hotplug.d/iface/shared-state-bat_hosts.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
[ "x$ACTION" == "xifup" ] && ((sleep 30; shared-state-publish_bat_hosts; shared-state-async sync bat-hosts)&) | ||
[ "x$ACTION" == "xifup" ] && ((sleep 30; /usr/share/shared-state/publishers/shared-state-publish_bat_hosts)&) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
packages/shared-state-bat_links_info/files/etc/hotplug.d/iface/shared-state-bat_links.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
[ "x$ACTION" == "xifup" ] && ((sleep 30; /usr/share/shared-state/publishers/shared-state-publish_bat_links)&) |
1 change: 0 additions & 1 deletion
1
...tate-bat_links_info/files/etc/shared-state/publishers/shared-state-publish_bat_links_info
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gioacchino Mazzurco <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+lua +luci-lib-jsonc +random-numgen \ | ||
DEPENDS:=+lua +luci-lib-jsonc \ | ||
shared-state | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gioacchino Mazzurco <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+libuci-lua +lua +random-numgen \ | ||
DEPENDS:=+libuci-lua +lua \ | ||
+luci-lib-jsonc shared-state +shared-state-dnsmasq_hosts \ | ||
+luci-lib-nixio | ||
PKGARCH:=all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Gui iribarren <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+lua +luci-lib-jsonc +random-numgen \ | ||
DEPENDS:=+lua +luci-lib-jsonc \ | ||
shared-state | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ define Package/$(PKG_NAME) | |
TITLE:=$(PKG_NAME) provides data-type for network nodes marked as reliable by user | ||
MAINTAINER:=Asociacion Civil Altermundi <[email protected]> | ||
DEPENDS:=+shared-state +shared-state-nodes_and_links +lime-system +luci-lib-jsonc \ | ||
+libubus-lua +random-numgen | ||
+libubus-lua | ||
PKGARCH:=all | ||
endef | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Nicolas Pace <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+lua +luci-lib-jsonc +random-numgen \ | ||
DEPENDS:=+lua +luci-lib-jsonc \ | ||
shared-state +ubus-lime-location | ||
PKGARCH:=all | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ define Package/$(PKG_NAME) | |
CATEGORY:=LibreMesh | ||
MAINTAINER:=Asociación Civil AlterMundi <[email protected]> | ||
URL:=http://libremesh.org | ||
DEPENDS:=+lua +luci-lib-jsonc +random-numgen shared-state | ||
DEPENDS:=+lua +luci-lib-jsonc shared-state | ||
PKGARCH:=all | ||
endef | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.