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.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 2D91D158089 for ; Wed, 6 Sep 2023 17:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FEF82BC08E; Wed, 6 Sep 2023 17:09:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B48F2BC08E for ; Wed, 6 Sep 2023 17:09:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71A6B335CEC for ; Wed, 6 Sep 2023 17:09:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED38E113E for ; Wed, 6 Sep 2023 17:09:36 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1694020174.489f2e822cae71afe2a8ccd0955b288570a57d15.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/cronbase/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/cronbase/cronbase-0.3.7-r10.ebuild X-VCS-Directories: sys-process/cronbase/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 489f2e822cae71afe2a8ccd0955b288570a57d15 X-VCS-Branch: master Date: Wed, 6 Sep 2023 17:09:36 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9146823-1a19-4bf7-83f0-dab4cfa2ddb0 X-Archives-Hash: 4a54884a11a6e8985058a64c8ac675ad commit: 489f2e822cae71afe2a8ccd0955b288570a57d15 Author: Tomas Fabrizio Orsi fi uba ar> AuthorDate: Wed Sep 6 13:17:00 2023 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed Sep 6 17:09:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489f2e82 sys-process/cronbase: changed from elog to readme.gentoo_print_elog Signed-off-by: Tomas Fabrizio Orsi fi.uba.ar> Closes: https://github.com/gentoo/gentoo/pull/32642 Signed-off-by: Mike Gilbert gentoo.org> sys-process/cronbase/cronbase-0.3.7-r10.ebuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild index 5d70784a26c8..416f6483ad62 100644 --- a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild +++ b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit readme.gentoo-r1 + DESCRIPTION="Base for all cron ebuilds" HOMEPAGE="https://wiki.gentoo.org/wiki/Cron" S="${WORKDIR}" @@ -17,6 +19,15 @@ RDEPEND=" acct-user/cron " +DOC_CONTENTS=" + To add a user to the cron group so it can create cron jobs, run: + + usermod -a -G cron + + For more information, visit the wiki page: + https://wiki.gentoo.org/wiki/Cron +" + src_install() { newsbin "${FILESDIR}"/run-crons-${PV} run-crons @@ -24,13 +35,9 @@ src_install() { keepdir /etc/cron.{hourly,daily,weekly,monthly} keepdir /var/spool/cron/lastrun + readme.gentoo_create_doc } pkg_postinst() { - elog "To add a user to the cron group so it can create cron jobs, run:" - elog - elog " usermod -a -G cron " - elog - elog "For more information, visit the wiki page:" - elog "https://wiki.gentoo.org/wiki/Cron" + readme.gentoo_print_elog }