From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1451761-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8BA3B158020
	for <garchives@archives.gentoo.org>; Mon, 31 Oct 2022 00:44:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 833E1E07EE;
	Mon, 31 Oct 2022 00:44:03 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 68EABE07EE
	for <gentoo-commits@lists.gentoo.org>; Mon, 31 Oct 2022 00:44:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 33553340E6E
	for <gentoo-commits@lists.gentoo.org>; Mon, 31 Oct 2022 00:44:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FB3D6A1
	for <gentoo-commits@lists.gentoo.org>; Mon, 31 Oct 2022 00:44:00 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1667177033.29e659f9fb78507ef224335b67cf4a2c5b9382b9.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/chrony/chrony-4.3.ebuild net-misc/chrony/chrony-9999.ebuild
X-VCS-Directories: net-misc/chrony/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 29e659f9fb78507ef224335b67cf4a2c5b9382b9
X-VCS-Branch: master
Date: Mon, 31 Oct 2022 00:44:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: eb1a7dac-a863-474b-ba9b-be188560a0e2
X-Archives-Hash: 701c9bd430b21b01f0a1e6f3ef74f1c7

commit:     29e659f9fb78507ef224335b67cf4a2c5b9382b9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 23:16:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 00:43:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e659f9

net-misc/chrony: fowners/fperms tweak

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/chrony/chrony-4.3.ebuild  | 6 +++---
 net-misc/chrony/chrony-9999.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-misc/chrony/chrony-4.3.ebuild b/net-misc/chrony/chrony-4.3.ebuild
index c52e4bdbf30f..f8e842d67fb0 100644
--- a/net-misc/chrony/chrony-4.3.ebuild
+++ b/net-misc/chrony/chrony-4.3.ebuild
@@ -178,8 +178,8 @@ src_install() {
 		# Prepare a directory for the chrony.drift file (a la ntpsec)
 		# Ensures the environment is sane on new installs
 		# bug #711058
-		fowners ntp:ntp /var/{lib,log}/chrony
-		fperms 770 /var/lib/chrony
+		fowners -R ntp:ntp /var/{lib,log}/chrony
+		fperms -R 770 /var/lib/chrony
 	fi
 
 	insinto /etc/logrotate.d
@@ -243,7 +243,7 @@ pkg_postinst() {
 
 	if [[ ${show_seccomp_enable_msg} -eq 1 ]] ; then
 		elog "To enable seccomp in a stricter mode, please modify:"
-		elog "- /etc/conf.d/chronyd for OpenRC"
+		elog "- ${EROOT}/etc/conf.d/chronyd for OpenRC"
 		elog "- systemctl edit chronyd for systemd"
 		elog "to use -F 1 or -F -1 instead of -F 2 (see man chronyd)"
 		elog "By default, we now use -F 2 which is a baseline/minimal filter."

diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index c52e4bdbf30f..f8e842d67fb0 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -178,8 +178,8 @@ src_install() {
 		# Prepare a directory for the chrony.drift file (a la ntpsec)
 		# Ensures the environment is sane on new installs
 		# bug #711058
-		fowners ntp:ntp /var/{lib,log}/chrony
-		fperms 770 /var/lib/chrony
+		fowners -R ntp:ntp /var/{lib,log}/chrony
+		fperms -R 770 /var/lib/chrony
 	fi
 
 	insinto /etc/logrotate.d
@@ -243,7 +243,7 @@ pkg_postinst() {
 
 	if [[ ${show_seccomp_enable_msg} -eq 1 ]] ; then
 		elog "To enable seccomp in a stricter mode, please modify:"
-		elog "- /etc/conf.d/chronyd for OpenRC"
+		elog "- ${EROOT}/etc/conf.d/chronyd for OpenRC"
 		elog "- systemctl edit chronyd for systemd"
 		elog "to use -F 1 or -F -1 instead of -F 2 (see man chronyd)"
 		elog "By default, we now use -F 2 which is a baseline/minimal filter."