openwisp-config: update to version 0.5.0
Full changelog available at https://github.com/openwisp/openwisp-config/releases/tag/0.5.0 Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
This commit is contained in:
parent
30d8b97983
commit
9f7b8088c3
1 changed files with 21 additions and 23 deletions
|
@ -5,16 +5,14 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=openwisp-config
|
PKG_NAME:=openwisp-config
|
||||||
PKG_VERSION:=0.4.5
|
PKG_SOURCE_VERSION:=0.5.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
||||||
PKG_SOURCE_URL:=https://github.com/openwisp/openwisp-config.git
|
PKG_SOURCE_URL:=https://github.com/openwisp/openwisp-config.git
|
||||||
PKG_SOURCE_VERSION:=0.4.5
|
PKG_MIRROR_HASH:=337a3a9542a0898da9f951256b0d19b6bc87ced98f4ec6dc9646172b551880ef
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
|
PKG_MAINTAINER:=Federico Capoano <f.capoano@openwisp.io>
|
||||||
PKG_MIRROR_HASH:=017a8ed35ebfda2805426e7da02559d5cc2845ee9ded60fdae8e848d377424fb
|
PKG_LICENSE:=GPL3.0-or-later
|
||||||
PKG_LICENSE:=GPL-3.0
|
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -23,16 +21,16 @@ define Package/openwisp-config/default
|
||||||
TITLE:=Remote configuration management agent ($(2) variant)
|
TITLE:=Remote configuration management agent ($(2) variant)
|
||||||
CATEGORY:=Administration
|
CATEGORY:=Administration
|
||||||
SECTION:=admin
|
SECTION:=admin
|
||||||
SUBMENU:=OpenWISP
|
SUBMENU:=openwisp
|
||||||
DEPENDS:=+curl +lua +libuci-lua +luafilesystem $(3)
|
DEPENDS:=+curl +lua +libuci-lua +luafilesystem +luci-lib-nixio $(3)
|
||||||
VARIANT:=$(1)
|
VARIANT:=$(1)
|
||||||
MAINTAINER:=Federico Capoano <f.capoano@cineca.it>
|
PKGARCH:=all
|
||||||
URL:=http://openwisp.org
|
URL:=http://openwisp.org
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Package/openwisp-config-openssl=$(call Package/openwisp-config/default,openssl,OpenSSL,+ca-certificates +libopenssl)
|
Package/openwisp-config-openssl=$(call Package/openwisp-config/default,openssl,OpenSSL,+ca-certificates +libopenssl)
|
||||||
Package/openwisp-config-mbedtls=$(call Package/openwisp-config/default,mbedtls,mbedTLS,+ca-certificates +libmbedtls)
|
Package/openwisp-config-mbedtls=$(call Package/openwisp-config/default,mbedtls,mbedTLS,+ca-certificates +libmbedtls)
|
||||||
Package/openwisp-config-cyassl=$(call Package/openwisp-config/default,cyassl,CyaSSL,+ca-certificates +libcyassl)
|
Package/openwisp-config-wolfssl=$(call Package/openwisp-config/default,wolfssl,WolfSSL,+ca-certificates +libwolfssl)
|
||||||
Package/openwisp-config-nossl=$(call Package/openwisp-config/default,nossl,No SSL)
|
Package/openwisp-config-nossl=$(call Package/openwisp-config/default,nossl,No SSL)
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
@ -42,19 +40,11 @@ define Package/openwisp-config-$(BUILD_VARIANT)/conffiles
|
||||||
/etc/config/openwisp
|
/etc/config/openwisp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),openssl)
|
|
||||||
CONFIG_OPENWISP_UCI:=ssl
|
CONFIG_OPENWISP_UCI:=ssl
|
||||||
endif
|
|
||||||
ifeq ($(BUILD_VARIANT),mbedtls)
|
|
||||||
CONFIG_OPENWISP_UCI:=ssl
|
|
||||||
endif
|
|
||||||
ifeq ($(BUILD_VARIANT),cyassl)
|
|
||||||
CONFIG_OPENWISP_UCI:=ssl
|
|
||||||
endif
|
|
||||||
ifeq ($(BUILD_VARIANT),nossl)
|
|
||||||
CONFIG_OPENWISP_UCI:=nossl
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
ifeq ($(BUILD_VARIANT),nossl)
|
||||||
|
CONFIG_OPENWISP_UCI:=nossl
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/openwisp-config-$(BUILD_VARIANT)/install
|
define Package/openwisp-config-$(BUILD_VARIANT)/install
|
||||||
$(INSTALL_DIR) \
|
$(INSTALL_DIR) \
|
||||||
|
@ -83,6 +73,10 @@ define Package/openwisp-config-$(BUILD_VARIANT)/install
|
||||||
$(PKG_BUILD_DIR)/openwisp-config/files/lib/openwisp/utils.lua \
|
$(PKG_BUILD_DIR)/openwisp-config/files/lib/openwisp/utils.lua \
|
||||||
$(1)/usr/lib/lua/openwisp/utils.lua
|
$(1)/usr/lib/lua/openwisp/utils.lua
|
||||||
|
|
||||||
|
$(INSTALL_BIN) \
|
||||||
|
$(PKG_BUILD_DIR)/openwisp-config/files/lib/openwisp/net.lua \
|
||||||
|
$(1)/usr/lib/lua/openwisp/net.lua
|
||||||
|
|
||||||
$(INSTALL_BIN) \
|
$(INSTALL_BIN) \
|
||||||
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-store-unmanaged.lua \
|
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-store-unmanaged.lua \
|
||||||
$(1)/usr/sbin/openwisp-store-unmanaged
|
$(1)/usr/sbin/openwisp-store-unmanaged
|
||||||
|
@ -103,10 +97,14 @@ define Package/openwisp-config-$(BUILD_VARIANT)/install
|
||||||
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-update-config.lua \
|
$(PKG_BUILD_DIR)/openwisp-config/files/sbin/openwisp-update-config.lua \
|
||||||
$(1)/usr/sbin/openwisp-update-config
|
$(1)/usr/sbin/openwisp-update-config
|
||||||
|
|
||||||
|
$(INSTALL_BIN) \
|
||||||
|
$(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/
|
$(CP) $(PKG_BUILD_DIR)/VERSION $(1)/etc/openwisp/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,openwisp-config-openssl))
|
$(eval $(call BuildPackage,openwisp-config-openssl))
|
||||||
$(eval $(call BuildPackage,openwisp-config-mbedtls))
|
$(eval $(call BuildPackage,openwisp-config-mbedtls))
|
||||||
$(eval $(call BuildPackage,openwisp-config-cyassl))
|
$(eval $(call BuildPackage,openwisp-config-wolfssl))
|
||||||
$(eval $(call BuildPackage,openwisp-config-nossl))
|
$(eval $(call BuildPackage,openwisp-config-nossl))
|
||||||
|
|
Loading…
Reference in a new issue