does not build
This commit is contained in:
parent
34ba8b3047
commit
056b7a8160
@ -18,7 +18,7 @@ GLUON_FEATURES := \
|
||||
web-wizard
|
||||
|
||||
GLUON_FEATURES_standard := \
|
||||
wireless-encryption-wpa3
|
||||
wireless-encryption-wpa3
|
||||
|
||||
## GLUON_SITE_PACKAGES
|
||||
# Specify additional Gluon/OpenWrt packages to include here;
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-alfred
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-alfred
|
||||
DEPENDS:=+gluon-core +gluon-respondd +gluon-neighbour-info gluon-mesh-batman-adv +micrond +alfred
|
||||
TITLE:=Configure alfred
|
||||
DEPENDS:=+gluon-core +gluon-respondd +gluon-neighbour-info gluon-mesh-batman-adv +micrond +alfred
|
||||
TITLE:=Configure alfred
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-alfred))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-authorized-keys
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-authorized-keys
|
||||
TITLE:=Fill /etc/dropbear/authorized_keys from site.conf
|
||||
DEPENDS:=+gluon-core +gluon-lock-password
|
||||
TITLE:=Fill /etc/dropbear/authorized_keys from site.conf
|
||||
DEPENDS:=+gluon-core +gluon-lock-password
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-authorized-keys))
|
||||
|
@ -7,8 +7,8 @@ PKG_CONFIG_DEPENDS := CONFIG_GLUON_AUTOUPDATER_BRANCH CONFIG_GLUON_AUTOUPDATER_E
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-autoupdater
|
||||
DEPENDS:=+gluon-core +libgluonutil +micrond +autoupdater
|
||||
TITLE:=Automatically update firmware
|
||||
DEPENDS:=+gluon-core +libgluonutil +micrond +autoupdater
|
||||
TITLE:=Automatically update firmware
|
||||
endef
|
||||
|
||||
define Package/gluon-autoupdater/config
|
||||
@ -19,12 +19,12 @@ define Package/gluon-autoupdater/install
|
||||
$(Gluon/Build/Install)
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/gluon/autoupdater
|
||||
ifneq ($(CONFIG_GLUON_AUTOUPDATER_BRANCH),"")
|
||||
ifneq ($(CONFIG_GLUON_AUTOUPDATER_BRANCH),"")
|
||||
echo '$(call qstrip,$(CONFIG_GLUON_AUTOUPDATER_BRANCH))' > $(1)/lib/gluon/autoupdater/default_branch
|
||||
endif
|
||||
ifneq ($(CONFIG_GLUON_AUTOUPDATER_ENABLED),)
|
||||
endif
|
||||
ifneq ($(CONFIG_GLUON_AUTOUPDATER_ENABLED),)
|
||||
touch $(1)/lib/gluon/autoupdater/default_enabled
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-autoupdater))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-client-bridge
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-client-bridge
|
||||
TITLE:=Provides a bridge and a wireless interface for clients to connect to
|
||||
DEPENDS:=+gluon-core +kmod-veth
|
||||
TITLE:=Provides a bridge and a wireless interface for clients to connect to
|
||||
DEPENDS:=+gluon-core +kmod-veth
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-client-bridge))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-autoupdater
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-autoupdater
|
||||
TITLE:=Config Mode: Let the user know whether the autoupdater is enabled or not
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-autoupdater
|
||||
TITLE:=Config Mode: Let the user know whether the autoupdater is enabled or not
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-autoupdater
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-autoupdater))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-contact-info
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-contact-info
|
||||
TITLE:=Allows the user to provide contact information to be distributed in the mesh
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-node-info
|
||||
TITLE:=Allows the user to provide contact information to be distributed in the mesh
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-node-info
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-contact-info))
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-config-mode-core
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-core
|
||||
TITLE:=Configuration wizard for user friendly setup of new mesh nodes
|
||||
DEPENDS:=+gluon-setup-mode +gluon-web-model +gluon-config-mode-theme +uhttpd
|
||||
TITLE:=Configuration wizard for user friendly setup of new mesh nodes
|
||||
DEPENDS:=+gluon-setup-mode +gluon-web-model +gluon-config-mode-theme +uhttpd
|
||||
endef
|
||||
|
||||
define Package/gluon-config-mode-core/install
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-domain-select
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-domain-select
|
||||
TITLE:=UI for changing the node-config
|
||||
DEPENDS:=+gluon-config-mode-core @GLUON_MULTIDOMAIN
|
||||
TITLE:=UI for changing the node-config
|
||||
DEPENDS:=+gluon-config-mode-core @GLUON_MULTIDOMAIN
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-domain-select))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-geo-location-osm
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-geo-location-osm
|
||||
TITLE:=Set geographic location of a node (map support)
|
||||
DEPENDS:=+gluon-config-mode-geo-location +gluon-web-osm
|
||||
TITLE:=Set geographic location of a node (map support)
|
||||
DEPENDS:=+gluon-config-mode-geo-location +gluon-web-osm
|
||||
endef
|
||||
|
||||
define Package/gluon-config-mode-geo-location-osm/install
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-geo-location
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-geo-location
|
||||
TITLE:=Set geographic location of a node
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-node-info
|
||||
TITLE:=Set geographic location of a node
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-node-info
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-geo-location))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-hostname
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-hostname
|
||||
TITLE:=Set the hostname
|
||||
DEPENDS:=+gluon-config-mode-core
|
||||
TITLE:=Set the hostname
|
||||
DEPENDS:=+gluon-config-mode-core
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-hostname))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-mesh-vpn
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-mesh-vpn
|
||||
TITLE:=Toggle mesh-vpn and bandwidth limit
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-mesh-vpn-core
|
||||
TITLE:=Toggle mesh-vpn and bandwidth limit
|
||||
DEPENDS:=+gluon-config-mode-core +gluon-mesh-vpn-core
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-mesh-vpn))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-config-mode-outdoor
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-outdoor
|
||||
TITLE:=UI for displaying & changing the outdoor mode flag in the wizard
|
||||
DEPENDS:=+gluon-config-mode-core
|
||||
TITLE:=UI for displaying & changing the outdoor mode flag in the wizard
|
||||
DEPENDS:=+gluon-config-mode-core
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-outdoor))
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-config-mode-theme
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-config-mode-theme
|
||||
TITLE:=Gluon config mode theme for gluon-web
|
||||
DEPENDS:=+gluon-core +gluon-web
|
||||
TITLE:=Gluon config mode theme for gluon-web
|
||||
DEPENDS:=+gluon-core +gluon-web
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-config-mode-theme))
|
||||
|
@ -8,8 +8,8 @@ include ../gluon.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/gluon-core
|
||||
TITLE:=Base files of Gluon
|
||||
DEPENDS:= \
|
||||
TITLE:=Base files of Gluon
|
||||
DEPENDS:= \
|
||||
+gluon-site +libgluonutil +libiwinfo-lua +lua-platform-info +lua-simple-uci +lua-hash +lua-jsonc \
|
||||
+luabitop +luaposix +vxlan +odhcp6c +firewall +pretty-hostname
|
||||
endef
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-ebtables-filter-multicast
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-ebtables-filter-multicast
|
||||
TITLE:=Ebtables filters for multicast packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
TITLE:=Ebtables filters for multicast packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
endef
|
||||
|
||||
define Package/gluon-ebtables-filter-multicast/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-ebtables-filter-ra-dhcp
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-ebtables-filter-ra-dhcp
|
||||
TITLE:=Ebtables filters for Router Advertisement and DHCP packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
TITLE:=Ebtables filters for Router Advertisement and DHCP packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
endef
|
||||
|
||||
define Package/gluon-ebtables-filter-ra-dhcp/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-ebtables-limit-arp
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-ebtables-limit-arp
|
||||
TITLE:=Ebtables limiter for ARP packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
TITLE:=Ebtables limiter for ARP packets
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
endef
|
||||
|
||||
define Package/gluon-ebtables-limit-arp/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-ebtables-source-filter
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-ebtables-source-filter
|
||||
TITLE:=Ebtables rules to filter unreasonable L2 traffic.
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
TITLE:=Ebtables rules to filter unreasonable L2 traffic.
|
||||
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
||||
endef
|
||||
|
||||
define Package/gluon-ebtables-source-filter/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-ebtables
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-ebtables
|
||||
TITLE:=Ebtables support
|
||||
DEPENDS:=+gluon-core +ebtables-tiny \
|
||||
TITLE:=Ebtables support
|
||||
DEPENDS:=+gluon-core +ebtables-tiny \
|
||||
+kmod-ebtables +kmod-ebtables-ipv4 +kmod-ebtables-ipv6
|
||||
endef
|
||||
|
||||
|
@ -5,17 +5,17 @@ PKG_NAME:=gluon-hoodselector
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-hoodselector
|
||||
TITLE:=Automatically migrate nodes between domains.
|
||||
DEPENDS:=+luaposix +libgluonutil +lua-math-polygon +libjson-c +gluon-site +micrond +luabitop @GLUON_MULTIDOMAIN
|
||||
CONFLICTS:=+gluon-config-mode-domain-select
|
||||
TITLE:=Automatically migrate nodes between domains.
|
||||
DEPENDS:=+luaposix +libgluonutil +lua-math-polygon +libjson-c +gluon-site +micrond +luabitop @GLUON_MULTIDOMAIN
|
||||
CONFLICTS:=+gluon-config-mode-domain-select
|
||||
endef
|
||||
|
||||
define Package/gluon-hoodselector/description
|
||||
Hoodselector automatically detects in which domain the node is
|
||||
located based on its geolocation settings. Domains require
|
||||
bounding boxes defined as polygons or rectangles. Hoodselector
|
||||
selects a domain from the list of known domains and migrate
|
||||
towards it without requiring a reboot.
|
||||
Hoodselector automatically detects in which domain the node is
|
||||
located based on its geolocation settings. Domains require
|
||||
bounding boxes defined as polygons or rectangles. Hoodselector
|
||||
selects a domain from the list of known domains and migrate
|
||||
towards it without requiring a reboot.
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-hoodselector))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-iptables-clamp-mss-to-pmtu
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
TITLE:=This will establish a firewall rule to clamp the mss to pmtu on the mesh-vpn interface when the connection is towards 64:ff9b::/96
|
||||
DEPENDS:= +ip6tables-zz-legacy
|
||||
TITLE:=This will establish a firewall rule to clamp the mss to pmtu on the mesh-vpn interface when the connection is towards 64:ff9b::/96
|
||||
DEPENDS:= +ip6tables-zz-legacy
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-l3roamd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-l3roamd
|
||||
TITLE:=Configure l3roamd for babel
|
||||
DEPENDS:=+gluon-core +l3roamd +uc
|
||||
TITLE:=Configure l3roamd for babel
|
||||
DEPENDS:=+gluon-core +l3roamd +uc
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-l3roamd))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-lock-password
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-lock-password
|
||||
TITLE:=Locks the root account by default
|
||||
DEPENDS:=+gluon-core
|
||||
TITLE:=Locks the root account by default
|
||||
DEPENDS:=+gluon-core
|
||||
endef
|
||||
|
||||
define Package/gluon-lock-password/description
|
||||
|
@ -5,9 +5,9 @@ PKG_NAME:=gluon-logging
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-logging
|
||||
TITLE:=Configure remote syslog from site.conf
|
||||
DEPENDS:=+gluon-core
|
||||
CONFLICTS:=gluon-web-logging
|
||||
TITLE:=Configure remote syslog from site.conf
|
||||
DEPENDS:=+gluon-core
|
||||
CONFLICTS:=gluon-web-logging
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-logging))
|
||||
|
@ -8,9 +8,9 @@ PKG_BUILD_DEPENDS += libjson-c
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-babel
|
||||
TITLE:=Babel mesh
|
||||
DEPENDS:=+gluon-core +babeld +gluon-mesh-layer3-common +libiwinfo +libgluonutil +firewall +libjson-c +libnl-tiny +libubus +libubox +libblobmsg-json +libbabelhelper +luabitop
|
||||
PROVIDES:=gluon-mesh-provider
|
||||
TITLE:=Babel mesh
|
||||
DEPENDS:=+gluon-core +babeld +gluon-mesh-layer3-common +libiwinfo +libgluonutil +firewall +libjson-c +libnl-tiny +libubus +libubox +libblobmsg-json +libbabelhelper +luabitop
|
||||
PROVIDES:=gluon-mesh-provider
|
||||
endef
|
||||
|
||||
define Package/gluon-mesh-babel/install
|
||||
|
@ -5,9 +5,9 @@ PKG_NAME:=gluon-mesh-batman-adv
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-batman-adv-15
|
||||
PROVIDES:=gluon-mesh-batman-adv
|
||||
TITLE:=Support for batman-adv meshing (compat level 15)
|
||||
DEPENDS+= \
|
||||
PROVIDES:=gluon-mesh-batman-adv
|
||||
TITLE:=Support for batman-adv meshing (compat level 15)
|
||||
DEPENDS+= \
|
||||
+kmod-batman-adv \
|
||||
+gluon-core \
|
||||
+libgluonutil \
|
||||
|
@ -3,30 +3,30 @@ all: respondd.so
|
||||
CFLAGS += -Wall
|
||||
|
||||
ifeq ($(origin PKG_CONFIG), undefined)
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin LIBNL_CFLAGS) $(origin LIBNL_LDLIBS), undefined undefined)
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_LDLIBS)
|
||||
|
||||
ifeq ($(origin LIBBATADV_CFLAGS) $(origin LIBBATADV_LDLIBS), undefined undefined)
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBBATADV_CFLAGS)
|
||||
LDLIBS += $(LIBBATADV_LDLIBS)
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mesh-layer3-common
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-layer3-common
|
||||
TITLE:=Layer3 common files
|
||||
DEPENDS:=+gluon-core +gluon-mmfd +firewall
|
||||
TITLE:=Layer3 common files
|
||||
DEPENDS:=+gluon-core +gluon-mmfd +firewall
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-layer3-common))
|
||||
|
@ -5,9 +5,9 @@ PKG_NAME:=gluon-mesh-vpn-core
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-vpn-core
|
||||
TITLE:=Basic support for connecting meshes via VPN tunnels
|
||||
DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables-zz-legacy +iptables-mod-extra +simple-tc
|
||||
USERID:=:gluon-mesh-vpn=800
|
||||
TITLE:=Basic support for connecting meshes via VPN tunnels
|
||||
DEPENDS:=+gluon-core +gluon-wan-dnsmasq +iptables-zz-legacy +iptables-mod-extra +simple-tc
|
||||
USERID:=:gluon-mesh-vpn=800
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-core))
|
||||
|
@ -6,8 +6,8 @@ PKG_VERSION:=1
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-vpn-fastd-l2tp
|
||||
TITLE:=Support for connecting meshes via fastd (with L2TP kernel offloading)
|
||||
DEPENDS:=+gluon-core +gluon-mesh-vpn-fastd +kmod-l2tp-eth
|
||||
TITLE:=Support for connecting meshes via fastd (with L2TP kernel offloading)
|
||||
DEPENDS:=+gluon-core +gluon-mesh-vpn-fastd +kmod-l2tp-eth
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-fastd-l2tp))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mesh-vpn-fastd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-vpn-fastd
|
||||
TITLE:=Support for connecting meshes via fastd
|
||||
DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +fastd
|
||||
TITLE:=Support for connecting meshes via fastd
|
||||
DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +fastd
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-fastd))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mesh-vpn-tunneldigger
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-vpn-tunneldigger
|
||||
TITLE:=Support for connecting meshes via tunneldigger/L2TPv3 pseudowire
|
||||
DEPENDS:=+gluon-core +gluon-mesh-vpn-core +tunneldigger
|
||||
TITLE:=Support for connecting meshes via tunneldigger/L2TPv3 pseudowire
|
||||
DEPENDS:=+gluon-core +gluon-mesh-vpn-core +tunneldigger
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-tunneldigger))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mesh-vpn-wireguard
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-vpn-wireguard
|
||||
TITLE:=Support for connecting meshes via wireguard
|
||||
DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +wireguard-tools +wgpeerselector +libubus
|
||||
TITLE:=Support for connecting meshes via wireguard
|
||||
DEPENDS:=+gluon-core +libgluonutil +gluon-mesh-vpn-core +wireguard-tools +wgpeerselector +libubus
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-vpn-wireguard))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mesh-wireless-sae
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mesh-wireless-sae
|
||||
TITLE:=Encryption of 802.11s Mesh Links through SAE
|
||||
DEPENDS:=+gluon-core +wpa-supplicant-mesh-wolfssl
|
||||
TITLE:=Encryption of 802.11s Mesh Links through SAE
|
||||
DEPENDS:=+gluon-core +wpa-supplicant-mesh-wolfssl
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mesh-wireless-sae))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-mmfd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-mmfd
|
||||
TITLE:=Mesh multicast forwarding daemon - Gluon integration
|
||||
DEPENDS:=+mmfd +uc +gluon-core
|
||||
TITLE:=Mesh multicast forwarding daemon - Gluon integration
|
||||
DEPENDS:=+mmfd +uc +gluon-core
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-mmfd))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-neighbour-info
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-neighbour-info
|
||||
TITLE:=neighbour-info
|
||||
DEPENDS:=
|
||||
TITLE:=neighbour-info
|
||||
DEPENDS:=
|
||||
endef
|
||||
|
||||
define Package/gluon-neighbour-info/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-node-info
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-node-info
|
||||
TITLE:=Add /etc/config/gluon-node-info to uci
|
||||
DEPENDS:=+gluon-core +libgluonutil
|
||||
TITLE:=Add /etc/config/gluon-node-info to uci
|
||||
DEPENDS:=+gluon-core +libgluonutil
|
||||
endef
|
||||
|
||||
define Package/gluon-node-info/conffiles
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-private-wifi
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-private-wifi
|
||||
TITLE:=Provides a virtual access point for the nodes WAN network
|
||||
DEPENDS:=+gluon-core
|
||||
TITLE:=Provides a virtual access point for the nodes WAN network
|
||||
DEPENDS:=+gluon-core
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-private-wifi))
|
||||
|
@ -5,13 +5,13 @@ PKG_NAME:=gluon-radv-filterd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-radv-filterd
|
||||
TITLE:=Filter IPv6 router advertisements
|
||||
DEPENDS:=+gluon-ebtables +libgluonutil +libbatadv +libnl-tiny
|
||||
TITLE:=Filter IPv6 router advertisements
|
||||
DEPENDS:=+gluon-ebtables +libgluonutil +libbatadv +libnl-tiny
|
||||
endef
|
||||
|
||||
MAKE_VARS += \
|
||||
LIBNL_NAME="libnl-tiny" \
|
||||
LIBNL_GENL_NAME="libnl-tiny"
|
||||
LIBNL_NAME="libnl-tiny" \
|
||||
LIBNL_GENL_NAME="libnl-tiny"
|
||||
|
||||
define Package/gluon-radv-filterd/install
|
||||
$(Gluon/Build/Install)
|
||||
|
@ -3,41 +3,41 @@ all: gluon-radv-filterd respondd.so
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
|
||||
ifeq ($(origin PKG_CONFIG), undefined)
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin LIBNL_CFLAGS) $(origin LIBNL_LDLIBS), undefined undefined)
|
||||
LIBNL_NAME ?= libnl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
LIBNL_NAME ?= libnl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_LDLIBS)
|
||||
|
||||
ifeq ($(origin LIBNL_GENL_CFLAGS) $(origin LIBNL_GENL_LDLIBS), undefined undefined)
|
||||
LIBNL_GENL_NAME ?= libnl-genl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_GENL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_GENL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_GENL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_NAME ?= libnl-genl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_GENL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_GENL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_GENL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_GENL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_GENL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_GENL_LDLIBS)
|
||||
|
||||
ifeq ($(origin LIBBATADV_CFLAGS) $(origin LIBBATADV_LDLIBS), undefined undefined)
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBBATADV_CFLAGS)
|
||||
LDLIBS += $(LIBBATADV_LDLIBS)
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-radvd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-radvd
|
||||
TITLE:=Advertise an IPv6 prefix from the node
|
||||
DEPENDS:=+gluon-core +uradvd
|
||||
TITLE:=Advertise an IPv6 prefix from the node
|
||||
DEPENDS:=+gluon-core +uradvd
|
||||
endef
|
||||
|
||||
define Package/gluon-radvd/description
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-respondd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-respondd
|
||||
TITLE:=Provides node information to the network
|
||||
DEPENDS:=+gluon-core +libplatforminfo +libgluonutil +libuci +ubus +respondd
|
||||
TITLE:=Provides node information to the network
|
||||
DEPENDS:=+gluon-core +libplatforminfo +libgluonutil +libuci +ubus +respondd
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-respondd))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-scheduled-domain-switch
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-scheduled-domain-switch
|
||||
TITLE:=Allows scheduled migrations between domains
|
||||
DEPENDS:=+gluon-core @GLUON_MULTIDOMAIN
|
||||
TITLE:=Allows scheduled migrations between domains
|
||||
DEPENDS:=+gluon-core @GLUON_MULTIDOMAIN
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-scheduled-domain-switch))
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-setup-mode
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-setup-mode
|
||||
TITLE:=Setup mode
|
||||
DEPENDS:=+gluon-core +gluon-lock-password +ubus +dnsmasq
|
||||
TITLE:=Setup mode
|
||||
DEPENDS:=+gluon-core +gluon-lock-password +ubus +dnsmasq
|
||||
endef
|
||||
|
||||
define Package/gluon-setup-mode/description
|
||||
|
@ -13,7 +13,7 @@ include ../gluon.mk
|
||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||
|
||||
define Package/gluon-site
|
||||
TITLE:=Site-specific files of Gluon
|
||||
TITLE:=Site-specific files of Gluon
|
||||
endef
|
||||
|
||||
define Package/gluon-site/config
|
||||
@ -46,7 +46,7 @@ endef
|
||||
define Build/Compile
|
||||
$(call GenerateJSON,site)
|
||||
|
||||
ifdef CONFIG_GLUON_MULTIDOMAIN
|
||||
ifdef CONFIG_GLUON_MULTIDOMAIN
|
||||
rm -rf $(PKG_BUILD_DIR)/domains
|
||||
mkdir -p $(PKG_BUILD_DIR)/domains
|
||||
$(foreach domain,$(patsubst $(GLUON_SITEDIR)/domains/%.conf,%,$(wildcard $(GLUON_SITEDIR)/domains/*.conf)),
|
||||
@ -71,7 +71,7 @@ define Build/Compile
|
||||
fi; \
|
||||
done
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(call GluonBuildI18N,$(GLUON_SITEDIR)/i18n)
|
||||
endef
|
||||
@ -80,9 +80,9 @@ define Package/gluon-site/install
|
||||
$(INSTALL_DIR) $(1)/lib/gluon
|
||||
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/site.json $(1)/lib/gluon/
|
||||
ifdef CONFIG_GLUON_MULTIDOMAIN
|
||||
ifdef CONFIG_GLUON_MULTIDOMAIN
|
||||
$(CP) $(PKG_BUILD_DIR)/domains $(1)/lib/gluon/
|
||||
endif
|
||||
endif
|
||||
|
||||
echo '$(call qstrip,$(CONFIG_GLUON_SITE_VERSION))' > $(1)/lib/gluon/site-version
|
||||
echo '$(call qstrip,$(CONFIG_GLUON_RELEASE))' > $(1)/lib/gluon/release
|
||||
|
@ -5,23 +5,23 @@ PKG_NAME:=gluon-state-check
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-state-check
|
||||
TITLE:=Provides info about the routers state
|
||||
DEPENDS:=+gluon-core +micrond
|
||||
TITLE:=Provides info about the routers state
|
||||
DEPENDS:=+gluon-core +micrond
|
||||
endef
|
||||
|
||||
define Package/gluon-state-check/description
|
||||
gluon-state-check executes checks in `/lib/gluon/state/check.d/` and provides
|
||||
a flag file for each check in `/var/gluon/state` depending on the return code
|
||||
of the check. A flag file is created (or "touched") if the corresponding check
|
||||
exits cleanly and gets removed otherwise. If the flags are "touched", they
|
||||
are only accessed, but not modified. In this way, the atime of a flag file
|
||||
reflects when the last check was performed and the mtime reflects when
|
||||
when the state was last changed.
|
||||
gluon-state-check executes checks in `/lib/gluon/state/check.d/` and provides
|
||||
a flag file for each check in `/var/gluon/state` depending on the return code
|
||||
of the check. A flag file is created (or "touched") if the corresponding check
|
||||
exits cleanly and gets removed otherwise. If the flags are "touched", they
|
||||
are only accessed, but not modified. In this way, the atime of a flag file
|
||||
reflects when the last check was performed and the mtime reflects when
|
||||
when the state was last changed.
|
||||
|
||||
This package provides the following checks:
|
||||
- `has_default_gw6` - check whether the router has a default IPv6-route on br-client.
|
||||
This package provides the following checks:
|
||||
- `has_default_gw6` - check whether the router has a default IPv6-route on br-client.
|
||||
|
||||
The checks are executed once every minute (by micron.d).
|
||||
The checks are executed once every minute (by micron.d).
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-state-check))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-status-page-mesh-batman-adv
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-status-page-mesh-batman-adv
|
||||
TITLE:=Batman-data provider for gluon-status-page
|
||||
DEPENDS:=+gluon-status-page gluon-mesh-batman-adv +libnl-tiny +libbatadv +libjson-c
|
||||
TITLE:=Batman-data provider for gluon-status-page
|
||||
DEPENDS:=+gluon-status-page gluon-mesh-batman-adv +libnl-tiny +libbatadv +libjson-c
|
||||
endef
|
||||
|
||||
define Package/gluon-status-page-mesh-batman-adv/install
|
||||
|
@ -3,19 +3,19 @@ all: neighbours-batadv
|
||||
CFLAGS += -Wall -D_GNU_SOURCE
|
||||
|
||||
ifeq ($(origin PKG_CONFIG), undefined)
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin LIBNL_CFLAGS) $(origin LIBNL_LDLIBS), undefined undefined)
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_LDLIBS)
|
||||
@ -25,12 +25,12 @@ LDFLAGS_JSONC = $(shell pkg-config --libs json-c)
|
||||
|
||||
|
||||
ifeq ($(origin LIBBATADV_CFLAGS) $(origin LIBBATADV_LDLIBS), undefined undefined)
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
LIBBATADV_NAME ?= libbatadv
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBBATADV_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBBATADV_NAME) development libraries found!)
|
||||
endif
|
||||
LIBBATADV_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBBATADV_NAME))
|
||||
LIBBATADV_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBBATADV_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBBATADV_CFLAGS)
|
||||
LDLIBS += $(LIBBATADV_LDLIBS)
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-status-page
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-status-page
|
||||
TITLE:=Status page showing information about the node
|
||||
DEPENDS:=+gluon-web +gluon-neighbour-info +gluon-respondd +uhttpd +sse-multiplex +libiwinfo +libjson-c +libnl-tiny +libubus-lua
|
||||
TITLE:=Status page showing information about the node
|
||||
DEPENDS:=+gluon-web +gluon-neighbour-info +gluon-respondd +uhttpd +sse-multiplex +libiwinfo +libjson-c +libnl-tiny +libubus-lua
|
||||
endef
|
||||
|
||||
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
||||
|
@ -2,19 +2,19 @@ CFLAGS += -std=c99 -D_BSD_SOURCE
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
|
||||
ifeq ($(origin PKG_CONFIG), undefined)
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin LIBNL_CFLAGS) $(origin LIBNL_LDLIBS), undefined undefined)
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
LIBNL_NAME ?= libnl-tiny
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
endif
|
||||
|
||||
CFLAGS_JSONC = $(shell pkg-config --cflags json-c)
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-wan-dnsmasq
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-wan-dnsmasq
|
||||
TITLE:=Support for a secondary DNS server using the WAN interface
|
||||
DEPENDS:=+gluon-core +libubus-lua +dnsmasq +libpacketmark
|
||||
TITLE:=Support for a secondary DNS server using the WAN interface
|
||||
DEPENDS:=+gluon-core +libubus-lua +dnsmasq +libpacketmark
|
||||
endef
|
||||
|
||||
define Package/gluon-wan-dnsmasq/description
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-web-admin
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-admin
|
||||
TITLE:=Web-based simple administration interface for mesh nodes
|
||||
DEPENDS:=+gluon-config-mode-core +pretty-hostname
|
||||
TITLE:=Web-based simple administration interface for mesh nodes
|
||||
DEPENDS:=+gluon-config-mode-core +pretty-hostname
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-admin))
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-web-autoupdater
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-autoupdater
|
||||
TITLE:=gluon-web module for gluon-autoupdater
|
||||
DEPENDS:=+gluon-web-admin +gluon-autoupdater
|
||||
TITLE:=gluon-web module for gluon-autoupdater
|
||||
DEPENDS:=+gluon-web-admin +gluon-autoupdater
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-autoupdater))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-logging
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-logging
|
||||
DEPENDS:=+gluon-web-admin
|
||||
TITLE:=UI for remote syslog configuration
|
||||
DEPENDS:=+gluon-web-admin
|
||||
TITLE:=UI for remote syslog configuration
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-logging))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-mesh-vpn-fastd
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-mesh-vpn-fastd
|
||||
TITLE:=gluon-web module to enable and disable encryption for the mesh VPN
|
||||
DEPENDS:=+gluon-web-admin +gluon-mesh-vpn-fastd
|
||||
TITLE:=gluon-web module to enable and disable encryption for the mesh VPN
|
||||
DEPENDS:=+gluon-web-admin +gluon-mesh-vpn-fastd
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-mesh-vpn-fastd))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-model
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-model
|
||||
TITLE:=Minimal Lua web framework derived from LuCI (model support)
|
||||
DEPENDS:=+gluon-web
|
||||
TITLE:=Minimal Lua web framework derived from LuCI (model support)
|
||||
DEPENDS:=+gluon-web
|
||||
endef
|
||||
|
||||
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
||||
|
@ -8,8 +8,8 @@ PKG_NAME:=gluon-web-network
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-network
|
||||
TITLE:=gluon-web module for network port configuration
|
||||
DEPENDS:=+gluon-web-admin +gluon-client-bridge
|
||||
TITLE:=gluon-web module for network port configuration
|
||||
DEPENDS:=+gluon-web-admin +gluon-client-bridge
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-network))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-node-role
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-node-role
|
||||
DEPENDS:=+gluon-web-admin +gluon-node-info
|
||||
TITLE:=UI for specifying node role
|
||||
DEPENDS:=+gluon-web-admin +gluon-node-info
|
||||
TITLE:=UI for specifying node role
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-node-role))
|
||||
|
@ -5,7 +5,7 @@ PKG_NAME:=gluon-web-osm
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-osm
|
||||
TITLE:=base src for OSM inlay
|
||||
TITLE:=base src for OSM inlay
|
||||
endef
|
||||
|
||||
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-private-wifi
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-private-wifi
|
||||
DEPENDS:=+gluon-web-admin +gluon-private-wifi
|
||||
TITLE:=UI for activating a private WLAN
|
||||
DEPENDS:=+gluon-web-admin +gluon-private-wifi
|
||||
TITLE:=UI for activating a private WLAN
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-private-wifi))
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-web-wifi-config
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-web-wifi-config
|
||||
DEPENDS:=+gluon-web-admin +libiwinfo-lua
|
||||
TITLE:=UI for Wifi Settings
|
||||
DEPENDS:=+gluon-web-admin +libiwinfo-lua
|
||||
TITLE:=UI for Wifi Settings
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackageGluon,gluon-web-wifi-config))
|
||||
|
@ -8,8 +8,8 @@ include ../gluon.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
define Package/gluon-web
|
||||
TITLE:=Minimal Lua web framework derived from LuCI
|
||||
DEPENDS:=+lua-jsonc +luaposix
|
||||
TITLE:=Minimal Lua web framework derived from LuCI
|
||||
DEPENDS:=+lua-jsonc +luaposix
|
||||
endef
|
||||
|
||||
define lang-config
|
||||
|
@ -5,8 +5,8 @@ PKG_NAME:=gluon-wireless-encryption
|
||||
include ../gluon.mk
|
||||
|
||||
define Package/gluon-wireless-encryption-wpa3
|
||||
DEPENDS:=+hostapd-wolfssl
|
||||
TITLE:=Package for supporting WPA3 encrypted wireless networks
|
||||
DEPENDS:=+hostapd-wolfssl
|
||||
TITLE:=Package for supporting WPA3 encrypted wireless networks
|
||||
endef
|
||||
|
||||
define Package/gluon-wireless-encryption-wpa3/install
|
||||
|
@ -6,11 +6,11 @@ PKG_VERSION ?= 1
|
||||
PKG_BUILD_DEPENDS += luasrcdiet/host
|
||||
|
||||
ifneq ($(wildcard ./luasrc/.),)
|
||||
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
||||
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard ./src/respondd.c),)
|
||||
PKG_BUILD_DEPENDS += respondd
|
||||
PKG_BUILD_DEPENDS += respondd
|
||||
endif
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@ -37,8 +37,8 @@ GLUON_I18N_CONFIG := $(foreach lang,$(GLUON_SUPPORTED_LANGS),CONFIG_GLUON_WEB_LA
|
||||
GLUON_ENABLED_LANGS := en $(foreach lang,$(GLUON_SUPPORTED_LANGS),$(if $(CONFIG_GLUON_WEB_LANG_$(lang)),$(lang)))
|
||||
|
||||
ifneq ($(wildcard ./i18n/.),)
|
||||
PKG_BUILD_DEPENDS += gluon-web/host
|
||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||
PKG_BUILD_DEPENDS += gluon-web/host
|
||||
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||
endif
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ endef
|
||||
define GluonSrcDiet
|
||||
rm -rf $(2)
|
||||
$(CP) $(1) $(2)
|
||||
ifdef CONFIG_GLUON_MINIFY
|
||||
ifdef CONFIG_GLUON_MINIFY
|
||||
# Use cp + rm instead of mv to preserve destination permissions
|
||||
set -e; $(FIND) $(2) -type f | while read src; do \
|
||||
echo "Minifying $$$$src..."; \
|
||||
@ -72,7 +72,7 @@ define GluonSrcDiet
|
||||
cp "$$$$src.tmp" "$$$$src"; \
|
||||
rm "$$$$src.tmp"; \
|
||||
done
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
|
||||
@ -110,20 +110,20 @@ endef
|
||||
Build/Compile=$(call Gluon/Build/Compile)
|
||||
|
||||
define BuildPackageGluon
|
||||
define Package/$(1) :=
|
||||
SECTION:=gluon
|
||||
CATEGORY:=Gluon
|
||||
$$(Package/$(1))
|
||||
endef
|
||||
define Package/$(1) :=
|
||||
SECTION:=gluon
|
||||
CATEGORY:=Gluon
|
||||
$$(Package/$(1))
|
||||
endef
|
||||
|
||||
Package/$(1)/install ?= $$(Gluon/Build/Install)
|
||||
Package/$(1)/install ?= $$(Gluon/Build/Install)
|
||||
|
||||
ifneq ($(wildcard check_site.lua),)
|
||||
define Package/$(1)/postinst
|
||||
ifneq ($(wildcard check_site.lua),)
|
||||
define Package/$(1)/postinst
|
||||
#!/bin/sh
|
||||
$$(call GluonCheckSite,check_site.lua)
|
||||
endef
|
||||
endif
|
||||
endef
|
||||
endif
|
||||
|
||||
$$(eval $$(call BuildPackage,$(1)))
|
||||
$$(eval $$(call BuildPackage,$(1)))
|
||||
endef
|
||||
|
@ -33,10 +33,10 @@ PKG_INSTALL:=1
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libbatadv
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=batman-adv helpers functions
|
||||
DEPENDS:=+libnl-tiny
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=batman-adv helpers functions
|
||||
DEPENDS:=+libnl-tiny
|
||||
endef
|
||||
|
||||
|
||||
@ -44,8 +44,8 @@ TARGET_CFLAGS += -flto -ffunction-sections -fdata-sections
|
||||
TARGET_LDFLAGS += -fuse-linker-plugin -Wl,--gc-sections
|
||||
|
||||
MAKE_VARS += \
|
||||
LIBNL_NAME="libnl-tiny" \
|
||||
LIBNL_GENL_NAME="libnl-tiny"
|
||||
LIBNL_NAME="libnl-tiny" \
|
||||
LIBNL_GENL_NAME="libnl-tiny"
|
||||
|
||||
MAKE_ARGS += \
|
||||
PREFIX=/usr
|
||||
|
@ -50,30 +50,30 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin PKG_CONFIG), undefined)
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
PKG_CONFIG = pkg-config
|
||||
ifeq ($(shell which $(PKG_CONFIG) 2>/dev/null),)
|
||||
$(error $(PKG_CONFIG) not found)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(origin LIBNL_CFLAGS) $(origin LIBNL_LDLIBS), undefined undefined)
|
||||
LIBNL_NAME ?= libnl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
LIBNL_NAME ?= libnl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_NAME))
|
||||
LIBNL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_LDLIBS)
|
||||
|
||||
ifeq ($(origin LIBNL_GENL_CFLAGS) $(origin LIBNL_GENL_LDLIBS), undefined undefined)
|
||||
LIBNL_GENL_NAME ?= libnl-genl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_GENL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_GENL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_GENL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_NAME ?= libnl-genl-3.0
|
||||
ifeq ($(shell $(PKG_CONFIG) --modversion $(LIBNL_GENL_NAME) 2>/dev/null),)
|
||||
$(error No $(LIBNL_GENL_NAME) development libraries found!)
|
||||
endif
|
||||
LIBNL_GENL_CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBNL_GENL_NAME))
|
||||
LIBNL_GENL_LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBNL_GENL_NAME))
|
||||
endif
|
||||
CFLAGS += $(LIBNL_GENL_CFLAGS)
|
||||
LDLIBS += $(LIBNL_GENL_LDLIBS)
|
||||
|
@ -10,10 +10,10 @@ include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/libgluonutil
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=Gluon utility library
|
||||
DEPENDS:=+libjson-c +libuci
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
TITLE:=Gluon utility library
|
||||
DEPENDS:=+libjson-c +libuci
|
||||
endef
|
||||
|
||||
define Package/libgluonutil/install
|
||||
|
Loading…
Reference in New Issue
Block a user