1 |
falco 07/09/26 21:59:53 |
2 |
|
3 |
Modified: ChangeLog cronbase-0.3.2-r1.ebuild |
4 |
Log: |
5 |
Unconditionally change directories permissions (working around bug 141619) |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.21 sys-process/cronbase/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/ChangeLog?rev=1.21&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/ChangeLog?rev=1.21&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/ChangeLog?r1=1.20&r2=1.21 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v |
18 |
retrieving revision 1.20 |
19 |
retrieving revision 1.21 |
20 |
diff -u -r1.20 -r1.21 |
21 |
--- ChangeLog 26 Sep 2007 21:36:27 -0000 1.20 |
22 |
+++ ChangeLog 26 Sep 2007 21:59:53 -0000 1.21 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for sys-process/cronbase |
25 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.20 2007/09/26 21:36:27 falco Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.21 2007/09/26 21:59:53 falco Exp $ |
28 |
+ |
29 |
+ 26 Sep 2007; Raphael Marichez <falco@g.o> cronbase-0.3.2-r1.ebuild: |
30 |
+ Unconditionally change directories permissions (working around bug 141619) |
31 |
|
32 |
*cronbase-0.3.2-r1 (26 Sep 2007) |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.2 sys-process/cronbase/cronbase-0.3.2-r1.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: cronbase-0.3.2-r1.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- cronbase-0.3.2-r1.ebuild 26 Sep 2007 21:36:27 -0000 1.1 |
50 |
+++ cronbase-0.3.2-r1.ebuild 26 Sep 2007 21:59:53 -0000 1.2 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2007 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v 1.1 2007/09/26 21:36:27 falco Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/cronbase-0.3.2-r1.ebuild,v 1.2 2007/09/26 21:59:53 falco Exp $ |
56 |
|
57 |
inherit eutils |
58 |
|
59 |
@@ -31,18 +31,16 @@ |
60 |
} |
61 |
|
62 |
pkg_postinst() { |
63 |
- if has_version '<sys-process/cronbase-0.3.2-r1' ; then |
64 |
- echo |
65 |
- elog "Previous ebuilds didn't enforce proper permissions on already" |
66 |
- elog "existing directories. Appropriate permissions are now being set on" |
67 |
- elog "${ROOT}/etc/cron.{hourly,daily,weekly,monthly}," |
68 |
- elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/" |
69 |
- elog "(see bug 182998)" |
70 |
- echo |
71 |
- chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \ |
72 |
- || die "chmod failed" |
73 |
- chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed" |
74 |
- chown root:cron "${ROOT}/var/spool/cron" || die "chown failed" |
75 |
- fi |
76 |
+ echo |
77 |
+ elog "Portage doesn't enforce proper permissions on already existing" |
78 |
+ elog "directories (bug 141619). Appropriate permissions are now being set" |
79 |
+ elog "on ${ROOT}/etc/cron.{hourly,daily,weekly,monthly}," |
80 |
+ elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/" |
81 |
+ elog "(see bug 182998)" |
82 |
+ echo |
83 |
+ chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \ |
84 |
+ || die "chmod failed" |
85 |
+ chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed" |
86 |
+ chown root:cron "${ROOT}/var/spool/cron" || die "chown failed" |
87 |
} |
88 |
|
89 |
|
90 |
|
91 |
|
92 |
-- |
93 |
gentoo-commits@g.o mailing list |