commit: 5ec4f783e19a167a9fb40e71b132fc510b040958 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Sat Jan 15 12:42:05 2022 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Sat Jan 15 12:42:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec4f783
net-nds/gssproxy: create clients dir too, secure permissions Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> net-nds/gssproxy/files/gssproxy | 3 ++- .../gssproxy/{gssproxy-0.8.4-r1.ebuild => gssproxy-0.8.4-r2.ebuild} | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 similarity index 96% rename from net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild rename to 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