From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 009611396D0 for ; Thu, 5 Oct 2017 20:46:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4761F2BC015; Thu, 5 Oct 2017 20:46:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 274452BC015 for ; Thu, 5 Oct 2017 20:46:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C1AC341670 for ; Thu, 5 Oct 2017 20:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86D55909A for ; Thu, 5 Oct 2017 20:46:33 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1507236329.f88d698b1381a4c1cd1bc7f0630f839c537441fa.nimiux@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/logrotate/logrotate-3.12.3-r1.ebuild app-admin/logrotate/logrotate-3.12.3-r2.ebuild X-VCS-Directories: app-admin/logrotate/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: f88d698b1381a4c1cd1bc7f0630f839c537441fa X-VCS-Branch: master Date: Thu, 5 Oct 2017 20:46:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d94b4f2e-bd6f-42e4-aeca-711b8796b56a X-Archives-Hash: 89006fcec0def81809cf23ca0e33132c commit: f88d698b1381a4c1cd1bc7f0630f839c537441fa Author: Chema Alonso Josa gentoo org> AuthorDate: Thu Oct 5 20:44:52 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Thu Oct 5 20:45:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f88d698b app-admin/logrotate: Adds postinstall message for running systems using systemd Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=357275 Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-admin/logrotate/logrotate-3.12.3-r1.ebuild | 5 +++++ app-admin/logrotate/logrotate-3.12.3-r2.ebuild | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild index ec6ce72f535..b5f5d4e95d9 100644 --- a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild @@ -78,11 +78,16 @@ src_install() { } pkg_postinst() { + elog elog "The ${PN} binary is now installed under /usr/bin. Please" elog "update your links" elog move_old_state_file elog + elog "If you are running systemd you might need to run:" + elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" + elog "in order to create the new location of the logrotate state file" + elog if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please" elog "emerge virtual/mailx and configure logrotate in" diff --git a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild index 89ad370fbf1..f0661a39594 100644 --- a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild @@ -79,10 +79,14 @@ src_install() { } pkg_postinst() { + elog elog "The ${PN} binary is now installed under /usr/bin. Please" elog "update your links" elog move_old_state_file + elog "If you are running systemd you might need to run:" + elog "systemd-tmpfiles --create /usr/lib/tmpfiles.d/logrotate.conf" + elog "in order to create the new location of the logrotate state file" elog if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "If you wish to have logrotate e-mail you updates, please"