adblock: update 4.5.4-3
authorDirk Brenken <redacted>
Sat, 11 Apr 2026 08:48:53 +0000 (10:48 +0200)
committerDirk Brenken <redacted>
Sat, 11 Apr 2026 08:48:53 +0000 (10:48 +0200)
* fixed a problem/regression with the display of results in f_search and f_report

Signed-off-by: Dirk Brenken <redacted>
net/adblock/Makefile
net/adblock/files/adblock.sh

index 7b6063886bc9835cae30b002daa7a9f7c573ecd1..549e97d9ae01ae6d54dc97ec33d1ec422764d6c4 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock
 PKG_VERSION:=4.5.4
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 21248ff3679db8eb17112b6a2c7b68919eb858d9..daa91bddf498c99a91f056c9feb217f35696f715 100755 (executable)
@@ -1468,7 +1468,7 @@ f_search() {
                [ "${res}" != "true" ] && printf '%s\n\n' "  - no match" >>"${tmp_result}"
        fi
        "${adb_mvcmd}" -f "${tmp_result}" "${result}"
-       printf '%s\n' "$(< "${result}")"
+       "${adb_catcmd}" "${result}" 2>>"${adb_errorlog}"
 }
 
 # update runtime information
@@ -2213,7 +2213,7 @@ f_report() {
                                jsn="$("${adb_catcmd}" ${report_jsn} ${map_jsn} 2>>"${adb_errorlog}")"
                                [ -n "${jsn}" ] && printf '[%s]]\n' "${jsn}"
                        else
-                               jsn="$(< "${report_jsn}")" 2>>"${adb_errorlog}"
+                               jsn="$("${adb_catcmd}" "${report_jsn}" 2>>"${adb_errorlog}")"
                                [ -n "${jsn}" ] && printf '[%s]\n' "${jsn}"
                        fi
                        ;;
git clone https://git.99rst.org/PROJECT