1 # SPDX-Identifier-License: GPL-3.0-only
5 include $(TOPDIR
)/rules.mk
7 PKG_NAME
:=openwisp-config
10 PKG_MAINTAINER
:=Federico Capoano
<f.capoano@openwisp.io
>
11 PKG_LICENSE
:=GPL-3.0
-or-later
13 PKG_SOURCE_URL
:=https
://github.com
/openwisp
/openwisp-config.git
14 PKG_MIRROR_HASH
:=7daa10a9d170e665f33a5555a246b4da2223c2d8d0e8a047edb01701c8886986
16 PKG_SOURCE_VERSION
:=1.0.1
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/openwisp-config
21 TITLE
:=Remote configuration management agent
22 CATEGORY
:=Administration
32 URL
:=https
://openwisp.org
38 define Package
/openwisp-config
/conffiles
42 define Package
/openwisp-config
/install
48 $(1)/usr
/lib
/lua
/openwisp
51 $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.agent \
52 $(1)/usr
/sbin
/openwisp_config
55 $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.init \
56 $(1)/etc
/init.d
/openwisp_config
58 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/openwisp-config
/files
/openwisp.config \
59 $(1)/etc
/config
/openwisp
62 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-reload-config \
63 $(1)/usr
/sbin
/openwisp-reload-config
66 $(PKG_BUILD_DIR
)/openwisp-config
/files
/lib
/openwisp
/utils.lua \
67 $(1)/usr
/lib
/lua
/openwisp
/utils.lua
70 $(PKG_BUILD_DIR
)/openwisp-config
/files
/lib
/openwisp
/net.lua \
71 $(1)/usr
/lib
/lua
/openwisp
/net.lua
74 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-store-unmanaged.lua \
75 $(1)/usr
/sbin
/openwisp-store-unmanaged
78 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-restore-unmanaged.lua \
79 $(1)/usr
/sbin
/openwisp-restore-unmanaged
82 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-remove-default-wifi.lua \
83 $(1)/usr
/sbin
/openwisp-remove-default-wifi
86 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-uci-autoname.lua \
87 $(1)/usr
/sbin
/openwisp-uci-autoname
90 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-update-config.lua \
91 $(1)/usr
/sbin
/openwisp-update-config
94 $(PKG_BUILD_DIR
)/openwisp-config
/files
/sbin
/openwisp-get-address.lua \
95 $(1)/usr
/sbin
/openwisp-get-address
97 $(CP
) $(PKG_BUILD_DIR
)/VERSION
$(1)/etc
/openwisp
/
100 $(eval
$(call BuildPackage
,openwisp-config
))