From 5c934e5352b6d700d6b3771261d0ad585e95a547 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Wed, 18 Oct 2017 12:50:12 +0200 Subject: [PATCH] adblock: update 3.0.3 * add new list source to default config to block browser-based crypto mining Signed-off-by: Dirk Brenken --- net/adblock/Makefile | 2 +- net/adblock/files/README.md | 2 ++ net/adblock/files/adblock.conf | 6 ++++++ net/adblock/files/adblock.sh | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/net/adblock/Makefile b/net/adblock/Makefile index 2efc54af88..748401b165 100644 --- a/net/adblock/Makefile +++ b/net/adblock/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock -PKG_VERSION:=3.0.2 +PKG_VERSION:=3.0.3 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0+ PKG_MAINTAINER:=Dirk Brenken diff --git a/net/adblock/files/README.md b/net/adblock/files/README.md index 610bad7738..8357813515 100644 --- a/net/adblock/files/README.md +++ b/net/adblock/files/README.md @@ -9,6 +9,8 @@ A lot of people already use adblocker plugins within their desktop browsers, but * => infrequent updates, approx. 400 entries (enabled by default) * [adguard](https://adguard.com) * => numerous updates on the same day, approx. 12.000 entries + * [bitcoin](https://github.com/hoshsadiq/adblock-nocoin-list) + * => infrequent updates, approx. 15 entries * [blacklist]() * => static local blacklist, located by default in '/etc/adblock/adblock.blacklist' * [disconnect](https://disconnect.me) diff --git a/net/adblock/files/adblock.conf b/net/adblock/files/adblock.conf index f6ea48b655..eb9c6bd083 100644 --- a/net/adblock/files/adblock.conf +++ b/net/adblock/files/adblock.conf @@ -26,6 +26,12 @@ config source 'adguard' option adb_src_rset '{FS=\"[|^]\"} \$0 ~/^\|\|([A-Za-z0-9_-]+\.){1,}[A-Za-z]+\^$/{print tolower(\$3)}' option adb_src_desc 'combined adguard dns filter list, approx. 12.000 entries' +config source 'bitcoin' + option enabled '0' + option adb_src 'https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt' + option adb_src_rset '\$0 ~/^0\.0\.0\.0[ \t]+([A-Za-z0-9_-]+\.){1,}[A-Za-z]+/{print tolower(\$2)}' + option adb_src_desc 'focus on malicious bitcoin mining sites, infrequent updates, approx. 15 entries' + config source 'blacklist' option enabled '0' option adb_src '/etc/adblock/adblock.blacklist' diff --git a/net/adblock/files/adblock.sh b/net/adblock/files/adblock.sh index 6eb36fa58c..cd03576178 100755 --- a/net/adblock/files/adblock.sh +++ b/net/adblock/files/adblock.sh @@ -10,7 +10,7 @@ # LC_ALL=C PATH="/usr/sbin:/usr/bin:/sbin:/bin" -adb_ver="3.0.2" +adb_ver="3.0.3" adb_sysver="unknown" adb_enabled=0 adb_debug=0 -- 2.30.2