ebtables and firewall rules have been moved to gluon-mesh-batman-adv-core. They'll only be active when site.next_node is set. gluon-next-node is still required in that case. When gluon-mesh-batman-adv-core is selected, this package has a dependency
37 lines
762 B
Makefile
37 lines
762 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-next-node-batman-adv
|
|
PKG_VERSION:=1
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(GLUONDIR)/include/package.mk
|
|
|
|
define Package/gluon-next-node-batman-adv
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Next-node anycast address ebtables filter for batman-adv
|
|
DEPENDS:=+gluon-core +gluon-ebtables +gluon-next-node +gluon-mesh-batman-adv +kmod-macvlan
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/gluon-next-node-batman-adv/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
define Package/gluon-next-node-batman-adv/postinst
|
|
#!/bin/sh
|
|
$(call GluonCheckSite,check_site.lua)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-next-node-batman-adv))
|