diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-06 07:50:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-06 07:50:07 +0000 |
commit | cde04d0d606aaaba3e7a4c285cd8b79c9e9d99c0 (patch) | |
tree | 3025b53a035d7efed315ec81ff6b84744f6438c1 /main/dansguardian/APKBUILD | |
parent | 36712432276b02bb18c815cd02cb2173d7a829f3 (diff) | |
download | aports-cde04d0d606aaaba3e7a4c285cd8b79c9e9d99c0.tar.bz2 aports-cde04d0d606aaaba3e7a4c285cd8b79c9e9d99c0.tar.xz |
main/dansguardian: bind only to 127.0.0.1 by default
Diffstat (limited to 'main/dansguardian/APKBUILD')
-rw-r--r-- | main/dansguardian/APKBUILD | 8 |
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() { |