public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/cronie/
Date: Sun, 13 May 2018 21:09:02 +0000 (UTC)	[thread overview]
Message-ID: <1526245736.756d35dd80dde6db58e81b589fa034650bc7a317.polynomial-c@gentoo> (raw)

commit:     756d35dd80dde6db58e81b589fa034650bc7a317
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 21:08:41 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun May 13 21:08:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756d35dd

sys-process/cronie: Bump to version 1.5.2

Closes: https://bugs.gentoo.org/655662
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 sys-process/cronie/Manifest            |   1 +
 sys-process/cronie/cronie-1.5.2.ebuild | 103 +++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/sys-process/cronie/Manifest b/sys-process/cronie/Manifest
index d647b69d9cc..3b2145890ab 100644
--- a/sys-process/cronie/Manifest
+++ b/sys-process/cronie/Manifest
@@ -1,2 +1,3 @@
 DIST cronie-1.5.0.tar.gz 242072 BLAKE2B ef21cfabbc70981a0d57ff85cbdbae786aae2d01095e7da3f55c5a9c97c1b62cde2e29e7e872b34872e9b8faacb36d86cfb37a8257faf49f1586761eb8797f23 SHA512 cad4d78cbb58ea32d1093890b316b6599d115b29f367eecc2e4a0a3560ab85ac85aa159886c883e46defb6212432d37f425396cfca686e4dd8526102ca4dd8fe
 DIST cronie-1.5.1.tar.gz 114848 BLAKE2B 9b2a045c2c3c18a931588c620e455c4f2efbf17a5f5826bc1b276bd2c4537fe91d7f81cdb7434dc7d8357414c14d9dc89c90bb7a5dc22956d90b6a84c731f498 SHA512 7e5b2e5cc782d04b84ffced21b4601ed5a041c125ec9daa3ae3c704c04b376b07f8f6e6e1351659690ce695ca4c9373456420099eefde985e15fbe5d3ebdcf5a
+DIST cronie-1.5.2.tar.gz 121604 BLAKE2B 4225439fd13a32bba3bd24f25d7dd405cdb123e666ebbf14574143af9d161867f82ea3fc479d81a884590faaa9c42e19c971285e01a19d6ac793b7deb7fc4775 SHA512 6455e234becc44e6568fa25fd72abfaa293cb0bc2d2f1d124e551c068ba01083192b21e82e941158c8c1f41cb6dad3851d665b9f3baa82fd49080f3f8619740b

diff --git a/sys-process/cronie/cronie-1.5.2.ebuild b/sys-process/cronie/cronie-1.5.2.ebuild
new file mode 100644
index 00000000000..f9c9fbc31a1
--- /dev/null
+++ b/sys-process/cronie/cronie-1.5.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools cron pam systemd user
+
+DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron"
+HOMEPAGE="https://github.com/cronie-crond/cronie"
+SRC_URI="https://github.com/cronie-crond/cronie/archive/${P}.tar.gz"
+
+LICENSE="ISC BSD BSD-2 GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="+anacron +inotify pam selinux"
+
+DEPEND="pam? ( virtual/pam )
+	anacron? ( !sys-process/anacron )"
+RDEPEND="${DEPEND}
+	sys-apps/debianutils"
+
+#cronie supports /etc/crontab
+CRON_SYSTEM_CRONTAB="yes"
+
+S="${WORKDIR}/${PN}-${P}"
+
+PATCHES=(
+	"${FILESDIR}/cronie-systemd.patch"
+)
+
+pkg_setup() {
+	enewgroup crontab
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with inotify)
+		$(use_with pam)
+		$(use_with selinux)
+		$(use_enable anacron)
+		--enable-syscrontab
+		--with-daemon_username=cron
+		--with-daemon_groupname=cron
+	)
+	SPOOL_DIR="/var/spool/cron/crontabs" \
+	ANACRON_SPOOL_DIR="/var/spool/anacron" \
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	emake install DESTDIR="${D}"
+
+	docrondir -m 1730 -o root -g crontab
+	fowners root:crontab /usr/bin/crontab
+	fperms 2751 /usr/bin/crontab
+
+	newconfd "${S}"/crond.sysconfig ${PN}
+
+	insinto /etc
+	newins "${FILESDIR}/${PN}-crontab" crontab
+	newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
+
+	insinto /etc/cron.d
+	doins contrib/0hourly
+
+	newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
+	newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
+
+	systemd_newunit contrib/cronie.systemd cronie.service
+
+	if use anacron ; then
+		local anacrondir="/var/spool/anacron"
+		keepdir ${anacrondir}
+		fowners root:cron ${anacrondir}
+		fperms 0750 ${anacrondir}
+
+		insinto /etc
+		doins contrib/anacrontab
+
+		insinto /etc/cron.hourly
+		doins contrib/0anacron
+		fperms 0750 /etc/cron.hourly/0anacron
+	else
+		insinto /etc/cron.d
+		doins contrib/dailyjobs
+	fi
+
+	einstalldocs
+}
+
+pkg_postinst() {
+	cron_pkg_postinst
+
+	if [[ -n "${REPLACING_VERSIONS}" ]] ; then
+		ewarn "You should restart ${PN} daemon or else you might experience segfaults"
+		ewarn "or ${PN} not working reliably anymore."
+		einfo "(see https://bugs.gentoo.org/557406 for details.)"
+	fi
+}


             reply	other threads:[~2018-05-13 21:09 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-13 21:09 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-30  3:24 [gentoo-commits] repo/gentoo:master commit in: sys-process/cronie/ Sam James
2024-05-30  3:24 Sam James
2024-05-30  3:24 Sam James
2024-04-08  8:41 Sam James
2024-01-24 11:11 Sam James
2024-01-23 15:08 Sam James
2024-01-19 23:27 Sam James
2024-01-19 12:32 Sam James
2024-01-19 12:25 Arthur Zamarin
2024-01-19 12:25 Arthur Zamarin
2024-01-19 12:25 Arthur Zamarin
2024-01-19 12:25 Arthur Zamarin
2024-01-16  2:16 Sam James
2024-01-16  2:16 Sam James
2023-12-17 16:56 Arthur Zamarin
2023-12-15 13:07 Arthur Zamarin
2023-12-15 10:10 Michał Górny
2023-12-15 10:10 Michał Górny
2023-12-15  8:29 Sam James
2023-12-15  7:49 Sam James
2023-12-15  7:42 Sam James
2023-12-15  7:14 Sam James
2023-10-13 15:00 Sam James
2023-04-27 18:37 Ionen Wolkens
2023-03-11 23:35 David Seifert
2022-12-26  8:35 Sam James
2022-11-25  9:45 Arthur Zamarin
2022-11-25  7:24 Arthur Zamarin
2022-11-25  5:21 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:06 Sam James
2022-11-25  5:02 Sam James
2022-10-24 15:51 Mike Gilbert
2022-09-24 21:20 Mike Gilbert
2022-09-23  0:42 Sam James
2022-09-16 17:45 Arthur Zamarin
2022-09-16 17:17 Arthur Zamarin
2022-09-14 19:27 Arthur Zamarin
2022-09-07  1:50 Sam James
2022-09-06 21:44 Jakov Smolić
2022-09-06 21:41 Sam James
2022-09-06 21:35 Sam James
2022-09-06 21:35 Sam James
2022-08-28  6:30 WANG Xuerui
2022-06-29  7:26 Sam James
2022-04-25 15:38 Lars Wendler
2022-03-24 12:49 Lars Wendler
2022-03-24  7:42 Lars Wendler
2022-01-24 19:19 Sam James
2022-01-01 20:08 David Seifert
2021-06-26  1:34 Sam James
2021-06-22 19:45 Sam James
2021-06-21  6:19 Agostino Sarubbo
2021-06-21  6:17 Agostino Sarubbo
2021-06-20 22:32 Sam James
2021-06-20 22:32 Sam James
2021-06-20 21:08 Sergei Trofimovich
2021-03-29 12:10 Lars Wendler
2021-03-17 17:26 Lars Wendler
2021-01-23 10:58 Mikle Kolyada
2020-11-03  6:49 Lars Wendler
2020-07-28 21:25 Sergei Trofimovich
2020-07-25 11:40 Sam James
2020-07-25 11:16 Sam James
2020-07-25  2:51 Sam James
2020-07-24 15:09 Agostino Sarubbo
2020-07-24 12:44 Lars Wendler
2020-07-24 12:23 Sam James
2020-07-24  7:02 Sam James
2020-07-24  7:02 Sam James
2019-12-23 17:56 Lars Wendler
2019-12-23 17:56 Lars Wendler
2019-10-28  9:30 Lars Wendler
2019-10-12 18:18 Mikle Kolyada
2019-07-22 15:10 Mikle Kolyada
2019-06-06  6:46 Agostino Sarubbo
2019-05-24 22:50 Sergei Trofimovich
2019-05-22  7:36 Sergei Trofimovich
2019-05-16 23:56 Thomas Deutschmann
2019-05-16 17:30 Jeroen Roovers
2019-05-15 14:50 Mikle Kolyada
2019-05-14  8:08 Sergei Trofimovich
2019-05-13 20:17 Aaron Bauman
2019-03-20  9:46 Lars Wendler
2019-01-14 17:03 Lars Wendler
2019-01-12 16:28 Mart Raudsepp
2018-11-29 17:44 Tobias Klausmann
2018-11-26 18:53 Mikle Kolyada
2018-11-24 11:00 Sergei Trofimovich
2018-11-24 10:49 Sergei Trofimovich
2018-11-24 10:45 Sergei Trofimovich
2018-11-23 20:30 Thomas Deutschmann
2018-11-23 16:18 Sergei Trofimovich
2018-11-23  7:36 Mikle Kolyada
2018-06-24 17:36 Anthony G. Basile
2018-05-26  8:10 Lars Wendler
2018-05-26  7:56 Mikle Kolyada
2018-05-19  9:26 Sergei Trofimovich
2018-05-16 21:19 Sergei Trofimovich
2018-05-15 17:35 Mart Raudsepp
2018-05-14 21:19 Tobias Klausmann
2018-05-14  7:21 Lars Wendler
2018-05-14  0:08 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2017-02-23 12:10 Lars Wendler
2017-01-17 16:23 Lars Wendler
2016-08-09  7:08 Lars Wendler
2016-07-18  5:10 Jeroen Roovers
2016-07-08 14:52 Markus Meier
2016-07-04 11:50 Tobias Klausmann
2015-08-30 13:10 Lars Wendler
2015-08-30 13:10 Lars Wendler

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=1526245736.756d35dd80dde6db58e81b589fa034650bc7a317.polynomial-c@gentoo \
    --to=polynomial-c@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