-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
28 changed files
with
195 additions
and
111 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=openwisp-config | ||
PKG_VERSION:=1.1.0 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PKG_MAINTAINER:=Federico Capoano <[email protected]> | ||
PKG_LICENSE:=GPL-3.0-or-later | ||
|
@@ -38,23 +38,24 @@ endef | |
|
||
define Package/openwisp-config/conffiles | ||
/etc/config/openwisp | ||
/etc/openwisp/ | ||
endef | ||
|
||
define Package/openwisp-config/install | ||
$(INSTALL_DIR) \ | ||
$(1)/usr/sbin \ | ||
$(1)/etc/init.d \ | ||
$(1)/etc/config \ | ||
$(1)/etc/openwisp \ | ||
$(1)/usr/lib/openwisp-config \ | ||
$(1)/usr/lib/lua/openwisp | ||
|
||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-config/files/openwisp.agent \ | ||
$(1)/usr/sbin/openwisp_config | ||
$(1)/usr/sbin/openwisp-config | ||
|
||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-config/files/openwisp.init \ | ||
$(1)/etc/init.d/openwisp_config | ||
$(1)/etc/init.d/openwisp-config | ||
|
||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/openwisp-config/files/openwisp.config \ | ||
$(1)/etc/config/openwisp | ||
|
@@ -95,7 +96,11 @@ define Package/openwisp-config/install | |
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-get-address.lua \ | ||
$(1)/usr/sbin/openwisp-get-address | ||
|
||
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/etc/openwisp/ | ||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-get-random-number.lua \ | ||
$(1)/usr/sbin/openwisp-get-random-number | ||
|
||
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/usr/lib/openwisp-config/ | ||
endef | ||
|
||
$(eval $(call BuildPackage,openwisp-config)) |
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,9 @@ | ||
menu "netjson-monitoring Configuration" | ||
|
||
config NETJSON_MONITORING_IWINFO | ||
bool "Enable rpcd-mod-iwinfo" | ||
default y | ||
help | ||
Whether to include the rpcd-mod-iwinfo dependency (enabled by default). | ||
|
||
endmenu |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=openwisp-monitoring | ||
PKG_VERSION:=0.2.0 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PKG_MAINTAINER:=Federico Capoano <[email protected]> | ||
PKG_LICENSE:=GPL-3.0-or-later | ||
|
@@ -30,14 +30,19 @@ define Package/openwisp-monitoring | |
endef | ||
|
||
define Package/netjson-monitoring | ||
TITLE:=NetJson Monitoring | ||
TITLE:=NetJSON Monitoring | ||
CATEGORY:=Administration | ||
SECTION:=admin | ||
SUBMENU:=openwisp | ||
DEPENDS:=+libubus-lua +lua-cjson +rpcd +rpcd-mod-iwinfo | ||
DEPENDS:=+libubus-lua +lua-cjson +rpcd | ||
DEPENDS+=+NETJSON_MONITORING_IWINFO:rpcd-mod-iwinfo | ||
URL:=http://openwisp.org | ||
endef | ||
|
||
define Package/netjson-monitoring/config | ||
source "$(SOURCE)/Config.in" | ||
endef | ||
|
||
define Build/Compile | ||
endef | ||
|
||
|
@@ -50,7 +55,7 @@ define Package/netjson-monitoring/install | |
$(1)/usr/sbin \ | ||
$(1)/usr/libexec \ | ||
$(1)/usr/lib/lua/openwisp-monitoring \ | ||
$(1)/etc/openwisp-monitoring | ||
$(1)/usr/lib/openwisp-monitoring | ||
|
||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/sbin/netjson-monitoring.lua \ | ||
|
@@ -88,7 +93,12 @@ define Package/netjson-monitoring/install | |
$(PKG_BUILD_DIR)/openwisp-monitoring/files/lib/openwisp-monitoring/wifi.lua \ | ||
$(1)/usr/lib/lua/openwisp-monitoring/wifi.lua | ||
|
||
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/etc/openwisp-monitoring/ | ||
# Iwinfo is enabled by default unless specified otherwise | ||
ifeq ($(CONFIG_NETJSON_MONITORING_IWINFO), y) | ||
$(CP) $(PKG_BUILD_DIR)/openwisp-monitoring/files/lib/openwisp-monitoring/iwinfo.lua $(1)/usr/lib/lua/openwisp-monitoring/iwinfo.lua | ||
endif | ||
|
||
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/usr/lib/openwisp-monitoring/ | ||
|
||
endef | ||
|
||
|
@@ -97,7 +107,8 @@ define Package/openwisp-monitoring/install | |
$(1)/usr/sbin \ | ||
$(1)/etc/init.d \ | ||
$(1)/etc/config \ | ||
$(1)/etc/openwisp-monitoring | ||
$(1)/usr/lib/openwisp-monitoring \ | ||
$(1)/etc/hotplug.d/openwisp | ||
|
||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.agent \ | ||
|
@@ -107,6 +118,10 @@ define Package/openwisp-monitoring/install | |
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.init \ | ||
$(1)/etc/init.d/openwisp-monitoring | ||
|
||
$(INSTALL_BIN) \ | ||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/openwisp-monitoring.hotplug \ | ||
$(1)/etc/hotplug.d/openwisp/openwisp-monitoring | ||
|
||
$(INSTALL_CONF) \ | ||
$(PKG_BUILD_DIR)/openwisp-monitoring/files/monitoring.config \ | ||
$(1)/etc/config/openwisp-monitoring | ||
|
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,12 +1,12 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=lua-eco | ||
PKG_VERSION:=3.6.0 | ||
PKG_VERSION:=3.6.1 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL=https://github.com/zhaojh329/lua-eco/releases/download/v$(PKG_VERSION) | ||
PKG_HASH:=0fdcd8eb9e93f2d1f0ff2132298faae2e13a8bfd676bd91db4d53e48917d6a74 | ||
PKG_HASH:=8bfd5a85a699c0ff1ba760e121f3955e817a66335be6587ef930ec61638e5ae3 | ||
|
||
PKG_MAINTAINER:=Jianhui Zhao <[email protected]> | ||
PKG_LICENSE:=MIT | ||
|
@@ -98,11 +98,11 @@ define Package/lua-eco/install | |
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/local/lib/lua/5.3/eco/core \ | ||
$(1)/usr/lib $(1)/usr/local/lib/lua/5.3/eco/encoding | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/eco $(1)/usr/bin | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libeco.so $(1)/usr/lib | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libeco.so* $(1)/usr/lib | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bufio.so $(1)/usr/local/lib/lua/5.3/eco | ||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/hex.lua $(1)/usr/local/lib/lua/5.3/eco/encoding | ||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/{time,bufio,sys,file}.so $(1)/usr/local/lib/lua/5.3/eco/core | ||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/{time,sys,file,sync}.lua $(1)/usr/local/lib/lua/5.3/eco | ||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/{time,sys,file,sync,channel}.lua $(1)/usr/local/lib/lua/5.3/eco | ||
endef | ||
|
||
define Package/lua-eco-log/install | ||
|
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,14 +1,14 @@ | ||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=luajit2 | ||
PKG_SOURCE_DATE:=2024-08-15 | ||
PKG_SOURCE_DATE:=2024-11-04 | ||
PKG_VERSION:=2.1.$(subst -,.,$(PKG_SOURCE_DATE)) | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=https://github.com/openresty/luajit2 | ||
PKG_SOURCE_VERSION:=33d6b04681d2f079a6d013988a426a841c52e29e | ||
PKG_MIRROR_HASH:=cb6687203153fd6b2f730e899728a911f8b7094f296cc11ca0f2b20ce849f952 | ||
PKG_SOURCE_VERSION:=24d0c668883b65b13c8b5357805c6d4113e0ba6a | ||
PKG_MIRROR_HASH:=d4e2743d7e92be51b1773fba997564a5b229f1b1cb2f3863bb7e27d4fd8a5cdb | ||
|
||
PKG_MAINTAINER:=Javier Marcet <[email protected]> | ||
PKG_LICENSE:=MIT | ||
|
25 changes: 25 additions & 0 deletions
25
lang/node/patches/999-fix_building_with_system_icu_76.patch
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,25 @@ | ||
From 54299ac3a3d4e4520b8604dce43c2584092ccde2 Mon Sep 17 00:00:00 2001 | ||
From: Michael Cho <[email protected]> | ||
Date: Sun, 27 Oct 2024 10:08:07 -0400 | ||
Subject: [PATCH] build: fix building with system icu 76 | ||
|
||
ICU 76 decided to reduce overlinking[^1] thus `icu-i18n` will no longer | ||
add `icu-uc` when linking to shared libraries. This results in undefined | ||
symbols/references when trying to build with system ICU 76. | ||
|
||
[^1]: unicode-org/icu@199bc82 | ||
--- | ||
configure.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/configure.py | ||
+++ b/configure.py | ||
@@ -1829,7 +1829,7 @@ def configure_intl(o): | ||
elif with_intl == 'system-icu': | ||
# ICU from pkg-config. | ||
o['variables']['v8_enable_i18n_support'] = 1 | ||
- pkgicu = pkg_config('icu-i18n') | ||
+ pkgicu = pkg_config(['icu-i18n', 'icu-uc']) | ||
if not pkgicu[0]: | ||
error('''Could not load pkg-config data for "icu-i18n". | ||
See above errors or the README.md.''') |
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,12 +11,12 @@ include $(TOPDIR)/rules.mk | |
include ../python3-version.mk | ||
|
||
PKG_NAME:=python3 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=1 | ||
PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) | ||
|
||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz | ||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION) | ||
PKG_HASH:=9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87 | ||
PKG_HASH:=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372 | ||
|
||
PKG_MAINTAINER:=Jeffery To <[email protected]> | ||
PKG_LICENSE:=Python-2.0.1 0BSD | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/networking/telnetd.c | ||
+++ b/networking/telnetd.c | ||
@@ -133,6 +133,7 @@ | ||
#include <string.h> | ||
#include <unistd.h> | ||
#include <linux/reboot.h> | ||
+#include <sys/reboot.h> | ||
|
||
#define LOGIN_PREFIX "Atlas probe, see http://atlas.ripe.net/\r\n\r\n" | ||
#define LOGIN_PROMPT " login: " |
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.