adblock: re-release 4.0.1
authorDirk Brenken <dev@brenken.org>
Wed, 1 Apr 2020 03:43:56 +0000 (05:43 +0200)
committerDirk Brenken <dev@brenken.org>
Wed, 1 Apr 2020 03:43:56 +0000 (05:43 +0200)
* fixed an oversight introduced in the last 3.99 pre-release series,
  only relevant for "raw" mode e.g. dnscrypt-proxy users

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

index cce57ec217a95c19b2241420ef0c258cd98e9d46..445c22cd2e0862c2e68ce342217f083967136de5 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock
 PKG_VERSION:=4.0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 8ab369475f0996c58b4bb4a3f8b5f7f6ed8a347b..95d7c80b545032eb460fc97c72ded63755f5ee2f 100755 (executable)
@@ -262,13 +262,13 @@ f_dns()
                esac
        fi
 
-       if [ -z "${adb_dns}" ] || [ ! -x "$(command -v "${adb_dns}")" ]
+       if [ "${adb_dns}" != "raw" ] && { [ -z "${adb_dns}" ] || [ ! -x "$(command -v "${adb_dns}")" ]; }
        then
                f_log "err" "dns backend not found, please set 'adb_dns' manually"
        fi
 
        if [ "${adb_dns}" != "raw" ] && { [ "${adb_dnsdir}" = "${adb_tmpbase}" ] || [ "${adb_dnsdir}" = "${adb_backupdir}" ] || \
-               [ "${adb_dnsdir}" = "${adb_reportdir}" ] || [ "${adb_dnsdir}" = "${adb_jaildir}" ] ; }
+               [ "${adb_dnsdir}" = "${adb_reportdir}" ] || [ "${adb_dnsdir}" = "${adb_jaildir}" ]; }
        then
                f_log "err" "dns directory '${adb_dnsdir}' has been misconfigured, it must not point to the 'adb_tmpbase', 'adb_backupdir', 'adb_reportdir' or 'adb_jaildir'"
        fi