banip: make reproducible 17829/head
authorRosen Penev <rosenp@gmail.com>
Tue, 8 Feb 2022 06:02:26 +0000 (22:02 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 8 Feb 2022 06:02:26 +0000 (22:02 -0800)
Timestamp needs to be removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/banip/Makefile

index c210c96a53ce4b6b3c41f9c28002f8d3338b5213..109b96bcaddfc6aa43f80da85c869b04d9916397 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=banip
 PKG_VERSION:=0.7.10
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
@@ -63,7 +63,7 @@ define Package/banip/install
        $(INSTALL_CONF) ./files/banip.whitelist $(1)/etc/banip
        $(INSTALL_CONF) ./files/banip.countries $(1)/etc/banip
        $(INSTALL_CONF) ./files/banip.sources $(1)/etc/banip
-       gzip -9 $(1)/etc/banip/banip.sources
+       gzip -9n $(1)/etc/banip/banip.sources
 
        $(INSTALL_DIR) $(1)/etc/hotplug.d/firewall
        $(INSTALL_DATA) ./files/banip.hotplug $(1)/etc/hotplug.d/firewall/30-banip