adblock: fix adguard source
authorDirk Brenken <dev@brenken.org>
Sat, 10 Nov 2018 16:39:08 +0000 (17:39 +0100)
committerDirk Brenken <dev@brenken.org>
Sat, 10 Nov 2018 16:39:08 +0000 (17:39 +0100)
* fix regex for adguard blocklist source

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

index 88b6e5d752fd60d8249efcc7a41dec15a8b9138f..f942af40cdb0ee5490cafd1b3957726906d7bf91 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock
 PKG_VERSION:=3.5.5
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=GPL-3.0+
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index c68b82cb6f235734776992059aded3dc753f289d..49ca1bce754f627b7442421062d5d915a6e32100 100644 (file)
@@ -22,7 +22,7 @@ config source 'adaway'
 
 config source 'adguard'
        option adb_src 'https://filters.adtidy.org/windows/filters/15.txt'
-       option adb_src_rset 'BEGIN{FS=\"[/|^|\r]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+([\/\^\r]|$)/{print tolower(\$3)}'
+       option adb_src_rset 'BEGIN{FS=\"[/|^|\r]\"}/^\|\|([[:alnum:]_-]+\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower(\$3)}'
        option adb_src_desc 'combined adguard dns filter list, frequent updates, approx. 17.000 entries'
        option enabled '0'