2014-01-10 20:48:43 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-ebtables-filter-ra-dhcp
|
|
|
|
PKG_VERSION:=1
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2016-07-10 18:08:44 +00:00
|
|
|
|
2014-01-10 20:48:43 +00:00
|
|
|
define Package/gluon-ebtables-filter-ra-dhcp
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Ebtables filters for Router Advertisement and DHCP packets
|
2017-07-08 19:23:00 +00:00
|
|
|
DEPENDS:=+gluon-core +gluon-ebtables gluon-mesh-batman-adv
|
2014-01-10 20:48:43 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-filter-ra-dhcp/description
|
|
|
|
Gluon community wifi mesh firmware framework: Ebtables filters for Router Advertisement and DHCP packets
|
|
|
|
|
|
|
|
These filters ensure that RA and DHCP packets are only forwarded from the mesh into the
|
|
|
|
client network, and not vice-versa.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-ebtables-filter-ra-dhcp/install
|
|
|
|
$(CP) ./files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-ebtables-filter-ra-dhcp))
|