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 F2018138334 for ; Thu, 9 Aug 2018 19:18:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6C5CE09E2; Thu, 9 Aug 2018 19:18:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 57839E09E2 for ; Thu, 9 Aug 2018 19:18: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 8A096335C9F for ; Thu, 9 Aug 2018 19:18:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BEAA9390 for ; Thu, 9 Aug 2018 19:18:31 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1533842228.e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/dcron/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/dcron/dcron-4.5-r2.ebuild sys-process/dcron/metadata.xml X-VCS-Directories: sys-process/dcron/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a X-VCS-Branch: master Date: Thu, 9 Aug 2018 19:18:31 +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: 2e4798da-a5c4-47a0-a403-296054d106d7 X-Archives-Hash: 5c31e0daa417cbef16f4f0c1c052a106 commit: e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a Author: Conrad Kostecki kostecki com> AuthorDate: Thu Aug 9 19:12:02 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Aug 9 19:17:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d12fcb sys-process/dcron: fix qa warning Also bump to EAPI="6". Closes: https://bugs.gentoo.org/651202 Package-Manager: Portage-2.3.44, Repoman-2.3.10 sys-process/dcron/dcron-4.5-r2.ebuild | 52 +++++++++++++++++++++++++++++++++++ sys-process/dcron/metadata.xml | 20 ++++++++++---- 2 files changed, 66 insertions(+), 6 deletions(-) diff --git a/sys-process/dcron/dcron-4.5-r2.ebuild b/sys-process/dcron/dcron-4.5-r2.ebuild new file mode 100644 index 00000000000..e0d83c3e1c1 --- /dev/null +++ b/sys-process/dcron/dcron-4.5-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cron toolchain-funcs systemd + +DESCRIPTION="A cute little cron from Matt Dillon" +HOMEPAGE="http://www.jimpryor.net/linux/dcron.html http://apollo.backplane.com/FreeSrc/" +SRC_URI="http://www.jimpryor.net/linux/releases/${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" + +DOCS=( CHANGELOG README extra/run-cron extra/root.crontab "${FILESDIR}"/crontab ) + +PATCHES=( "${FILESDIR}"/${PN}-4.5-ldflags.patch "${FILESDIR}"/${PN}-4.5-pidfile.patch ) + +src_prepare() { + default + + tc-export CC + + cat <<-EOF > config + PREFIX = /usr + CRONTAB_GROUP = cron + EOF +} + +src_install() { + default + + docrondir + docron crond -m0700 -o root -g wheel + docrontab + + insinto /etc + doins "${FILESDIR}"/crontab + + insinto /etc/cron.d + doins extra/prune-cronstamps + + insinto /etc/logrotate.d + newins extra/crond.logrotate dcron + + keepdir /var/spool/cron/cronstamps + + newinitd "${FILESDIR}"/dcron.init dcron + newconfd "${FILESDIR}"/dcron.confd dcron + systemd_dounit "${FILESDIR}"/dcron.service +} diff --git a/sys-process/dcron/metadata.xml b/sys-process/dcron/metadata.xml index 4fc1e843e09..2cfaa1da1d0 100644 --- a/sys-process/dcron/metadata.xml +++ b/sys-process/dcron/metadata.xml @@ -1,10 +1,18 @@ - - cron-bugs@gentoo.org - - - dubiousjim/dcron - + + cron-bugs@gentoo.org + + + This lightweight cron daemon aims to be simple and secure, with just enough + features to stay useful. + Unlike other fatter cron daemons, though, this cron doesn't even try to manage + environment variables or act as a shell. + All jobs are run with `/bin/sh` for conformity and portability. + + + https://github.com/dubiousjim/dcron/issues + dubiousjim/dcron +