aboutsummaryrefslogtreecommitdiffstats
path: root/main/dansguardian/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dansguardian/APKBUILD')
-rw-r--r--main/dansguardian/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD
index 1d51dcab92..6de06f052c 100644
--- a/main/dansguardian/APKBUILD
+++ b/main/dansguardian/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dansguardian
pkgver=2.12.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="Web content filter"
url="http://dansguardian.org"
arch="all"
@@ -29,8 +29,12 @@ prepare() {
esac
done
# do not block "microsoft...clustimg=..." and similar
- sed -i -e 's:\.\*:.{1,10}:g' configs/lists/bannedregexpurllist
+ sed -i -e 's:\.\*:.{1,10}:g' configs/lists/bannedregexpurllist \
+ || return 1
+ # bind to 127.0.0.1 by default
+ sed -i -e 's:^filterip =.*:filterip = 127.0.0.1:' \
+ configs/dansguardian.conf.in || return 1
}
build() {