aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2020-12-14 10:22:13 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2020-12-14 10:23:32 +0000
commite774bbf783f9ed36deb8287b741ae45ba470205d (patch)
treeaac69edac16f03aa9d440e8a916fc92c9051cd04
parentde9b79740dd55ef7781f075d5ff4c99441ba90b1 (diff)
downloadaports-e774bbf783f9ed36deb8287b741ae45ba470205d.tar.gz
aports-e774bbf783f9ed36deb8287b741ae45ba470205d.tar.bz2
aports-e774bbf783f9ed36deb8287b741ae45ba470205d.tar.xz
community/gvmd: set ownership for application /var dir
-rw-r--r--community/gvmd/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/gvmd/APKBUILD b/community/gvmd/APKBUILD
index 69b03567be..0d423673a1 100644
--- a/community/gvmd/APKBUILD
+++ b/community/gvmd/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gvmd
pkgver=20.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Greenbone Vulnerability Manager"
url="https://www.openvas.org/"
arch="all"
@@ -72,6 +73,7 @@ package() {
done
install -d -o "$pkgusers" -g "$pkggroups" "$pkgdir"/var/lib/gvm/gvmd/gnupg
+ chown -R "$pkgusers":"$pkggroups" "$pkgdir"/var/lib/gvm
# remove Debian init default config file
rm "$pkgdir"/etc/gvm/gvmd