From: Philip Prindeville Date: Thu, 30 Apr 2020 21:37:59 +0000 (-0600) Subject: xtables-addons: include xt_geoip_fetch utility X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9781ef95cbb8d93b7b41fc27a71026a707dc1646;p=openwrt-packages.git xtables-addons: include xt_geoip_fetch utility It's useful to be able to dump sections of the database by country for scripting or just plain sanity checking. Signed-off-by: Philip Prindeville --- diff --git a/net/xtables-addons/Makefile b/net/xtables-addons/Makefile index 7c29f9de2..ba5315449 100644 --- a/net/xtables-addons/Makefile +++ b/net/xtables-addons/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=xtables-addons PKG_VERSION:=3.13 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_HASH:=893c0c4ea09759cda1ab7e68f1281d125e59270f7b59e446204ce686c6a76d65 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz @@ -144,6 +144,9 @@ define Package/iptgeoip/install $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/xtables-addons/xt_geoip_{build,dl} \ $(1)/usr/lib/xtables-addons/ + $(CP) \ + $(PKG_INSTALL_DIR)/usr/bin/xt_geoip_fetch \ + $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/share/xt_geoip endef