summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2002-04-21 12:40:51 +0000
committerThilo Bangert <bangert@gentoo.org>2002-04-21 12:40:51 +0000
commitbc02b55b4bf7949287ae739c6ecadb348e5aa862 (patch)
treedf3e6ea8a47a26e8f91ee69c22ff9e9d779e4379
parentadding a little documentation as taken from the original bug report :) (diff)
downloadgentoo-2-bc02b55b4bf7949287ae739c6ecadb348e5aa862.tar.gz
gentoo-2-bc02b55b4bf7949287ae739c6ecadb348e5aa862.tar.bz2
gentoo-2-bc02b55b4bf7949287ae739c6ecadb348e5aa862.zip
change fcron's crontabs to /var/spool/cron/fcrontabs
-rw-r--r--sys-apps/cronbase/files/README2
-rw-r--r--sys-apps/dcron/dcron-2.7-r9.ebuild4
-rw-r--r--sys-apps/fcron/fcron-2.0.0-r1.ebuild5
-rw-r--r--sys-apps/fcron/files/fcron.conf2
-rw-r--r--sys-apps/vcron/vcron-3.0.1-r1.ebuild5
5 files changed, 11 insertions, 7 deletions
diff --git a/sys-apps/cronbase/files/README b/sys-apps/cronbase/files/README
index 5132c25e8c21..b9ca0bf563dd 100644
--- a/sys-apps/cronbase/files/README
+++ b/sys-apps/cronbase/files/README
@@ -12,7 +12,7 @@ The Gentoo Linux Cron README
- To be able to use cron a user must be part of the cron group.
- - Crontabs are placed in /var/spool/cron/crontabs
+ - Crontabs are placed in /var/spool/cron/crontabs (fcron: /var/spool/cron/fcrontabs )
- Each cron takes care of running /etc/cron.{hourly|daily|weekly|montly}. Vixie
Cron does this via the system crontab /etc/crontab - the others must have a
diff --git a/sys-apps/dcron/dcron-2.7-r9.ebuild b/sys-apps/dcron/dcron-2.7-r9.ebuild
index 8f46fde5d63d..64e7b4eb0f31 100644
--- a/sys-apps/dcron/dcron-2.7-r9.ebuild
+++ b/sys-apps/dcron/dcron-2.7-r9.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7-r9.ebuild,v 1.1 2002/04/20 22:03:25 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.7-r9.ebuild,v 1.2 2002/04/21 12:40:51 bangert Exp $
# to use this, you must be part of the "cron" group
@@ -36,9 +36,11 @@ src_compile() {
src_install() {
+ #this does not work if the directory already exists
diropts -m 0750 -o root -g cron
dodir /var/spool/cron/crontabs
+
dodir /usr/{sbin,bin}
install -o root -g wheel -m 0700 crond ${D}/usr/sbin
install -o root -g cron -m 4750 crontab ${D}/usr/bin
diff --git a/sys-apps/fcron/fcron-2.0.0-r1.ebuild b/sys-apps/fcron/fcron-2.0.0-r1.ebuild
index cece355dce48..fa3f71d04e79 100644
--- a/sys-apps/fcron/fcron-2.0.0-r1.ebuild
+++ b/sys-apps/fcron/fcron-2.0.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry A! <jerry@gentoo.org>, Donny Davies <woodchip@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.0-r1.ebuild,v 1.1 2002/04/20 22:03:25 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/fcron-2.0.0-r1.ebuild,v 1.2 2002/04/21 12:40:51 bangert Exp $
DESCRIPTION="A command scheduler with extended capabilities over cron and anacron"
HOMEPAGE="http://fcron.free.fr/"
@@ -41,8 +41,9 @@ src_compile() {
src_install() {
+ # this does not work if the directory already exist
diropts -m 770 -o cron -g cron
- dodir /var/spool/cron/crontabs
+ dodir /var/spool/cron/fcrontabs
insinto /usr/sbin
insopts -o root -g root -m 0110 ; doins fcron
diff --git a/sys-apps/fcron/files/fcron.conf b/sys-apps/fcron/files/fcron.conf
index eb7e47af9d07..c577ad272aea 100644
--- a/sys-apps/fcron/files/fcron.conf
+++ b/sys-apps/fcron/files/fcron.conf
@@ -7,7 +7,7 @@
#
# The spool directory where fcron stores its files
-fcrontabs = /var/spool/cron/crontabs
+fcrontabs = /var/spool/cron/fcrontabs
# The location of the pidfile
pidfile = /var/run/fcron.pid
diff --git a/sys-apps/vcron/vcron-3.0.1-r1.ebuild b/sys-apps/vcron/vcron-3.0.1-r1.ebuild
index 51366a7708f3..31d35bf4ec29 100644
--- a/sys-apps/vcron/vcron-3.0.1-r1.ebuild
+++ b/sys-apps/vcron/vcron-3.0.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/vcron-3.0.1-r1.ebuild,v 1.1 2002/04/20 22:03:25 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/vcron/vcron-3.0.1-r1.ebuild,v 1.2 2002/04/21 12:40:51 bangert Exp $
MY_P=${P/vcron/vixie-cron}
S=${WORKDIR}/${MY_P}
@@ -33,9 +33,10 @@ src_compile() {
src_install() {
+ #this does not work if the directory exists already
diropts -m0750 -o root -g cron
dodir /var/spool/cron/crontabs
-
+
doman crontab.1 crontab.5 cron.8
dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS