diff options
author | Dirk Brenken <dev@brenken.org> | 2022-10-24 12:34:12 +0200 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2022-10-24 12:34:12 +0200 |
commit | e90b4c01e1619ce4adf16abb9f63c772b44fefe9 (patch) | |
tree | 2cc7080ffe093b92175aefbd9c9388e6f38cef95 | |
parent | 17badaee1c630db3cf2c05b7fe903d2f225cece7 (diff) |
adblock: update 4.1.5-4
* fixed broken oisd regex
Signed-off-by: Dirk Brenken <dev@brenken.org>
-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" |