diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-15 04:42:05 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-15 04:42:48 -0800 |
commit | 5ec4f783e19a167a9fb40e71b132fc510b040958 (patch) | |
tree | 53c7105390860dc209252c33179c21a8f87dd60b /net-nds/gssproxy | |
parent | x11-misc/xaos: fix the BDEPEND (diff) | |
download | gentoo-5ec4f783e19a167a9fb40e71b132fc510b040958.tar.gz gentoo-5ec4f783e19a167a9fb40e71b132fc510b040958.tar.bz2 gentoo-5ec4f783e19a167a9fb40e71b132fc510b040958.zip |
net-nds/gssproxy: create clients dir too, secure permissions
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-nds/gssproxy')
-rw-r--r-- | net-nds/gssproxy/files/gssproxy | 3 | ||||
-rw-r--r-- | net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild (renamed from net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild) | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/net-nds/gssproxy/files/gssproxy b/net-nds/gssproxy/files/gssproxy index 34e4983b384f..83c594402258 100644 --- a/net-nds/gssproxy/files/gssproxy +++ b/net-nds/gssproxy/files/gssproxy @@ -12,5 +12,6 @@ depend() { start_pre() { checkpath -d -m 0755 /var/lib/gssproxy - checkpath -d -m 0755 /var/lib/gssproxy/rcache + checkpath -d -m 0700 /var/lib/gssproxy/clients + checkpath -d -m 0700 /var/lib/gssproxy/rcache } diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild index df211a14dbf6..cdf4adce1dfb 100644 --- a/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild +++ b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild @@ -82,7 +82,10 @@ src_install() { newins examples/mech gssproxy.conf keepdir /var/lib/gssproxy + keepdir /var/lib/gssproxy/clients keepdir /var/lib/gssproxy/rcache + fperms 0700 /var/lib/gssproxy/clients + fperms 0700 /var/lib/gssproxy/rcache # The build installs a bunch of empty dirs, so prune them. find "${ED}" -depth -type d -empty -delete || die |