Commit cde04d0d authored by Natanael Copa's avatar Natanael Copa

main/dansguardian: bind only to 127.0.0.1 by default

parent 36712432
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment