3 # This is free software, licensed under the GNU General Public License v3.
4 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
7 PKG_NAME
:=openwisp-config
10 PKG_MAINTAINER
:=Federico Capoano
<f.capoano@openwisp.io
>
11 PKG_LICENSE
:=GPL3.0
-or-later
13 PKG_SOURCE_URL
:=https
://github.com
/openwisp
/openwisp-config.git
14 PKG_MIRROR_HASH
:=f0b0866b27a7a75bc33c3bbc4780dd99f5ae693226012ae04e63a303172c2c38
16 PKG_SOURCE_VERSION
:=1.0.0
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/openwisp-config
22 TITLE
:=Remote configuration management agent
23 CATEGORY
:=Administration
33 URL
:=https
://openwisp.org
39 define Package
/openwisp-config
/conffiles
43 define Package
/openwisp-config
/install
49 $(1)/usr
/lib
/lua
/openwisp
52 $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.agent \
53 $(1)/usr
/sbin
/openwisp_config
56 $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.init \
57 $(1)/etc
/init.d
/openwisp_config
59 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.config \
60 $(1)/etc
/config
/openwisp
63 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-reload-config \
64 $(1)/usr
/sbin
/openwisp-reload-config
67 $(PKG_BUILD_DIR
)/openwisp-config
/files
/lib
/openwisp
/utils.lua \
68 $(1)/usr
/lib
/lua
/openwisp
/utils.lua
71 $(PKG_BUILD_DIR
)/openwisp-config
/files
/lib
/openwisp
/net.lua \
72 $(1)/usr
/lib
/lua
/openwisp
/net.lua
75 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-store-unmanaged.lua \
76 $(1)/usr
/sbin
/openwisp-store-unmanaged
79 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-restore-unmanaged.lua \
80 $(1)/usr
/sbin
/openwisp-restore-unmanaged
83 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-remove-default-wifi.lua \
84 $(1)/usr
/sbin
/openwisp-remove-default-wifi
87 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-uci-autoname.lua \
88 $(1)/usr
/sbin
/openwisp-uci-autoname
91 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-update-config.lua \
92 $(1)/usr
/sbin
/openwisp-update-config
95 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-get-address.lua \
96 $(1)/usr
/sbin
/openwisp-get-address
98 $(CP
) $(PKG_BUILD_DIR
)/VERSION
$(1)/etc
/openwisp
/
101 $(eval
$(call BuildPackage
,openwisp-config
))