Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/cronie: cronie-1.4.11-r1.ebuild ChangeLog cronie-1.4.9-r5.ebuild cronie-1.4.11.ebuild
Date: Tue, 25 Feb 2014 19:08:23
Message-Id: 20140225190817.D763F2004E@flycatcher.gentoo.org
1 polynomial-c 14/02/25 19:08:17
2
3 Modified: ChangeLog
4 Added: cronie-1.4.11-r1.ebuild
5 Removed: cronie-1.4.9-r5.ebuild cronie-1.4.11.ebuild
6 Log:
7 Revbump to install anacrontab as well (bug #502420). Committed straight to stable. Fixed pidfile location in init scripts. Removed old
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.50 sys-process/cronie/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/ChangeLog?rev=1.50&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/ChangeLog?rev=1.50&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/ChangeLog?r1=1.49&r2=1.50
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v
21 retrieving revision 1.49
22 retrieving revision 1.50
23 diff -u -r1.49 -r1.50
24 --- ChangeLog 11 Jan 2014 09:53:57 -0000 1.49
25 +++ ChangeLog 25 Feb 2014 19:08:17 -0000 1.50
26 @@ -1,6 +1,15 @@
27 # ChangeLog for sys-process/cronie
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.49 2014/01/11 09:53:57 zlogene Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/ChangeLog,v 1.50 2014/02/25 19:08:17 polynomial-c Exp $
31 +
32 +*cronie-1.4.11-r1 (25 Feb 2014)
33 +
34 + 25 Feb 2014; Lars Wendler <polynomial-c@g.o> -cronie-1.4.9-r5.ebuild,
35 + -cronie-1.4.11.ebuild, +cronie-1.4.11-r1.ebuild, files/anacron-1.0-initd,
36 + files/cronie-1.3-initd:
37 + Revbump to install anacrontab as well. Thanks to Matthew Schultz for
38 + reporting this in bug #502420 and providing an ebuild patch. Committed
39 + straight to stable. Fixed pidfile location in init scripts. Removed old.
40
41 11 Jan 2014; <zlogene@g.o> cronie-1.4.11.ebuild:
42 Add ~ppc64 keyword wrt bug #497394
43
44
45
46 1.1 sys-process/cronie/cronie-1.4.11-r1.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/cronie-1.4.11-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/cronie-1.4.11-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: cronie-1.4.11-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/cronie-1.4.11-r1.ebuild,v 1.1 2014/02/25 19:08:17 polynomial-c Exp $
56
57 EAPI=5
58
59 inherit cron eutils pam systemd user
60
61 DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron."
62 SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
63 HOMEPAGE="https://fedorahosted.org/cronie/wiki"
64
65 LICENSE="ISC BSD BSD-2 GPL-2"
66 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86"
67 IUSE="anacron inotify pam selinux"
68
69 DEPEND="pam? ( virtual/pam )
70 anacron? ( !sys-process/anacron )"
71 RDEPEND="${DEPEND}"
72
73 #cronie supports /etc/crontab
74 CRON_SYSTEM_CRONTAB="yes"
75
76 pkg_setup() {
77 enewgroup crontab
78 }
79
80 src_configure() {
81 SPOOL_DIR="/var/spool/cron/crontabs" \
82 ANACRON_SPOOL_DIR="/var/spool/anacron" \
83 econf \
84 $(use_with inotify) \
85 $(use_with pam) \
86 $(use_with selinux) \
87 $(use_enable anacron) \
88 --enable-syscrontab \
89 --with-daemon_username=cron \
90 --with-daemon_groupname=cron
91 }
92
93 src_install() {
94 emake install DESTDIR="${D}"
95
96 docrondir -m 1730 -o root -g crontab
97 fowners root:crontab /usr/bin/crontab
98 fperms 2751 /usr/bin/crontab
99
100 insinto /etc/conf.d
101 newins "${S}"/crond.sysconfig ${PN}
102
103 insinto /etc
104 newins "${FILESDIR}/${PN}-1.2-crontab" crontab
105 newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny
106
107 keepdir /etc/cron.d
108 newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN}
109 newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond
110
111 sed s:sysconfig/crond:conf.d/cronie: contrib/cronie.systemd > "${T}"/cronie.service
112 systemd_dounit "${T}"/cronie.service
113
114 if use anacron ; then
115 keepdir /var/spool/anacron
116 fowners root:cron /var/spool/anacron
117 fperms 0750 /var/spool/anacron
118
119 insinto /etc
120
121 doins contrib/anacrontab
122 newinitd "${FILESDIR}"/anacron-1.0-initd anacron
123
124 # Install this without execute permission.
125 # User can enable it with chmod +x.
126 insinto /etc/cron.hourly
127 doins contrib/0anacron
128 fi
129
130 dodoc AUTHORS README contrib/*
131 }
132
133 pkg_postinst() {
134 cron_pkg_postinst
135 }