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