summaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2014-01-23 22:41:55 +0100
committerbju <bju@maxi.fritz.box>2014-01-23 22:41:55 +0100
commit33ccb4d611d1c99b2957ae37fde2f73e274f004b (patch)
tree702515b422fda46f34f6120324401cdf92788cdf /gentoo
parentb58cae86e52d1f34c8e007e04f2dbc28650d8789 (diff)
downloadvdr-manager-33ccb4d611d1c99b2957ae37fde2f73e274f004b.tar.gz
vdr-manager-33ccb4d611d1c99b2957ae37fde2f73e274f004b.tar.bz2
fixed setting certificate owner and perms in ebuilds
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo/vdr-vdrmanager-0.12.ebuild4
-rw-r--r--gentoo/vdr-vdrmanager-9999.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/gentoo/vdr-vdrmanager-0.12.ebuild b/gentoo/vdr-vdrmanager-0.12.ebuild
index b05c5c8..96804d8 100644
--- a/gentoo/vdr-vdrmanager-0.12.ebuild
+++ b/gentoo/vdr-vdrmanager-0.12.ebuild
@@ -45,8 +45,8 @@ make_vdrmanager_cert() {
install_cert ${VDRMANAGER_SSL_KEY_FILE}
rm -f ${ROOT}${VDRMANAGER_SSL_KEY_FILE}.{crt,csr,key}
- fowners vdr:vdr "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
- fperms 600 "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
+ chown vdr:vdr "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
+ chmod 0600 "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
}
src_prepare() {
diff --git a/gentoo/vdr-vdrmanager-9999.ebuild b/gentoo/vdr-vdrmanager-9999.ebuild
index 632028f..8c275e1 100644
--- a/gentoo/vdr-vdrmanager-9999.ebuild
+++ b/gentoo/vdr-vdrmanager-9999.ebuild
@@ -46,7 +46,7 @@ make_vdrmanager_cert() {
rm -f ${ROOT}${VDRMANAGER_SSL_KEY_FILE}.{crt,csr,key}
chown vdr:vdr "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
- chmod 600 "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
+ chmod 0600 "${ROOT}${VDRMANAGER_SSL_KEY_FILE}.pem"
}
src_unpack() {