public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/anacron/
Date: Sun, 11 Dec 2016 23:59:48 +0000 (UTC)	[thread overview]
Message-ID: <1481500781.70f9d6596f89fcba5d097c2aaac2acd917925da0.monsieurp@gentoo> (raw)

commit:     70f9d6596f89fcba5d097c2aaac2acd917925da0
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 20:53:33 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 23:59:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f9d659

sys-process/anacron: EAPI 6 bump and ebuild refresh.

Package-Manager: portage-2.3.0

 sys-process/anacron/anacron-2.3-r4.ebuild | 66 +++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/sys-process/anacron/anacron-2.3-r4.ebuild b/sys-process/anacron/anacron-2.3-r4.ebuild
new file mode 100644
index 00000000..8814627
--- /dev/null
+++ b/sys-process/anacron/anacron-2.3-r4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="a periodic command scheduler"
+HOMEPAGE="http://anacron.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+DEPEND="
+	sys-process/cronbase"
+
+RDEPEND="
+	${DEPEND}
+	virtual/mta"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-compile-fix-from-debian.patch
+	"${FILESDIR}"/${P}-headers.patch
+)
+
+src_prepare() {
+	sed -i \
+		-e '/^CFLAGS/{s:=:+=:;s:-O2::}' \
+		Makefile || die
+}
+
+src_configure() {
+	tc-export CC
+}
+
+src_install() {
+	# This does not work if the directory already exists.
+	diropts -m0750 -o root -g cron
+	keepdir "/var/spool/${PN}"
+
+	doman "${PN}tab.5" "${PN}.8"
+	newinitd "${FILESDIR}/${PN}.rc6" "${PN}"
+	dodoc ChangeLog README TODO
+	dosbin "${PN}"
+
+	insinto /etc
+	doins "${FILESDIR}/${PN}tab"
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]] ; then
+		elog "Schedule the command \"anacron -s\" as a daily cron-job (preferably"
+		elog "at some early morning hour).  This will make sure that jobs are run"
+		elog "when the systems is left running for a night."
+		echo
+		elog "Update /etc/anacrontab to include what you want anacron to run."
+
+		echo
+		elog "You may wish to read the Gentoo Linux Cron Guide, which can be"
+		elog "found online at:"
+		elog "    https://wiki.gentoo.org/wiki/Cron"
+	fi
+}


             reply	other threads:[~2016-12-12  0:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 23:59 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-08 13:51 [gentoo-commits] repo/gentoo:master commit in: sys-process/anacron/ Arthur Zamarin
2024-03-08 13:48 Arthur Zamarin
2024-03-08 12:15 Arthur Zamarin
2024-03-08 12:11 Arthur Zamarin
2024-02-01 13:38 Joonas Niilola
2024-02-01 13:38 Joonas Niilola
2021-07-21  2:22 Yixun Lan
2019-10-07 13:53 Michał Górny
2019-10-07  9:47 Agostino Sarubbo
2019-10-07  8:42 Agostino Sarubbo
2019-09-11 16:21 Michał Górny
2017-09-02 14:18 Michael Palimaka
2016-12-12  8:43 Lars Wendler
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 Mike Frysinger
2015-08-10  8:00 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=1481500781.70f9d6596f89fcba5d097c2aaac2acd917925da0.monsieurp@gentoo \
    --to=monsieurp@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