/etc/config/fail2ban
endef
+define Build/Compile
+ cd $(PKG_BUILD_DIR) && ./fail2ban-2to3
+ $(call Py3Build/Compile)
+endef
+
define Py3Package/fail2ban/filespec
+|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/fail2ban/tests
$(INSTALL_BIN) ./files/fail2ban.defaults $(1)/etc/uci-defaults/99_fail2ban
endef
-define Py3Build/Compile
- cd $(PKG_BUILD_DIR) && ./fail2ban-2to3
- $(call Py3Build/Compile/Default)
-endef
-
$(eval $(call Py3Package,fail2ban))
$(eval $(call BuildPackage,fail2ban))
$(eval $(call BuildPackage,fail2ban-src))