diff options
author | Raphaël Marichez <falco@gentoo.org> | 2007-09-26 21:59:53 +0000 |
---|---|---|
committer | Raphaël Marichez <falco@gentoo.org> | 2007-09-26 21:59:53 +0000 |
commit | 5d1f8ddca36fcb61107ab827809606a8f7e4bdcb (patch) | |
tree | 3c3e58066307dce38b9d3f24d84264dcf9b3f7ed /sys-process/cronbase | |
parent | Version bump to 2.0.1 Bug #191636 (diff) | |
download | gentoo-2-5d1f8ddca36fcb61107ab827809606a8f7e4bdcb.tar.gz gentoo-2-5d1f8ddca36fcb61107ab827809606a8f7e4bdcb.tar.bz2 gentoo-2-5d1f8ddca36fcb61107ab827809606a8f7e4bdcb.zip |
Unconditionally change directories permissions (working around bug 141619)
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-process/cronbase')
-rw-r--r-- | sys-process/cronbase/ChangeLog | 5 | ||||
-rw-r--r-- | sys-process/cronbase/cronbase-0.3.2-r1.ebuild | 26 |
2 files changed, 16 insertions, 15 deletions
diff --git a/sys-process/cronbase/ChangeLog b/sys-process/cronbase/ChangeLog index 283ce04ac42f..46699dff06f8 100644 --- a/sys-process/cronbase/ChangeLog +++ b/sys-process/cronbase/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/cronbase # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.20 2007/09/26 21:36:27 falco Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/cronbase/ChangeLog,v 1.21 2007/09/26 21:59:53 falco Exp $ + + 26 Sep 2007; Raphael Marichez <falco@gentoo.org> cronbase-0.3.2-r1.ebuild: + Unconditionally change directories permissions (working around bug 141619) *cronbase-0.3.2-r1 (26 Sep 2007) diff --git a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild b/sys-process/cronbase/cronbase-0.3.2-r1.ebuild index b72dffc58a6a..56dd17d47e6b 100644 --- a/sys-process/cronbase/cronbase-0.3.2-r1.ebuild +++ b/sys-process/cronbase/cronbase-0.3.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ inherit eutils @@ -31,18 +31,16 @@ src_install() { } pkg_postinst() { - if has_version '<sys-process/cronbase-0.3.2-r1' ; then - echo - elog "Previous ebuilds didn't enforce proper permissions on already" - elog "existing directories. Appropriate permissions are now being set on" - elog "${ROOT}/etc/cron.{hourly,daily,weekly,monthly}," - elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/" - elog "(see bug 182998)" - echo - chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \ - || die "chmod failed" - chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed" - chown root:cron "${ROOT}/var/spool/cron" || die "chown failed" - fi + echo + elog "Portage doesn't enforce proper permissions on already existing" + elog "directories (bug 141619). Appropriate permissions are now being set" + elog "on ${ROOT}/etc/cron.{hourly,daily,weekly,monthly}," + elog "${ROOT}/var/spool/cron/ and ${ROOT}/var/spool/cron/lastrun/" + elog "(see bug 182998)" + echo + chmod 0750 "${ROOT}"/etc/cron.{hourly,daily,weekly,monthly} \ + || die "chmod failed" + chmod 0750 "${ROOT}"/var/spool/{cron,cron/lastrun} || die "chmod failed" + chown root:cron "${ROOT}/var/spool/cron" || die "chown failed" } |