34 lines
789 B
Makefile
34 lines
789 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-ebtables-source-filter
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=1
|
|
|
|
include ../gluon.mk
|
|
|
|
define Package/gluon-ebtables-source-filter
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
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
|
|
This package adds an additional layer-2 filter-ruleset to prevent unreasonable
|
|
traffic entering the network via the nodes.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/gluon-ebtables-source-filter/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
define Package/gluon-ebtables-source-filter/postinst
|
|
#!/bin/sh
|
|
$(call GluonCheckSite,check_site.lua)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-ebtables-source-filter))
|