adblock: update 3.0.3 4967/head
authorDirk Brenken <dev@brenken.org>
Wed, 18 Oct 2017 10:50:12 +0000 (12:50 +0200)
committerDirk Brenken <dev@brenken.org>
Wed, 18 Oct 2017 10:50:12 +0000 (12:50 +0200)
* add new list source to default config to block browser-based
  crypto mining

Signed-off-by: Dirk Brenken <dev@brenken.org>
net/adblock/Makefile
net/adblock/files/README.md
net/adblock/files/adblock.conf
net/adblock/files/adblock.sh

index 2efc54af88a874b9851b12a2336c78ab7c032e6b..748401b165dbd165f0c828b76019c597eeaf4862 100644 (file)
@@ -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 <dev@brenken.org>
index 610bad77389399630da850ca02dba12bae88d5e4..83578135151c7d86b20c916eb4298f6fd7f050fa 100644 (file)
@@ -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)
index f6ea48b6559c536fcc7c8ef0f34ef837d9d4c8df..eb9c6bd083b8174c0e76c53f2ed2de57eb708acd 100644 (file)
@@ -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'
index 6eb36fa58cec7a59a505e7304e5341148a0f097d..cd0357617898520076c30f664ec669bae1a2bd80 100755 (executable)
@@ -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