|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=fail2ban |
|
|
PKG_NAME:=fail2ban |
|
|
PKG_VERSION:=0.11.2 |
|
|
PKG_VERSION:=0.11.2 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/fail2ban/fail2ban/tar.gz/$(PKG_VERSION)? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/fail2ban/fail2ban/tar.gz/$(PKG_VERSION)? |
|
@ -46,12 +46,16 @@ define Package/fail2ban/conffiles |
|
|
/etc/config/fail2ban |
|
|
/etc/config/fail2ban |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Py3Package/fail2ban/filespec |
|
|
|
|
|
+|$(PYTHON3_PKG_DIR) |
|
|
|
|
|
-|$(PYTHON3_PKG_DIR)/fail2ban/tests |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
define Py3Package/fail2ban/install |
|
|
define Py3Package/fail2ban/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-server $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-server $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-client $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-client $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-regex $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fail2ban-regex $(1)/usr/bin/ |
|
|
$(LN) /usr/bin/python3 $(1)/usr/bin/fail2ban-python |
|
|
|
|
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
$(INSTALL_DIR) $(1)/etc/config |
|
|
$(INSTALL_CONF) ./files/fail2ban.config $(1)/etc/config/fail2ban |
|
|
$(INSTALL_CONF) ./files/fail2ban.config $(1)/etc/config/fail2ban |
|
|