public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/dcron/
Date: Thu,  9 Aug 2018 19:18:31 +0000 (UTC)	[thread overview]
Message-ID: <1533842228.e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a.blueness@gentoo> (raw)

commit:     e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Thu Aug  9 19:12:02 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> 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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-	<email>cron-bugs@gentoo.org</email>
-</maintainer>
-<upstream>
-	<remote-id type="github">dubiousjim/dcron</remote-id>
-</upstream>
+	<maintainer type="project">
+		<email>cron-bugs@gentoo.org</email>
+	</maintainer>
+	<longdescription>
+		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.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/dubiousjim/dcron/issues</bugs-to>
+		<remote-id type="github">dubiousjim/dcron</remote-id>
+	</upstream>
 </pkgmetadata>


             reply	other threads:[~2018-08-09 19:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 19:18 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-11 21:26 [gentoo-commits] repo/gentoo:master commit in: sys-process/dcron/ David Seifert
2022-08-28  6:30 WANG Xuerui
2021-07-21  2:22 Yixun Lan
2019-12-15 13:37 Michał Górny
2019-11-14 11:55 Agostino Sarubbo
2019-11-08 17:10 Aaron Bauman
2019-11-02  7:58 Mikle Kolyada
2019-11-02  7:58 Mikle Kolyada
2019-11-02  7:58 Mikle Kolyada
2019-10-22  7:25 Agostino Sarubbo
2019-10-22  7:24 Agostino Sarubbo
2019-10-21 19:21 Sergei Trofimovich
2019-10-21 12:48 Agostino Sarubbo
2019-10-21 12:18 Agostino Sarubbo
2019-10-21 12:17 Agostino Sarubbo
2019-10-21 12:16 Agostino Sarubbo
2016-05-19 18:16 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533842228.e8d12fcb6ab10c84f14ad2cc25edfd372fd4239a.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox