@ -5,48 +5,43 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := openwisp-config
PKG_NAME := openwisp-config
PKG_SOURCE_VERSION := 0.5.0
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/openwisp/openwisp-config.git
PKG_MIRROR_HASH := 337a3a9542a0898da9f951256b0d19b6bc87ced98f4ec6dc9646172b551880ef
PKG_MAINTAINER := Federico Capoano <f.capoano@openwisp.io>
PKG_MAINTAINER := Federico Capoano <f.capoano@openwisp.io>
PKG_LICENSE := GPL3.0-or-later
PKG_LICENSE := GPL3.0-or-later
PKG_SOURCE_URL := https://github.com/openwisp/openwisp-config.git
PKG_MIRROR_HASH := b1f5682715cc5b5623b2acf49ebb75d8bac1b58094981b61ede3ca392bdfa269
PKG_SOURCE_PROTO := git
PKG_SOURCE_DATE := 2021-12-07
PKG_SOURCE_VERSION := 08df34db29180a0d13c2e357723e8c546523014a
PKGARCH := all
PKGARCH := all
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g / d e f a u l t
TITLE:= Remote configuration management agent ( $( 2) variant)
CATEGORY:= Administration
SECTION:= admin
SUBMENU:= openwisp
DEPENDS:= +curl +lua +libuci-lua +luafilesystem +luci-lib-nixio $( 3)
VARIANT:= $( 1)
PKGARCH:= all
URL:= http://openwisp.org
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g
TITLE:= Remote configuration management agent
CATEGORY:= Administration
SECTION:= admin
SUBMENU:= openwisp
DEPENDS:= +curl \
+lua \
+libuci-lua \
+luafilesystem \
+luci-lib-nixio \
+ca-certificates
PKGARCH:= all
URL:= https://openwisp.org
e n d e f
e n d e f
P a c k a g e / openwisp-config-openssl = $( call Package/openwisp-config/default,openssl,OpenSSL,+ca-certificates +libopenssl)
P a c k a g e / openwisp-config-mbedtls = $( call Package/openwisp-config/default,mbedtls,mbedTLS,+ca-certificates +libmbedtls)
P a c k a g e / openwisp-config-wolfssl = $( call Package/openwisp-config/default,wolfssl,WolfSSL,+ca-certificates +libwolfssl)
P a c k a g e / openwisp-config-nossl = $( call Package/openwisp-config/default,nossl,No SSL)
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
e n d e f
e n d e f
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g - $( BUILD_VARIANT ) / c o n f f i l e s
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g / c o n f f i l e s
/ e t c / c o n f i g / o p e n w i s p
/ e t c / c o n f i g / o p e n w i s p
e n d e f
e n d e f
CONFIG_OPENWISP_UCI := ssl
i f e q ( $( BUILD_VARIANT ) , n o s s l )
CONFIG_OPENWISP_UCI:= nossl
e n d i f
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g - $( BUILD_VARIANT ) / i n s t a l l
d e f i n e P a c k a g e / o p e n w i s p - c o n f i g / i n s t a l l
$( INSTALL_DIR) \
$( INSTALL_DIR) \
$( 1) /usr/sbin \
$( 1) /usr/sbin \
$( 1) /etc/init.d \
$( 1) /etc/init.d \
@ -62,7 +57,7 @@ define Package/openwisp-config-$(BUILD_VARIANT)/install
$( PKG_BUILD_DIR) /openwisp-config/files/openwisp.init \
$( 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_OPENWISP_UCI) .config \
$( INSTALL_CONF) $( PKG_BUILD_DIR) /openwisp-config/files/openwisp.config \
$( 1) /etc/config/openwisp
$( 1) /etc/config/openwisp
$( INSTALL_BIN) \
$( INSTALL_BIN) \
@ -104,7 +99,4 @@ define Package/openwisp-config-$(BUILD_VARIANT)/install
$( CP) $( PKG_BUILD_DIR) /VERSION $( 1) /etc/openwisp/
$( CP) $( PKG_BUILD_DIR) /VERSION $( 1) /etc/openwisp/
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,openwisp -config -openssl ) )
$( eval $ ( call BuildPackage ,openwisp -config -mbedtls ) )
$( eval $ ( call BuildPackage ,openwisp -config -wolfssl ) )
$( eval $ ( call BuildPackage ,openwisp -config -nossl ) )
$( eval $ ( call BuildPackage ,openwisp -config ) )