From 2aa5efe3151ddcdce30d865f9d8dac04f9a9eddf Mon Sep 17 00:00:00 2001 From: Theo Anderson Date: Sun, 7 Mar 2021 12:55:48 +0100 Subject: [PATCH] app-admin/logrotate: migrate to tmpfiles.eclass Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Theo Anderson Signed-off-by: David Seifert --- app-admin/logrotate/logrotate-3.14.0.ebuild | 6 +++--- app-admin/logrotate/logrotate-3.17.0.ebuild | 4 ++-- app-admin/logrotate/logrotate-3.18.0.ebuild | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild b/app-admin/logrotate/logrotate-3.14.0.ebuild index a31234a61191e..bedd9e10b9bb9 100644 --- a/app-admin/logrotate/logrotate-3.14.0.ebuild +++ b/app-admin/logrotate/logrotate-3.14.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit systemd +inherit systemd tmpfiles DESCRIPTION="Rotates, compresses, and mails system logs" HOMEPAGE="https://github.com/logrotate/logrotate" @@ -75,7 +75,7 @@ src_install() { use cron && install_cron_file systemd_dounit examples/logrotate.{service,timer} - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf keepdir /etc/logrotate.d } diff --git a/app-admin/logrotate/logrotate-3.17.0.ebuild b/app-admin/logrotate/logrotate-3.17.0.ebuild index 33eb0d103ce05..9e712b69c6959 100644 --- a/app-admin/logrotate/logrotate-3.17.0.ebuild +++ b/app-admin/logrotate/logrotate-3.17.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit systemd +inherit systemd tmpfiles DESCRIPTION="Rotates, compresses, and mails system logs" HOMEPAGE="https://github.com/logrotate/logrotate" @@ -75,7 +75,7 @@ src_install() { use cron && install_cron_file systemd_dounit examples/logrotate.{service,timer} - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf keepdir /etc/logrotate.d } diff --git a/app-admin/logrotate/logrotate-3.18.0.ebuild b/app-admin/logrotate/logrotate-3.18.0.ebuild index 8d3aed775a33e..ddc0d62508b4f 100644 --- a/app-admin/logrotate/logrotate-3.18.0.ebuild +++ b/app-admin/logrotate/logrotate-3.18.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit systemd +inherit systemd tmpfiles DESCRIPTION="Rotates, compresses, and mails system logs" HOMEPAGE="https://github.com/logrotate/logrotate" @@ -75,7 +75,7 @@ src_install() { use cron && install_cron_file systemd_dounit examples/logrotate.{service,timer} - systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf keepdir /etc/logrotate.d }