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 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dansguardian pkgname=dansguardian
pkgver=2.12.0.3 pkgver=2.12.0.3
pkgrel=0 pkgrel=1
pkgdesc="Web content filter" pkgdesc="Web content filter"
url="http://dansguardian.org" url="http://dansguardian.org"
arch="all" arch="all"
...@@ -29,8 +29,12 @@ prepare() { ...@@ -29,8 +29,12 @@ prepare() {
esac esac
done done
# do not block "microsoft...clustimg=..." and similar # 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() { 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