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 <redacted>
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 <stangri@melmac.ca>
PKG_LICENSE:=AGPL-3.0-or-later
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;
// 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] = {