Browse Source

banip: adapt openwrt rc.common changes

* since openwrt master has merged the depending P/R, the old
extra_help/extra_commands syntax is no longer working, see #13798 for
reference

* removed logd dependency, see #13820 for reference

Signed-off-by: Dirk Brenken <dev@brenken.org>
lilik-openwrt-22.03
Dirk Brenken 4 years ago
parent
commit
14a6971589
2 changed files with 3 additions and 4 deletions
  1. +2
    -2
      net/banip/Makefile
  2. +1
    -2
      net/banip/files/banip.init

+ 2
- 2
net/banip/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=banip
PKG_VERSION:=0.3.12
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
@ -17,7 +17,7 @@ define Package/banip
SECTION:=net
CATEGORY:=Network
TITLE:=Ban incoming and/or outgoing ip adresses via ipsets
DEPENDS:=+jshn +jsonfilter +ip +ipset +iptables +ca-bundle +logd
DEPENDS:=+jshn +jsonfilter +ip +ipset +iptables +ca-bundle
PKGARCH:=all
endef


+ 1
- 2
net/banip/files/banip.init View File

@ -4,8 +4,7 @@
START=30
USE_PROCD=1
EXTRA_COMMANDS="refresh"
EXTRA_HELP=" refresh Refresh ipsets without new list downloads"
extra_command "refresh" "Refresh ipsets without new list downloads"
ban_init="/etc/init.d/banip"
ban_script="/usr/bin/banip.sh"


Loading…
Cancel
Save