summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/dansguardian/APKBUILD7
-rw-r--r--main/dansguardian/dansguardian.post-install5
2 files changed, 9 insertions, 3 deletions
diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD
index 24c50a63..7004afb2 100644
--- a/main/dansguardian/APKBUILD
+++ b/main/dansguardian/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dansguardian
pkgver=2.10.0.3
-pkgrel=3
+pkgrel=4
pkgdesc="Web content filter"
url="http://dansguardian.org"
license="GPL"
depends=
makedepends="zlib-dev uclibc++-dev pcre-dev pkgconfig libiconv-dev"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://dansguardian.org/downloads/2/Stable/$pkgname-$pkgver.tar.gz
dansguardian.initd
@@ -36,4 +36,5 @@ build() {
md5sums="68c8e9a97a3b58d2467a19cb15db5599 dansguardian-2.10.0.3.tar.gz
0c04f74cd5db9fc7a8e80b407ec34214 dansguardian.initd
-ab4e1104633aad0595a8b530fceb810a dansguardian.pre-install"
+ab4e1104633aad0595a8b530fceb810a dansguardian.pre-install
+e3dcc0f51e44f15a2ff152ac338999d1 dansguardian.post-install"
diff --git a/main/dansguardian/dansguardian.post-install b/main/dansguardian/dansguardian.post-install
new file mode 100644
index 00000000..8d7feafb
--- /dev/null
+++ b/main/dansguardian/dansguardian.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+chown dansguar:dansguar var/log/dansguardian
+exit 0
+