Merge pull request #11216 from dibdot/19.07-2
[19.07] adblock: update 3.8.15
This commit is contained in:
commit
24c1ebc2bd
4 changed files with 12 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=adblock
|
||||
PKG_VERSION:=3.8.14
|
||||
PKG_VERSION:=3.8.15
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
||||
|
|
|
@ -61,6 +61,12 @@ config source 'malwarelist'
|
|||
option adb_src_desc 'focus on malware, daily updates, approx. 1.200 entries'
|
||||
option enabled '0'
|
||||
|
||||
config source 'notracking'
|
||||
option adb_src 'https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt'
|
||||
option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
|
||||
option adb_src_desc 'notrack domains, daily updates, approx. 60.000 entries'
|
||||
option enabled '0'
|
||||
|
||||
config source 'openphish'
|
||||
option adb_src 'https://openphish.com/feed.txt'
|
||||
option adb_src_rset 'BEGIN{FS=\"/\"}/^http[s]?:\/\/([[:alnum:]_-]+\.)+[[:alpha:]]+(\/|$)/{print tolower(\$3)}'
|
||||
|
@ -73,12 +79,6 @@ config source 'reg_cn'
|
|||
option adb_src_desc 'focus on chinese ads plus generic easylist additions, daily updates, approx. 11.700 entries'
|
||||
option enabled '0'
|
||||
|
||||
config source 'reg_cz'
|
||||
option adb_src 'https://raw.githubusercontent.com/qxstyles/turris-hole-czech-block-list/master/turris-hole-czech-block-list'
|
||||
option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}'
|
||||
option adb_src_desc 'focus on czech ads maintained by Turris Omnia Users, infrequent updates, approx. 100 entries'
|
||||
option enabled '0'
|
||||
|
||||
config source 'reg_de'
|
||||
option adb_src 'https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt'
|
||||
option adb_src_rset 'BEGIN{FS=\"[|^]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+\^("\\\$third-party")?$/{print tolower(\$3)}'
|
||||
|
|
|
@ -4,11 +4,12 @@
|
|||
START=30
|
||||
USE_PROCD=1
|
||||
|
||||
EXTRA_COMMANDS="suspend resume query report"
|
||||
EXTRA_COMMANDS="suspend resume query report status"
|
||||
EXTRA_HELP=" suspend Suspend adblock processing
|
||||
resume Resume adblock processing
|
||||
query <DOMAIN> Query active blocklists for specific domains
|
||||
report <SEARCH> Print dns query statistics with an optional search parameter"
|
||||
report <SEARCH> Print dns query statistics with an optional search parameter
|
||||
status Service status"
|
||||
|
||||
adb_init="/etc/init.d/adblock"
|
||||
adb_script="/usr/bin/adblock.sh"
|
||||
|
@ -83,7 +84,7 @@ report()
|
|||
rc_procd "${adb_script}" report "${1:-"+"}" "${2:-"50"}" "${3:-"false"}" "${4:-"true"}"
|
||||
}
|
||||
|
||||
status_service()
|
||||
status()
|
||||
{
|
||||
local key keylist value
|
||||
local rtfile="$(uci_get adblock extra adb_rtfile "/tmp/adb_runtime.json")"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#
|
||||
LC_ALL=C
|
||||
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
adb_ver="3.8.14"
|
||||
adb_ver="3.8.15"
|
||||
adb_basever=""
|
||||
adb_enabled=0
|
||||
adb_debug=0
|
||||
|
|
Loading…
Reference in a new issue