17370d8462
We must ensure that each node becomes IGMP/MLD querier for its local clients; having only a single querier for the whole mesh is generally unreliable, leading to frequent "IGMP/MLD querier appeared/disappeared" messages from batman-adv and unreliable snooping. In smaller meshes it might be interesting only segment querier domains, but allow membership reports to pass through the mesh, in order to support snooping switches outside the mesh without special configuration. A site.conf switch is provided to control this behaviour. Fixes #1320
43 lines
767 B
Makefile
43 lines
767 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-ebtables
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include ../gluon.mk
|
|
|
|
|
|
define Package/gluon-ebtables
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Ebtables support
|
|
DEPENDS:=+gluon-core +ebtables +kmod-ebtables-ipv4 +kmod-ebtables-ipv6 +kmod-ipt-core
|
|
endef
|
|
|
|
define Package/gluon-ebtables/description
|
|
Gluon community wifi mesh firmware framework: ebtables support
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/gluon-ebtables/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
define Package/gluon-ebtables/postinst
|
|
#!/bin/sh
|
|
$(call GluonCheckSite,check_site.lua)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-ebtables))
|