summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-30 23:16:44 +0000
committerSam James <sam@gentoo.org>2022-10-31 00:43:53 +0000
commit29e659f9fb78507ef224335b67cf4a2c5b9382b9 (patch)
treee733b4d41d163584ba5a1423033d4a913dd7783f /net-misc
parentsys-devel/gcc: add 12.2.1_p20221029 (diff)
downloadgentoo-29e659f9fb78507ef224335b67cf4a2c5b9382b9.tar.gz
gentoo-29e659f9fb78507ef224335b67cf4a2c5b9382b9.tar.bz2
gentoo-29e659f9fb78507ef224335b67cf4a2c5b9382b9.zip
net-misc/chrony: fowners/fperms tweak
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrony/chrony-4.3.ebuild6
-rw-r--r--net-misc/chrony/chrony-9999.ebuild6
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."