summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2007-03-18 22:52:33 +0000
committerWolfram Schlich <wschlich@gentoo.org>2007-03-18 22:52:33 +0000
commite4a4ac593242f976c5d8a04dfbf407b942b2d524 (patch)
treec186df1239dde27b6fd16211ae8c6f5fd0d494da /sys-process
parentUm, don't break earlier fixes. (diff)
downloadhistorical-e4a4ac593242f976c5d8a04dfbf407b942b2d524.tar.gz
historical-e4a4ac593242f976c5d8a04dfbf407b942b2d524.tar.bz2
historical-e4a4ac593242f976c5d8a04dfbf407b942b2d524.zip
small fixups
Package-Manager: portage-2.1.2-r12
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/fcron/ChangeLog5
-rw-r--r--sys-process/fcron/Manifest16
-rw-r--r--sys-process/fcron/fcron-3.0.2-r1.ebuild62
3 files changed, 42 insertions, 41 deletions
diff --git a/sys-process/fcron/ChangeLog b/sys-process/fcron/ChangeLog
index e9f14019f466..64d05bd8735d 100644
--- a/sys-process/fcron/ChangeLog
+++ b/sys-process/fcron/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/fcron
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.28 2007/03/18 22:31:35 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/ChangeLog,v 1.29 2007/03/18 22:52:33 wschlich Exp $
+
+ 18 Mar 2007; Wolfram Schlich <wschlich@gentoo.org> fcron-3.0.2-r1.ebuild:
+ small fixups
*fcron-3.0.2-r1 (18 Mar 2007)
diff --git a/sys-process/fcron/Manifest b/sys-process/fcron/Manifest
index 1120d8f356ef..8e8d7ad8fd50 100644
--- a/sys-process/fcron/Manifest
+++ b/sys-process/fcron/Manifest
@@ -56,18 +56,18 @@ EBUILD fcron-3.0.1.ebuild 3836 RMD160 7812dd0dc74ffad8efd62716984f8f7d73b4dd71 S
MD5 2c1ec7c8a32cf36107b12ba97d732b4d fcron-3.0.1.ebuild 3836
RMD160 7812dd0dc74ffad8efd62716984f8f7d73b4dd71 fcron-3.0.1.ebuild 3836
SHA256 a02be0a730acb5e8d240796477baf322275cf3b02a9584fb5a1f950fbb2f652e fcron-3.0.1.ebuild 3836
-EBUILD fcron-3.0.2-r1.ebuild 7628 RMD160 b098f148b6e47c9d948bd93fc0283bf30d91e5d2 SHA1 42ecd6059d58caa99fb1d3fd41f2bd2897282301 SHA256 b9b1ed3a41c585a8642708780681df7cd9a57cd0de9b8f38d91d3f0d5f57026c
-MD5 c13d616733dc46eda8702550ce546132 fcron-3.0.2-r1.ebuild 7628
-RMD160 b098f148b6e47c9d948bd93fc0283bf30d91e5d2 fcron-3.0.2-r1.ebuild 7628
-SHA256 b9b1ed3a41c585a8642708780681df7cd9a57cd0de9b8f38d91d3f0d5f57026c fcron-3.0.2-r1.ebuild 7628
+EBUILD fcron-3.0.2-r1.ebuild 7863 RMD160 67ec3e04080d312d4cfcf2b300c95ec83fcff1c2 SHA1 4b3a8e147994d840844f011f506a9af7001f49f2 SHA256 4ff55c9610af1c30861fc03be3b377ed55c42e00c9613d1359cbcad6514e0c00
+MD5 fc2687e2ce1a60c1d84df74c2a8974f2 fcron-3.0.2-r1.ebuild 7863
+RMD160 67ec3e04080d312d4cfcf2b300c95ec83fcff1c2 fcron-3.0.2-r1.ebuild 7863
+SHA256 4ff55c9610af1c30861fc03be3b377ed55c42e00c9613d1359cbcad6514e0c00 fcron-3.0.2-r1.ebuild 7863
EBUILD fcron-3.0.2.ebuild 6686 RMD160 eb361dd305a3d26b3d627dee5c1f9474493639d4 SHA1 3fa33e1f0147f5e993c4bbe54b8dbbaf7ac15553 SHA256 2574eb90c8ab9aecff46f4faf04901331c50cd9624aceef7689d1aa29d828c95
MD5 5ca8590d2dd47c5cdc7603bc2ab05e8f fcron-3.0.2.ebuild 6686
RMD160 eb361dd305a3d26b3d627dee5c1f9474493639d4 fcron-3.0.2.ebuild 6686
SHA256 2574eb90c8ab9aecff46f4faf04901331c50cd9624aceef7689d1aa29d828c95 fcron-3.0.2.ebuild 6686
-MISC ChangeLog 12086 RMD160 4e2e8022c9339aae3a7b3191aea49d42a9fe99ea SHA1 790d7f71bcef0e7d0bdefc8746e71d47544bf637 SHA256 0473b0cabadad10b7696736d34458648bc898f48b18beccc6d6b20e675c3088c
-MD5 57ad96ed207370a8a34e9c2d3c82517c ChangeLog 12086
-RMD160 4e2e8022c9339aae3a7b3191aea49d42a9fe99ea ChangeLog 12086
-SHA256 0473b0cabadad10b7696736d34458648bc898f48b18beccc6d6b20e675c3088c ChangeLog 12086
+MISC ChangeLog 12178 RMD160 6be99688733c9a8b42954a1c58fa8e23a57ea6da SHA1 eb601af8d6ee303bad1c9edf82868ef0b85af406 SHA256 0a128325481faf5fc411afafdf655c2b25c8c371484b3721ab94494885d0f43d
+MD5 21ec565038a1e9c716d375dbc8dc17d3 ChangeLog 12178
+RMD160 6be99688733c9a8b42954a1c58fa8e23a57ea6da ChangeLog 12178
+SHA256 0a128325481faf5fc411afafdf655c2b25c8c371484b3721ab94494885d0f43d ChangeLog 12178
MISC metadata.xml 303 RMD160 d24dcc8f24ba7a6a6881727d4f6bea37b319fee4 SHA1 6071b772615027860d246ae497df4866c991562a SHA256 550e002d2ddfc3e38a4fd062713956e335e068f6cf15828e139f01ce325937c6
MD5 4ecc6e1f7881550e02353b1511d8b89e metadata.xml 303
RMD160 d24dcc8f24ba7a6a6881727d4f6bea37b319fee4 metadata.xml 303
diff --git a/sys-process/fcron/fcron-3.0.2-r1.ebuild b/sys-process/fcron/fcron-3.0.2-r1.ebuild
index ddd76f883af5..06aeac8e569e 100644
--- a/sys-process/fcron/fcron-3.0.2-r1.ebuild
+++ b/sys-process/fcron/fcron-3.0.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/fcron/fcron-3.0.2-r1.ebuild,v 1.1 2007/03/18 22:31:35 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/fcron/fcron-3.0.2-r1.ebuild,v 1.2 2007/03/18 22:52:33 wschlich Exp $
inherit cron pam eutils
@@ -143,35 +143,6 @@ src_install() {
}
pkg_postinst() {
- ewarn
- ewarn "Fixing ownership of /var/spool/cron/fcrontabs"
- ewarn
-
- chown fcron:fcron /var/spool/cron/fcrontabs
- chmod 6770 /var/spool/cron/fcrontabs
- chown root:root /var/spool/cron/fcrontabs/*
- chmod 0600 /var/spool/cron/fcrontabs/*
- chown fcron:fcron /var/spool/cron/fcrontabs/*.orig
- chmod 0640 /var/spool/cron/fcrontabs/*.orig
-
- ewarn
- ewarn "WARNING: fcron now uses a dedicated user and group"
- ewarn "'fcron' for the suid/sgid programs/files instead of"
- ewarn "the user and group 'cron' that were previously used."
- ewarn
-
- ebeep 5
- epause 10
-
- ewarn
- ewarn "Each user who should be able to use fcron should only be"
- ewarn "added to the file /etc/fcron/fcron.allow and not to the"
- ewarn "group 'cron'!"
- ewarn
-
- ebeep 5
- epause 10
-
einfo
einfo "fcron has some important differences compared to vixie-cron:"
einfo
@@ -222,9 +193,36 @@ pkg_postinst() {
einfo "directories /etc/cron.{hourly|daily|weekly|monthly} by"
einfo "just generating a systab once from /etc/crontab:"
einfo
- einfo " fcrontab -u systab /etc/crontab"
- einfo
+ einfo " fcrontab -u systab /etc/crontab"
einfo
einfo "Happy fcron'ing!"
einfo
+
+ ewarn
+ ewarn "Fixing permissions and ownership of /var/spool/cron/fcrontabs"
+ chown fcron:fcron /var/spool/cron/fcrontabs
+ chmod 6770 /var/spool/cron/fcrontabs
+ chown root:root /var/spool/cron/fcrontabs/*
+ chmod 0600 /var/spool/cron/fcrontabs/*
+ chown fcron:fcron /var/spool/cron/fcrontabs/*.orig
+ chmod 0640 /var/spool/cron/fcrontabs/*.orig
+ ewarn "Fixing permissions and ownership of /usr/bin/fcron{tab,dyn,sighup}"
+ chown fcron:fcron /usr/bin/fcron{tab,dyn}
+ chown ${ROOTUSER:-root}:fcron /usr/bin/fcronsighup
+ chmod 6755 /usr/bin/fcron{tab,dyn,sighup}
+ ewarn
+ ewarn "WARNING: fcron now uses a dedicated user and group"
+ ewarn "'fcron' for the suid/sgid programs/files instead of"
+ ewarn "the user and group 'cron' that were previously used."
+ ewarn
+ ewarn "fcron usage can now only be restricted by adding users"
+ ewarn "to the following files instead of to the group 'cron':"
+ ewarn
+ ewarn " /etc/fcron/fcron.allow"
+ ewarn " /etc/fcron/fcron.deny"
+ ewarn
+
+ ebeep 5
+ epause 10
+
}