summaryrefslogtreecommitdiff
path: root/pcr/opendnssec
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-06-11 12:26:55 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-06-11 12:26:55 -0300
commit9505db13f5db4a7b73d6fe0d6435ed69fb375d80 (patch)
treea266f8e1a251adef211864bfece4bf049f312109 /pcr/opendnssec
parentc6ba94c8ed95924b3f550ac491038fefb0530176 (diff)
opendnssec: secure data dirs
Diffstat (limited to 'pcr/opendnssec')
-rw-r--r--pcr/opendnssec/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/pcr/opendnssec/PKGBUILD b/pcr/opendnssec/PKGBUILD
index 1810d94a1..065a1ec68 100644
--- a/pcr/opendnssec/PKGBUILD
+++ b/pcr/opendnssec/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=opendnssec
pkgver=1.4.0
-pkgrel=2
+pkgrel=3
pkgdesc="Turn-key solution for DNSSEC (sqlite3)"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.opendnssec.org/"
@@ -68,7 +68,10 @@ package() {
install -Dm0644 "enforcer/utils/migrate_adapters_1.sqlite3" \
"${pkgdir}/usr/share/opendnssec"
- chown 227:227 "${pkgdir}/etc/opendnssec" -R
- chown 227:227 "${pkgdir}/var/lib/opendnssec" -R
- chown 227:227 "${pkgdir}/var/run/opendnssec" -R
+ chown -R 227:227 "${pkgdir}/etc/opendnssec" \
+ "${pkgdir}/var/lib/opendnssec" \
+ "${pkgdir}/var/run/opendnssec"
+ chmod 750 "${pkgdir}/etc/opendnssec" \
+ "${pkgdir}/var/lib/opendnssec" \
+ "${pkgdir}/var/run/opendnssec"
}