commit:     9707d9a39d23383579a965eced0d12b8c6ff3cde
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 03:50:21 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 03:51:23 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9707d9a3

net-misc/openntpd: fixed permissions of NTP_HOME

Gentoo-Bug: 558352

Package-Manager: portage-2.2.20.1

 .../openntpd/{openntpd-5.7_p4-r1.ebuild => openntpd-5.7_p4-r2.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
similarity index 97%
rename from net-misc/openntpd/openntpd-5.7_p4-r1.ebuild
rename to net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 721bf80..227a4fa 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -76,6 +76,9 @@ pkg_postinst() {
                        ewarn "Unable to remove legacy 
${EROOT%/}${NTP_HOME}/etc directory"
        fi
 
+       # Fix permissions on home directory
+       chown root:root "${EROOT%/}${NTP_HOME}" || die
+
        [[ -f ${EROOT}var/log/ntpd.log ]] && \
                ewarn "Logfile '${EROOT}var/log/ntpd.log' might be orphaned, 
please remove it if not in use via syslog."
 

Reply via email to