banIP: update to 1.0.0-10

* minimal fix to support all download utilities in currently broken apk snapshots
  (see https://github.com/openwrt/openwrt/issues/16907 for details)

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2024-11-16 12:45:12 +01:00
parent 8a0f28c78c
commit 4f00d8f0ee
2 changed files with 3 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=banip PKG_NAME:=banip
PKG_VERSION:=1.0.0 PKG_VERSION:=1.0.0
PKG_RELEASE:=9 PKG_RELEASE:=10
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>

View File

@@ -360,10 +360,8 @@ f_actual() {
f_getfetch() { f_getfetch() {
local item utils insecure update="0" local item utils insecure update="0"
if { [ "${ban_fetchcmd}" = "uclient-fetch" ] && printf "%s" "${ban_packages}" | "${ban_grepcmd}" -q '"libustream-'; } || if [ -n "${ban_fetchcmd}" ]; then
{ [ "${ban_fetchcmd}" = "wget" ] && printf "%s" "${ban_packages}" | "${ban_grepcmd}" -q '"wget-ssl'; } || ban_fetchcmd="$(f_cmd "${ban_fetchcmd}" optional)"
[ "${ban_fetchcmd}" = "curl" ] || [ "${ban_fetchcmd}" = "aria2c" ]; then
ban_fetchcmd="$(f_cmd "${ban_fetchcmd}" "true")"
fi fi
if [ "${ban_autodetect}" = "1" ] && [ ! -x "${ban_fetchcmd}" ]; then if [ "${ban_autodetect}" = "1" ] && [ ! -x "${ban_fetchcmd}" ]; then