From: Stan Grishin Date: Fri, 17 Jul 2026 18:21:04 +0000 (+0000) Subject: adblock-fast: update to 1.2.4-4 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b9f1de40dc1f716b94e40383458e192c040619bc;p=openwrt-packages.git adblock-fast: update to 1.2.4-4 Maintainer: me Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4 Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4 Description: Update to PKG_RELEASE 4 - Bump PKG_RELEASE from 2 to 4. - Add PKG_CPE_ID. files/lib/adblock-fast/adblock-fast.uc: - Adjust logic for determining the gzip cache path to align with the new 'compressed_cache' option. - Remove dependency on 'compressed_cache_dir' for gzip path construction. - Update gzip path calculation in 'get_init_status' to use the new 'compressed_cache' option. Signed-off-by: Stan Grishin --- diff --git a/net/adblock-fast/Makefile b/net/adblock-fast/Makefile index 01d58c0fe..8b3f12549 100644 --- a/net/adblock-fast/Makefile +++ b/net/adblock-fast/Makefile @@ -5,7 +5,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock-fast PKG_VERSION:=1.2.4 -PKG_RELEASE:=2 +PKG_RELEASE:=4 +PKG_CPE_ID:=cpe:/a:mossdef:adblock-fast PKG_MAINTAINER:=Stan Grishin PKG_LICENSE:=AGPL-3.0-or-later diff --git a/net/adblock-fast/files/lib/adblock-fast/adblock-fast.uc b/net/adblock-fast/files/lib/adblock-fast/adblock-fast.uc index 2309cb519..55cfd30bf 100644 --- a/net/adblock-fast/files/lib/adblock-fast/adblock-fast.uc +++ b/net/adblock-fast/files/lib/adblock-fast/adblock-fast.uc @@ -2224,8 +2224,8 @@ function _build_procd_data() { result.outputFile = dns_output.file; result.outputCache = dns_output.cache; - let gzip_path = cfg.compressed_cache_dir - ? cfg.compressed_cache_dir + '/' + dns_output.gzip + let gzip_path = cfg.compressed_cache + ? dns_output.gzip : ''; result.outputGzip = gzip_path; @@ -2935,8 +2935,8 @@ function get_init_status(name) { // Gzip path (for live file-existence checks) let gzip_path = svc_data?.outputGzip || ''; - if (!gzip_path && cfg.compressed_cache_dir) - gzip_path = cfg.compressed_cache_dir + '/' + dns_output.gzip; + if (!gzip_path && cfg.compressed_cache) + gzip_path = dns_output.gzip; let result = {}; result[name] = {