diff options
-rw-r--r-- | net/adblock/Makefile | 2 | ||||
-rw-r--r-- | net/adblock/files/adblock.sources | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/adblock/Makefile b/net/adblock/Makefile index 603f5a2a2..b8458ca1b 100644 --- a/net/adblock/Makefile +++ b/net/adblock/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock PKG_VERSION:=4.1.5 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> diff --git a/net/adblock/files/adblock.sources b/net/adblock/files/adblock.sources index 4d908249a..8ec10400b 100644 --- a/net/adblock/files/adblock.sources +++ b/net/adblock/files/adblock.sources @@ -134,21 +134,21 @@ }, "oisd_basic": { "url": "https://raw.githubusercontent.com/sjhgvr/oisd/main/dblw_basic.txt", - "rule": "/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}", + "rule": "BEGIN{FS=\"\\\\*.\"}/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}", "size": "L", "focus": "general", "descurl": "https://oisd.nl" }, "oisd_nsfw": { "url": "https://raw.githubusercontent.com/sjhgvr/oisd/main/dblw_nsfw.txt", - "rule": "/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}", + "rule": "BEGIN{FS=\"\\\\*.\"}/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}", "size": "XL", "focus": "general", "descurl": "https://oisd.nl" }, "oisd_full": { "url": "https://raw.githubusercontent.com/sjhgvr/oisd/main/dblw_full.txt", - "rule": "/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}", + "rule": "BEGIN{FS=\"\\\\*.\"}/^\\*\\.([[:alnum:]_-]{1,63}\\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}", "size": "XXL", "focus": "general", "descurl": "https://oisd.nl" |