summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-04 23:59:48 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-04 23:59:48 +0000
commit4238569630c697caf3a696e5e0d88df2bb8e5b60 (patch)
tree38cffb5b68322c35c682a688e5e00984e0cf50ba /sys-process
parentMoved sys-apps/fcron to sys-process/fcron (diff)
downloadgentoo-2-4238569630c697caf3a696e5e0d88df2bb8e5b60.tar.gz
gentoo-2-4238569630c697caf3a696e5e0d88df2bb8e5b60.tar.bz2
gentoo-2-4238569630c697caf3a696e5e0d88df2bb8e5b60.zip
Moved from sys-apps/vixie-cron to sys-process/vixie-cron.
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/vixie-cron/ChangeLog362
-rw-r--r--sys-process/vixie-cron/Manifest33
-rw-r--r--sys-process/vixie-cron/files/cron.pam.d7
-rw-r--r--sys-process/vixie-cron/files/crontab17
-rw-r--r--sys-process/vixie-cron/files/crontab-3.0.1-r418
-rw-r--r--sys-process/vixie-cron/files/crontab.5.diff35
-rw-r--r--sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r42
-rw-r--r--sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r52
-rw-r--r--sys-process/vixie-cron/files/digest-vixie-cron-4.1-r42
-rw-r--r--sys-process/vixie-cron/files/digest-vixie-cron-4.1-r62
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff37
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch70
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff.bz2bin0 -> 1853 bytes
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff20
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-commandline.patch13
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-cron.deny5
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-pam.patch67
-rw-r--r--sys-process/vixie-cron/files/vixie-cron-4.1-selinux.diff117
-rwxr-xr-xsys-process/vixie-cron/files/vixie-cron.rc622
-rw-r--r--sys-process/vixie-cron/metadata.xml11
-rw-r--r--sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild93
-rw-r--r--sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild101
-rw-r--r--sys-process/vixie-cron/vixie-cron-4.1-r4.ebuild122
-rw-r--r--sys-process/vixie-cron/vixie-cron-4.1-r6.ebuild98
24 files changed, 1256 insertions, 0 deletions
diff --git a/sys-process/vixie-cron/ChangeLog b/sys-process/vixie-cron/ChangeLog
new file mode 100644
index 000000000000..db8433b6703b
--- /dev/null
+++ b/sys-process/vixie-cron/ChangeLog
@@ -0,0 +1,362 @@
+# ChangeLog for sys-apps/vixie-cron
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+*vixie-cron-3.0.1-r5 (04 Mar 2005)
+
+ 04 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml,
+ +files/cron.pam.d, +files/crontab, +files/crontab-3.0.1-r4,
+ +files/crontab.5.diff, +files/vixie-cron-3.0.1-close_stdin.diff,
+ +files/vixie-cron-3.0.1-pam.patch,
+ +files/vixie-cron-3.0.1-selinux.diff.bz2,
+ +files/vixie-cron-4.1-basename.diff,
+ +files/vixie-cron-4.1-commandline.patch, +files/vixie-cron-4.1-cron.deny,
+ +files/vixie-cron-4.1-pam.patch, +files/vixie-cron-4.1-selinux.diff,
+ +files/vixie-cron.rc6, +vixie-cron-3.0.1-r4.ebuild,
+ +vixie-cron-3.0.1-r5.ebuild, +vixie-cron-4.1-r4.ebuild,
+ +vixie-cron-4.1-r6.ebuild:
+ Moved from sys-apps/vixie-cron to sys-process/vixie-cron.
+
+ 04 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild, vixie-cron-3.0.1-r5.ebuild,
+ vixie-cron-4.1-r4.ebuild:
+ Move sys-apps/cronbase -> sys-process/cronbase
+
+*vixie-cron-4.1-r6 (23 Feb 2005)
+
+ 23 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/vixie-cron-4.1-basename.diff, -vixie-cron-4.1-r5.ebuild,
+ +vixie-cron-4.1-r6.ebuild:
+ Patch vixie to use basename(argv[0]) instead of argv[0] for bug 82057.
+ Thanks to Colin Kingsley for the patch.
+
+ 15 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r5.ebuild:
+ Fix dopamd invocation since the semantics were changed.
+
+ 05 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ -vixie-cron-3.0.1-r1.ebuild, -vixie-cron-3.0.1-r3.ebuild,
+ -vixie-cron-4.1-r3.ebuild:
+ Tidy!
+
+ 04 Feb 2005; Bryan Østergaard <kloeri@gentoo.org>
+ vixie-cron-4.1-r4.ebuild:
+ Stable on alpha, bug 80271.
+
+ 01 Feb 2005; Markus Rothe <corsair@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Stable on ppc64; bug #80271
+
+ 31 Jan 2005; Michael Hanselmann <hansmi@gentoo.org>
+ vixie-cron-4.1-r4.ebuild:
+ Stable on ppc, as ka0ttic requested.
+
+ 18 Jan 2005; Joshua Kinard <kumba@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Marked stable on mips.
+
+ 18 Jan 2005; Joshua Kinard <kumba@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Marked stable on mips.
+
+*vixie-cron-4.1-r5 (15 Jan 2005)
+
+ 15 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> +vixie-cron-4.1-r5.ebuild:
+ Revision bump for cron.eclass testing.
+
+ 10 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org>
+ vixie-cron-3.0.1-r1.ebuild, vixie-cron-3.0.1-r3.ebuild,
+ vixie-cron-3.0.1-r4.ebuild, vixie-cron-3.0.1-r5.ebuild,
+ vixie-cron-4.1-r3.ebuild, vixie-cron-4.1-r4.ebuild:
+ Added in a message with a link to the Cron Guide, bug #77320
+
+ 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 20 Dec 2004; Dylan Carlson <absinthe@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Stable on amd64.
+
+ 09 Dec 2004; Guy Martin <gmsoft@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Stable on hppa.
+
+ 03 Dec 2004; Aaron Walker <ka0ttic@gentoo.org>
+ files/vixie-cron-4.1-commandline.patch:
+ Updated command-line patch now that its issues have been resolved.
+
+ 03 Dec 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Give USE=debug some respect and append -DDEBUGGING to CFLAGS if enabled.
+
+ 02 Dec 2004; Aaron Walker <ka0ttic@gentoo.org>
+ files/vixie-cron-4.1-commandline.patch:
+ Reverted command-line patch until I can figure out why all of a sudden it
+ doesn't work.
+
+ 01 Dec 2004; Aaron Walker <ka0ttic@gentoo.org>
+ files/vixie-cron-4.1-commandline.patch:
+ Updated command-line patch for bug 73072. Thanks to Thomas Eschenbacher for
+ the improved patch.
+
+ 30 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ New patch revision; fixes all the uninitialized variable compiler warnings.
+
+ 25 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+ vixie-cron-4.1-r4.ebuild:
+ Stable on sparc
+
+ 24 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> -vixie-cron-4.1-r1.ebuild,
+ -vixie-cron-4.1-r2.ebuild, vixie-cron-4.1-r4.ebuild:
+ Marked r4 stable on x86; tidy up r1 and r2.
+
+ 18 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r4.ebuild:
+ Add warning in pkg_postinst if /etc/pam.d/cron is SUID and give user
+ instructions for fixing permissions.
+
+*vixie-cron-4.1-r4 (15 Nov 2004)
+
+ 15 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> +vixie-cron-4.1-r4.ebuild:
+ Revision bump; fix /etc/pam.d/cron perms bug #71326
+
+ 09 Nov 2004; Bryan Østergaard <kloeri@gentoo.org>
+ vixie-cron-4.1-r3.ebuild:
+ Stable on alpha.
+
+ 08 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+ vixie-cron-4.1-r3.ebuild:
+ Stable on sparc
+
+ 07 Nov 2004; Joshua Kinard <kumba@gentoo.org> vixie-cron-4.1-r3.ebuild:
+ Marked stable on mips.
+
+ 07 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> vixie-cron-4.1-r3.ebuild:
+ Stable on x86.
+
+*vixie-cron-4.1-r3 (04 Nov 2004)
+
+ 04 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> +vixie-cron-4.1-r3.ebuild:
+ Revision bump (bug #69796); use tc-getCC instead of ${CC}
+
+ 31 Oct 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ vixie-cron-4.1-r2.ebuild:
+ No bug reports on this, stable on sparc mips x86
+
+*vixie-cron-4.1-r2 (08 Oct 2004)
+
+ 08 Oct 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ +files/vixie-cron-4.1-commandline.patch, +vixie-cron-4.1-r2.ebuild:
+ New revision. Includes a fix for the -q options (thanks to Christophe Saout
+ <christophe at saout.de> in bug #65398), secure ldflags (bug #66348) and
+ updated HOMEPAGE (bug #65898)
+
+ 07 Oct 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml:
+ Updated metadata info.
+
+ 28 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ files/vixie-cron-4.1-selinux.diff:
+ Fix up selinux patch
+
+ 25 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> -vixie-cron-4.1.ebuild:
+ Remove 4.1, 4.1-r1 is about to be unmasked
+
+*vixie-cron-4.1-r1 (24 Sep 2004)
+
+ 24 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> +vixie-cron-4.1-r1.ebuild:
+ Fix /etc/cron.d/, bug #61961. Thanks to Aaron Walker for doing all the hard
+ work.
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild, vixie-cron-3.0.1-r5.ebuild:
+ Masked vixie-cron-3.0.1-r5.ebuild stable for ppc
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild:
+ Masked vixie-cron-3.0.1-r4.ebuild stable for ppc
+
+ 28 Aug 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ +files/vixie-cron-4.1-cron.deny, vixie-cron-4.1.ebuild:
+ Provide a sample cron.deny so that crontab works similarly to older versions
+
+*vixie-cron-4.1 (27 Aug 2004)
+
+ 27 Aug 2004; Ciaran McCreesh <ciaranm@gentoo.org>
+ +files/vixie-cron-4.1-pam.patch, +files/vixie-cron-4.1-selinux.diff.bz2,
+ +vixie-cron-4.1.ebuild:
+ Bump to version 4.1, package.masked for now. I've probably screwed up porting
+ some of the patches forward, and I can't test the selinux patch at all.
+ Feedback to bug #61961.
+
+ 27 Aug 2004; Mike Frysinger <vapier@gentoo.org> files/vixie-cron.rc6:
+ Dont need logger, use logger #57787 by Paul Varner.
+
+ 17 Aug 2004; Chris PeBenito <pebenito@gentoo.org>
+ files/vixie-cron-3.0.1-selinux.diff.bz2:
+ Update SELinux patch due to collision with PAM patch.
+
+*vixie-cron-3.0.1-r5 (17 Aug 2004)
+
+ 17 Aug 2004; Sven Wegener <swegener@gentoo.org> +files/cron.pam.d,
+ -files/vixie-cron-3.0.1-gentoo.patch, +files/vixie-cron-3.0.1-pam.patch,
+ vixie-cron-3.0.1-r1.ebuild, vixie-cron-3.0.1-r3.ebuild,
+ vixie-cron-3.0.1-r4.ebuild, +vixie-cron-3.0.1-r5.ebuild:
+ Revision bump. Added support for the pam USE flag, to allow cronjobs to be
+ restricted by the limits set via /etc/security/limits.conf. Moved large patch
+ from files/ to mirrors.
+
+ 14 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ vixie-cron-3.0.1-r1.ebuild, vixie-cron-3.0.1-r3.ebuild,
+ vixie-cron-3.0.1-r4.ebuild:
+ don't assign default to S
+
+ 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild:
+ Stable on alpha.
+
+ 15 May 2004; Joshua Kinard <kumba@gentoo.org> vixie-cron-3.0.1-r4.ebuild:
+ Marked stable on mips.
+
+ 19 Apr 2004; Jon Portnoy <avenj@gentoo.org> files/crontab.5.diff,
+ vixie-cron-3.0.1-r4.ebuild :
+ Minor manpage update from ciaranm, stolen from FreeBSD.
+
+ 19 Apr 2004; Jon Portnoy <avenj@gentoo.org> files/crontab-3.0.1-r4 :
+ Updated to do run-crons every 10 minutes rather than every minute.
+ Bug #46628.
+
+ 29 Mar 2004; Jon Portnoy <avenj@gentoo.org>
+ files/crontab, files/crontab-3.0.1-r4, vixie-cron-3.0.1-r4.ebuild :
+ No longer need SIGHUP notice, bug 39749.
+ 3.0.1-r4 stable on AMD64.
+
+ 29 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild:
+ stable on sparc
+
+ 26 Mar 2004; Seemant Kulleen <seemant@gentoo.org>
+ vixie-cron-3.0.1-r4.ebuild:
+ bump to stable x86
+
+ 14 Mar 2004; Tom Gall <tgall@gentoo.org> vixie-cron-3.0.1-r4.ebuild:
+ stable on ppc64
+
+ 28 Jan 2004; Aron Griffis <agriffis@gentoo.org> vixie-cron-3.0.1-r3.ebuild:
+ stable on alpha and ia64
+
+ 22 Jan 2004; Martin Holzer <mholzer@gentoo.org> vixie-cron-3.0.1-r1.ebuild,
+ vixie-cron-3.0.1-r3.ebuild:
+ fixing einfo. closes 39022
+
+ 28 Dec 2003; Joshua Kinard <kumba@gentoo.org> vixie-cron-3.0.1-r3.ebuild:
+ Move to mips stable (~mips -> mips)
+
+ 26 Dec 2003; root <root@gentoo.org> vixie-cron-3.0.1-r4.ebuild:
+ Marked stable on hppa.
+
+ 14 Dec 2003; Martin Schlemmer <azarah@gentoo.org> files/crontab,
+ files/crontab-3.0.1-r4:
+ Move comment. Add environment variables, else jobs run with vanilla
+ environment which might break some scripts.
+
+ 12 Dec 2003; Chris PeBenito <pebenito@gentoo.org> files/crontab,
+ files/crontab-3.0.1-r4:
+ Changed daily, weekly, and monthly runtimes to FreeBSD times (3:01, 4:15,
+ 5:30, respectively) per #3296.
+
+*vixie-cron-3.0.1-r3 (11 Dec 2003)
+
+ 11 Dec 2003; Seemant Kulleen <seemant@gentoo.org> metadata.xml,
+ vixie-cron-3.0.1-r1.ebuild, vixie-cron-3.0.1-r3.ebuild,
+ vixie-cron-3.0.1-r4.ebuild, files/crontab, files/crontab-3.0.1-r4,
+ files/vixie-cron-3.0.1-close_stdin.diff,
+ files/vixie-cron-3.0.1-gentoo.patch,
+ files/vixie-cron-3.0.1-selinux.diff.bz2, files/vixie-cron.rc6:
+ vixie-cron is the proper name for the package
+
+ 19 Nov 2003; Jason Wever <weeve@gentoo.org> vcron-3.0.1-r3.ebuild:
+ Marked stable on sparc.
+
+ 19 Nov 2003; Seemant Kulleen <seemant@gentoo.org> vcron-3.0.1-r4.ebuild:
+ fix RDEPEND syntax on cronbase -- people need to learn repoman
+
+*vixie-cron-3.0.1-r4 (19 Nov 2003)
+
+ 19 Nov 2003; Preston A. Elder <prez@gentoo.org> vcron-3.0.1-r4.ebuild,
+ crontab-3.0.1-r4:
+ Changed to allow run-crons to run minutely (requires newer cronbase).
+
+*vcron-3.0.1-r3 (12 Nov 2003)
+
+ 12 Nov 2003; Chris PeBenito <pebenito@gentoo.org> vcron-3.0.1-r2.ebuild,
+ vcron-3.0.1-r3.ebuild:
+ Bump to make sure everyone gets the fixed patch.
+
+ 12 Nov 2003; Chris PeBenito <pebenito@gentoo.org>
+ files/vcron-3.0.1-close_stdin.diff:
+ Fixed close stdin patch, to close 32911. Thanks to Mike Kordik
+ for some pointers.
+
+ 30 Oct 2003; Chris PeBenito <pebenito@gentoo.org> vcron-3.0.1-r2.ebuild:
+ Mark stable on x86 and ppc.
+
+ 28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> vcron-3.0.1-r1.ebuild,
+ vcron-3.0.1-r2.ebuild, files/vcron-3.0.1-selinux.diff.bz2:
+ Switch SELinux patch from old API to new API.
+
+*vcron-3.0.1-r2 (16 Oct 2003)
+
+ 16 Oct 2003; Chris PeBenito <pebenito@gentoo.org> vcron-3.0.1-r2.ebuild,
+ files/vcron-3.0.1-close_stdin.diff:
+ Add 1-line patch to close stdin, to close out #26413.
+
+*vixie-cron-3.0.1-r1 (20 Apr 2002)
+
+ 07 May 2003; Martin Holzer <mholzer@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Seems like the packages removed from world.
+ SRC_URI & Homepage updated. Closes #20387.
+
+ 21 Apr 2003; Guy Martin <gmsoft@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Added hppa to KEYWORDS.
+
+ 13 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest,
+ files/vixie-cron-3.0.1-gentoo.patch:
+ cleaned up patch: closing bug #19229 by Markus Nigbur <pYrania@1337-Designz.de>
+
+ 12 Apr 2003; Seemant Kulleen <seemant@gentoo.org> Manifest,
+ vcron-3.0.1-r1.ebuild:
+ slight syntax fix to not inherit eutils
+
+ 23 Mar 2003; Joshua Brindle <method@gentoo.org> vcron-3.0.1-r1.ebuild:
+ added selinux support, thanks pebenito
+
+ 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Marked as stable for mips.
+
+ 20 Feb 2003; Zach Welch <zwelch@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Add arm keyword
+
+ 19 Feb 2003; Martin Holzer <mholzer@gentoo.org> vcron-3.0.1-r1.ebuild :
+ added keepdir /var/spool/cron/crontabs/
+
+ 06 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Updated homepage tag.
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> vcron-3.0.1-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/crontab :
+ added own crontab
+ fixed path to suit /var/spool/cron/lastrun
+ added support for /etc/cron.hourly
+
+ 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> vcron-3.0.1.ebuild :
+ added PROVIDE="virtual/cron" && RDEPEND="virtual/cron"
+ removed code duplication
+ install own version of /etc/crontab
+ rdepend on sys-apps/cronbase and virtual/mta
+
+ 20 Apr 2002; Thilo Bangert <bangert@gentoo.org> files/vcron.rc6 :
+ added "provide cron"
+
+ 20 April 2002; Martin Schlemmer <azarah@gentoo.org> files/vcron.rc6 :
+ Update to NEED "logger"
+
+*vcron-3.0.1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest
new file mode 100644
index 000000000000..67117f757e44
--- /dev/null
+++ b/sys-process/vixie-cron/Manifest
@@ -0,0 +1,33 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 88bfb89997f57f140fe704346dd70362 vixie-cron-4.1-r4.ebuild 3298
+MD5 46366ab9c34660316c3c864bd1081e66 vixie-cron-3.0.1-r4.ebuild 2022
+MD5 e8be340244708dfbadb311113d44640e ChangeLog 12699
+MD5 6427940c65d4907d1dd094c2a0081308 vixie-cron-3.0.1-r5.ebuild 2205
+MD5 e1119e1aff79c6b76b76702669f4777b vixie-cron-4.1-r6.ebuild 2670
+MD5 0fcc78652b11c683f3fe76d614934379 metadata.xml 288
+MD5 4c35adb745265e3008fe1999d6a18952 files/vixie-cron-4.1-selinux.diff 3557
+MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r6 143
+MD5 90b7dda2ca0ecdd2f4dcd9764eaa2358 files/crontab-3.0.1-r4 617
+MD5 1915f29deae7e87c569877f1dbbbec67 files/vixie-cron-3.0.1-selinux.diff.bz2 1853
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r5 144
+MD5 b806ca293a6934a3965a063ec2fe0381 files/digest-vixie-cron-4.1-r4 143
+MD5 9d66b761d15afae9471d33509b712fe9 files/vixie-cron-3.0.1-close_stdin.diff 810
+MD5 f9c762005dc744193babe199ba3fb297 files/crontab 604
+MD5 041d9eec86f3869f6613b876ada841a1 files/digest-vixie-cron-3.0.1-r4 144
+MD5 08c5d571b72d52a2762b2c40639d6946 files/vixie-cron-4.1-commandline.patch 387
+MD5 cec7bf697ed66fa43aedb973b2ad5362 files/vixie-cron-3.0.1-pam.patch 1854
+MD5 620b10c2982aed3071acd92d52e76d8e files/vixie-cron-4.1-pam.patch 1714
+MD5 2790891d7be3833a500e5af547546b0d files/vixie-cron.rc6 526
+MD5 2e993fc2910f6f8d1453b3eb2dbe838c files/vixie-cron-4.1-basename.diff 479
+MD5 de84c3326555349db053b4aa13c0805f files/crontab.5.diff 772
+MD5 5eab102dfecfc35810ab8cf50f95d0d3 files/cron.pam.d 123
+MD5 8692002451e69ee31d667eb2d0dc904d files/vixie-cron-4.1-cron.deny 220
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFCKO76LLFUmVNQ7rkRAu8sAJ4iWYP9/j4lUTAO4UDi5Xl0ivQjEgCglxlT
+xxPOhFAhtDyZWGJZywJa7EI=
+=17j9
+-----END PGP SIGNATURE-----
diff --git a/sys-process/vixie-cron/files/cron.pam.d b/sys-process/vixie-cron/files/cron.pam.d
new file mode 100644
index 000000000000..e09d6f8d8325
--- /dev/null
+++ b/sys-process/vixie-cron/files/cron.pam.d
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+account required pam_unix.so
+
+auth required pam_unix.so
+
+session required pam_limits.so
diff --git a/sys-process/vixie-cron/files/crontab b/sys-process/vixie-cron/files/crontab
new file mode 100644
index 000000000000..3ee4b2b3e212
--- /dev/null
+++ b/sys-process/vixie-cron/files/crontab
@@ -0,0 +1,17 @@
+# for vixie cron
+#
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+#
+
+# Global variables
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+
+# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
+*/15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
+0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
+0 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
+15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
+30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
diff --git a/sys-process/vixie-cron/files/crontab-3.0.1-r4 b/sys-process/vixie-cron/files/crontab-3.0.1-r4
new file mode 100644
index 000000000000..69e4357684bf
--- /dev/null
+++ b/sys-process/vixie-cron/files/crontab-3.0.1-r4
@@ -0,0 +1,18 @@
+# for vixie cron
+#
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+#
+#
+
+# Global variables
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+
+# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
+0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
+1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
+15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
+30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
+*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
diff --git a/sys-process/vixie-cron/files/crontab.5.diff b/sys-process/vixie-cron/files/crontab.5.diff
new file mode 100644
index 000000000000..f50db3dc7902
--- /dev/null
+++ b/sys-process/vixie-cron/files/crontab.5.diff
@@ -0,0 +1,35 @@
+--- crontab.5.orig 2004-02-19 20:40:04.954132624 +0000
++++ crontab.5 2004-02-19 20:45:27.033169168 +0000
+@@ -153,6 +153,32 @@
+ ``30 4 1,15 * 5''
+ would cause a command to be run at 4:30 am on the 1st and 15th of each
+ month, plus every Friday.
++.PP
++Instead of the first five fields, one of eight special strings may
++appear:
++.IP
++.ta 1.5i
++string meaning
++.br
++------ -------
++.br
++@reboot Run once, at startup.
++.br
++@yearly Run once a year, "0 0 1 1 *".
++.br
++@annually (same as @yearly)
++.br
++@monthly Run once a month, "0 0 1 * *".
++.br
++@weekly Run once a week, "0 0 * * 0".
++.br
++@daily Run once a day, "0 0 * * *".
++.br
++@midnight (same as @daily)
++.br
++@hourly Run once an hour, "0 * * * *".
++.br
++.fi
+ .SH EXAMPLE CRON FILE
+ .nf
+
diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4 b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4
new file mode 100644
index 000000000000..a6ccf1b47338
--- /dev/null
+++ b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r4
@@ -0,0 +1,2 @@
+MD5 369390355808fcf947cd2f9847f88859 vixie-cron-3.0.1.tar.bz2 50376
+MD5 b9e1488f6bad0b8b5bfc94561f79c8a6 vixie-cron-3.0.1-gentoo.patch.bz2 8901
diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5 b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5
new file mode 100644
index 000000000000..a6ccf1b47338
--- /dev/null
+++ b/sys-process/vixie-cron/files/digest-vixie-cron-3.0.1-r5
@@ -0,0 +1,2 @@
+MD5 369390355808fcf947cd2f9847f88859 vixie-cron-3.0.1.tar.bz2 50376
+MD5 b9e1488f6bad0b8b5bfc94561f79c8a6 vixie-cron-3.0.1-gentoo.patch.bz2 8901
diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r4 b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r4
new file mode 100644
index 000000000000..23195713d1ae
--- /dev/null
+++ b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r4
@@ -0,0 +1,2 @@
+MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246
+MD5 7b52dead5180d5769a70b581413bd6f0 vixie-cron-4.1-gentoo-r3.patch.bz2 4121
diff --git a/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r6 b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r6
new file mode 100644
index 000000000000..23195713d1ae
--- /dev/null
+++ b/sys-process/vixie-cron/files/digest-vixie-cron-4.1-r6
@@ -0,0 +1,2 @@
+MD5 09dc04f9879684d27c64c910174a9536 vixie-cron-4.1.tar.bz2 54246
+MD5 7b52dead5180d5769a70b581413bd6f0 vixie-cron-4.1-gentoo-r3.patch.bz2 4121
diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff b/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff
new file mode 100644
index 000000000000..a365f0c3ce3c
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-3.0.1-close_stdin.diff
@@ -0,0 +1,37 @@
+diff -urN vixie-cron-3.0.1.orig/cron.c vixie-cron-3.0.1/cron.c
+--- vixie-cron-3.0.1.orig/cron.c 2003-11-07 11:33:38.000000000 -0600
++++ vixie-cron-3.0.1/cron.c 2003-11-12 12:37:42.000000000 -0600
+@@ -25,6 +25,8 @@
+
+ #include "cron.h"
+ #include <sys/signal.h>
++#include <sys/stat.h>
++#include <fcntl.h>
+ #if SYS_TIME_H
+ # include <sys/time.h>
+ # include <time.h>
+@@ -58,6 +60,7 @@
+ char *argv[];
+ {
+ cron_db database;
++ int i;
+
+ ProgramName = argv[0];
+
+@@ -108,6 +111,16 @@
+ }
+ }
+
++ /* close stdin, stdout, and stderr */
++ if ( (i = open("/dev/null", O_RDWR)) < 0) {
++ log_it("CRON",getpid(),"DEATH","can't open /dev/null");
++ exit(0);
++ }
++ close(0); dup2(i, 0);
++ close(1); dup2(i, 1);
++ close(2); dup2(i, 2);
++ close(i);
++
+ acquire_daemonlock(0);
+ database.head = NULL;
+ database.tail = NULL;
diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch b/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch
new file mode 100644
index 000000000000..898f3ee652e2
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-3.0.1-pam.patch
@@ -0,0 +1,70 @@
+diff -ur vixie-cron-3.0.1.orig/Makefile vixie-cron-3.0.1/Makefile
+--- vixie-cron-3.0.1.orig/Makefile Thu May 30 19:47:00 2002
++++ vixie-cron-3.0.1/Makefile Thu May 30 20:54:46 2002
+@@ -55,7 +55,7 @@
+ INCLUDE = -I.
+ #INCLUDE =
+ #<<need getopt()>>
+-LIBS =
++LIBS = -lpam
+ #<<optimize or debug?>>
+ OPTIM = $(RPM_OPT_FLAGS)
+ #OPTIM = -g
+diff -ur vixie-cron-3.0.1.orig/do_command.c vixie-cron-3.0.1/do_command.c
+--- vixie-cron-3.0.1.orig/do_command.c Thu May 30 19:47:00 2002
++++ vixie-cron-3.0.1/do_command.c Thu May 30 20:55:50 2002
+@@ -29,6 +29,18 @@
+ # include <syslog.h>
+ #endif
+
++#include <security/pam_appl.h>
++static pam_handle_t *pamh = NULL;
++static const struct pam_conv conv = {
++ NULL
++};
++#define PAM_FAIL_CHECK if (retcode != PAM_SUCCESS) { \
++ fprintf(stderr,"\n%s\n",pam_strerror(pamh, retcode)); \
++ syslog(LOG_ERR,"%s",pam_strerror(pamh, retcode)); \
++ pam_end(pamh, retcode); exit(1); \
++ }
++
++
+
+ static void child_process __P((entry *, user *)),
+ do_univ __P((user *));
+@@ -77,6 +89,7 @@
+ register char *input_data;
+ char *usernm, *mailto;
+ int children = 0;
++ int retcode = 0;
+
+ Debug(DPROC, ("[%d] child_process('%s')\n", getpid(), e->cmd))
+
+@@ -159,6 +172,15 @@
+ }
+ }
+
++ retcode = pam_start("cron", usernm, &conv, &pamh);
++ PAM_FAIL_CHECK;
++ retcode = pam_acct_mgmt(pamh, PAM_SILENT);
++ PAM_FAIL_CHECK;
++ retcode = pam_open_session(pamh, PAM_SILENT);
++ PAM_FAIL_CHECK;
++ retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT);
++ PAM_FAIL_CHECK;
++
+ /* fork again, this time so we can exec the user's command.
+ */
+ switch (vfork()) {
+@@ -483,7 +505,11 @@
+ if (WIFSIGNALED(waiter) && WCOREDUMP(waiter))
+ Debug(DPROC, (", dumped core"))
+ Debug(DPROC, ("\n"))
++
+ }
++ pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT);
++ retcode = pam_close_session(pamh, PAM_SILENT);
++ pam_end(pamh, retcode);
+ }
+
+
diff --git a/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff.bz2 b/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff.bz2
new file mode 100644
index 000000000000..9fbbcf8d8cd0
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-3.0.1-selinux.diff.bz2
Binary files differ
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff b/sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff
new file mode 100644
index 000000000000..c7930ddc4e97
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff
@@ -0,0 +1,20 @@
+diff --exclude='*~' -urN vixie-cron-4.1.orig/cron.c vixie-cron-4.1/cron.c
+--- vixie-cron-4.1.orig/cron.c 2005-02-23 02:05:30.730975808 -0500
++++ vixie-cron-4.1/cron.c 2005-02-23 02:07:13.233393072 -0500
+@@ -25,6 +25,7 @@
+
+ #define MAIN_PROGRAM
+
++#include <libgen.h>
+ #include "cron.h"
+
+ enum timejump { negative, small, medium, large };
+@@ -61,7 +62,7 @@
+ cron_db database;
+ int fd;
+
+- ProgramName = argv[0];
++ ProgramName = basename(argv[0]);
+
+ setlocale(LC_ALL, "");
+
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-commandline.patch b/sys-process/vixie-cron/files/vixie-cron-4.1-commandline.patch
new file mode 100644
index 000000000000..d204ad882aa2
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-commandline.patch
@@ -0,0 +1,13 @@
+--- entry.c.orig 2004-08-27 20:09:34.000000000 +0200
++++ entry.c 2004-12-01 22:16:10.992268200 +0100
+@@ -336,7 +336,9 @@
+
+ /* If the first character of the command is '-' it is a cron option.
+ */
+- while ((ch = get_char(file)) == '-') {
++ ch = get_char(file);
++ Skip_Blanks(ch, file)
++ while (ch == '-') {
+ switch (ch = get_char(file)) {
+ case 'q':
+ e->flags |= DONT_LOG;
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-cron.deny b/sys-process/vixie-cron/files/vixie-cron-4.1-cron.deny
new file mode 100644
index 000000000000..3fae4223ae4b
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-cron.deny
@@ -0,0 +1,5 @@
+# $Id: vixie-cron-4.1-cron.deny,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+# If for any reason you have users in the 'cron' group who should not
+# be allowed to run crontab, add them to this file (one username per
+# line)
+
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-pam.patch b/sys-process/vixie-cron/files/vixie-cron-4.1-pam.patch
new file mode 100644
index 000000000000..64bf67138e70
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-pam.patch
@@ -0,0 +1,67 @@
+--- vixie-cron-3.0.1.orig/Makefile Thu May 30 19:47:00 2002
++++ vixie-cron-3.0.1/Makefile Thu May 30 20:54:46 2002
+@@ -55,7 +55,7 @@
+ INCLUDE = -I.
+ #INCLUDE =
+ #<<need getopt()>>
+-LIBS =
++LIBS = -lpam
+ #<<optimize or debug?>>
+ OPTIM = $(RPM_OPT_FLAGS)
+ #OPTIM = -g
+--- vixie-cron-3.0.1.orig/do_command.c Thu May 30 19:47:00 2002
++++ vixie-cron-3.0.1/do_command.c Thu May 30 20:55:50 2002
+@@ -25,6 +25,18 @@
+
+ #include "cron.h"
+
++#include <security/pam_appl.h>
++static pam_handle_t *pamh = NULL;
++static const struct pam_conv conv = {
++ NULL
++};
++#define PAM_FAIL_CHECK if (retcode != PAM_SUCCESS) { \
++ fprintf(stderr,"\n%s\n",pam_strerror(pamh, retcode)); \
++ syslog(LOG_ERR,"%s",pam_strerror(pamh, retcode)); \
++ pam_end(pamh, retcode); exit(1); \
++ }
++
++
+ static void child_process(entry *, user *);
+ static int safe_p(const char *, const char *);
+
+@@ -65,6 +77,7 @@
+ int stdin_pipe[2], stdout_pipe[2];
+ char *input_data, *usernm, *mailto;
+ int children = 0;
++ int retcode = 0;
+
+ Debug(DPROC, ("[%ld] child_process('%s')\n", (long)getpid(), e->cmd))
+
+@@ -134,6 +147,16 @@
+ *p = '\0';
+ }
+
++
++ retcode = pam_start("cron", usernm, &conv, &pamh);
++ PAM_FAIL_CHECK;
++ retcode = pam_acct_mgmt(pamh, PAM_SILENT);
++ PAM_FAIL_CHECK;
++ retcode = pam_open_session(pamh, PAM_SILENT);
++ PAM_FAIL_CHECK;
++ retcode = pam_setcred(pamh, PAM_ESTABLISH_CRED | PAM_SILENT);
++ PAM_FAIL_CHECK;
++
+ /* fork again, this time so we can exec the user's command.
+ */
+ switch (vfork()) {
+@@ -507,6 +530,9 @@
+ Debug(DPROC, (", dumped core"))
+ Debug(DPROC, ("\n"))
+ }
++ pam_setcred(pamh, PAM_DELETE_CRED | PAM_SILENT);
++ retcode = pam_close_session(pamh, PAM_SILENT);
++ pam_end(pamh, retcode);
+ }
+
+ static int
diff --git a/sys-process/vixie-cron/files/vixie-cron-4.1-selinux.diff b/sys-process/vixie-cron/files/vixie-cron-4.1-selinux.diff
new file mode 100644
index 000000000000..a4621e2530da
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron-4.1-selinux.diff
@@ -0,0 +1,117 @@
+--- vixie-cron-3.0.1/Makefile.selinux 2003-05-20 14:52:06.000000000 -0400
++++ vixie-cron-3.0.1/Makefile 2003-05-20 14:52:21.000000000 -0400
+@@ -71,7 +71,8 @@ LINTFLAGS = -hbxa $(INCLUDE) $(COMPAT) $
+ #<<want to use a nonstandard CC?>>
+ #CC = vcc
+ #<<manifest defines>>
+-DEFS =
++DEFS = -s -DWITH_SELINUX
++LIBS += -lselinux
+ #(SGI IRIX systems need this)
+ #DEFS = -D_BSD_SIGNALS -Dconst=
+ #<<the name of the BSD-like install program>>
+--- vixie-cron-3.0.1/database.c.selinux 2003-05-20 14:52:56.000000000 -0400
++++ vixie-cron-3.0.1/database.c 2003-05-23 13:27:24.898020960 -0400
+@@ -28,6 +28,15 @@
+
+ #include "cron.h"
+
++#ifdef WITH_SELINUX
++#include <selinux/selinux.h>
++#include <selinux/flask.h>
++#include <selinux/av_permissions.h>
++#define SYSUSERNAME "system_u"
++#else
++#define SYSUSERNAME "*system*"
++#endif
++
+ #define TMAX(a,b) ((a)>(b)?(a):(b))
+
+ static void process_crontab(const char *, const char *,
+@@ -217,7 +226,7 @@
+ if (fname == NULL) {
+ /* must be set to something for logging purposes.
+ */
+- fname = "*system*";
++ fname = SYSUSERNAME;
+ } else if ((pw = getpwnam(uname)) == NULL) {
+ /* file doesn't have a user in passwd file.
+ */
+@@ -279,6 +288,43 @@
+ free_user(u);
+ log_it(fname, getpid(), "RELOAD", tabname);
+ }
++#ifdef WITH_SELINUX
++ if (is_selinux_enabled()) {
++ security_context_t file_context=NULL;
++ security_context_t user_context=NULL;
++ struct av_decision avd;
++ int retval=0;
++
++ if (fgetfilecon(crontab_fd, &file_context) < OK) {
++ log_it(fname, getpid(), "getfilecon FAILED", tabname);
++ goto next_crontab;
++ }
++
++ /*
++ * Since crontab files are not directly executed,
++ * crond must ensure that the crontab file has
++ * a context that is appropriate for the context of
++ * the user cron job. It performs an entrypoint
++ * permission check for this purpose.
++ */
++ if (get_default_context(fname, NULL, &user_context)) {
++ log_it(fname, getpid(), "NO CONTEXT", tabname);
++ freecon(file_context);
++ goto next_crontab;
++ }
++ retval = security_compute_av(user_context,
++ file_context,
++ SECCLASS_FILE,
++ FILE__ENTRYPOINT,
++ &avd);
++ freecon(user_context);
++ freecon(file_context);
++ if (retval || ((FILE__ENTRYPOINT & avd.allowed) != FILE__ENTRYPOINT)) {
++ log_it(fname, getpid(), "ENTRYPOINT FAILED", tabname);
++ goto next_crontab;
++ }
++ }
++#endif
+ u = load_user(crontab_fd, pw, fname);
+ if (u != NULL) {
+ u->mtime = statbuf->st_mtime;
+--- vixie-cron-3.0.1/do_command.c.selinux 2003-05-20 14:53:12.000000000 -0400
++++ vixie-cron-3.0.1/do_command.c 2003-05-20 14:58:06.000000000 -0400
+@@ -25,6 +25,10 @@
+
+ #include "cron.h"
+
++#ifdef WITH_SELINUX
++#include <selinux/selinux.h>
++#endif
++
+ static void child_process(entry *, user *);
+ static int safe_p(const char *, const char *);
+
+@@ -265,6 +269,20 @@
+ _exit(OK_EXIT);
+ }
+ # endif /*DEBUGGING*/
++#ifdef WITH_SELINUX
++ if (is_selinux_enabled()) {
++ security_context_t scontext;
++ if (get_default_context(u->name, NULL, &scontext)) {
++ fprintf(stderr, "execle_secure: couldn't get security context for user %s\n", u->name);
++ _exit(ERROR_EXIT);
++ }
++ if (setexeccon(scontext) < 0) {
++ fprintf(stderr, "Could not set exec context to %s for user %s\n", scontext,u->name);
++ _exit(ERROR_EXIT);
++ }
++ freecon(scontext);
++ }
++#endif
+ execle(shell, shell, "-c", e->cmd, (char *)0, e->envp);
+ fprintf(stderr, "execl: couldn't exec `%s'\n", shell);
+ perror("execl");
diff --git a/sys-process/vixie-cron/files/vixie-cron.rc6 b/sys-process/vixie-cron/files/vixie-cron.rc6
new file mode 100755
index 000000000000..bb31605ae09b
--- /dev/null
+++ b/sys-process/vixie-cron/files/vixie-cron.rc6
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/vixie-cron.rc6,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+depend() {
+ use logger
+ need clock localmount
+ provide cron
+}
+
+start() {
+ ebegin "Starting vixie-cron"
+ start-stop-daemon --start --quiet --exec /usr/sbin/cron
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping vixie-cron"
+ start-stop-daemon --stop --quiet --pidfile /var/run/cron.pid
+ eend $?
+}
diff --git a/sys-process/vixie-cron/metadata.xml b/sys-process/vixie-cron/metadata.xml
new file mode 100644
index 000000000000..a2d4a69bf49f
--- /dev/null
+++ b/sys-process/vixie-cron/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cron</herd>
+ <maintainer>
+ <email>ciaranm@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild b/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild
new file mode 100644
index 000000000000..67b1825e3147
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-3.0.1-r4.ebuild,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+inherit eutils
+
+IUSE="selinux"
+
+SELINUX_PATCH="${P}-selinux.diff.bz2"
+
+DESCRIPTION="The Vixie cron daemon"
+HOMEPAGE="http://www.vix.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo.patch.bz2"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 ppc sparc alpha mips hppa ~ia64 amd64 ppc64"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4.0.5
+ selinux? ( sys-libs/libselinux )"
+
+RDEPEND="!virtual/cron
+ >=sys-process/cronbase-0.2.1-r3
+ virtual/mta
+ selinux? ( sys-libs/libselinux )"
+
+PROVIDE="virtual/cron"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ epatch ${WORKDIR}/${P}-gentoo.patch
+ epatch ${FILESDIR}/${P}-close_stdin.diff
+ epatch ${FILESDIR}/crontab.5.diff
+
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #this does not work if the directory exists already
+ diropts -m0750 -o root -g cron
+ dodir /var/spool/cron/crontabs
+ keepdir /var/spool/cron/crontabs/
+
+ doman crontab.1 crontab.5 cron.8
+
+ dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS
+
+ diropts -m0755 ; dodir /etc/cron.d
+ keepdir /etc/cron.d/
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/vixie-cron.rc6 vixie-cron
+
+ insinto /etc
+ insopts -o root -g root -m 0644
+ newins ${FILESDIR}/crontab-3.0.1-r4 crontab
+
+ dodoc ${FILESDIR}/crontab
+
+ insinto /usr/sbin
+ insopts -o root -g root -m 0750 ; doins cron
+
+ insinto /usr/bin
+ insopts -o root -g cron -m 4750 ; doins crontab
+}
+
+pkg_postinst() {
+
+ if [ -f ${ROOT}/etc/init.d/vcron ]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ echo
+ einfo "You may wish to read the Gentoo Linux Cron Guide, which can be"
+ einfo "found online at:"
+ einfo " http://www.gentoo.org/doc/en/cron-guide.xml"
+ echo
+}
+
diff --git a/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild b/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild
new file mode 100644
index 000000000000..5a905fb2ef0e
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-3.0.1-r5.ebuild,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+inherit eutils
+
+IUSE="selinux pam"
+
+SELINUX_PATCH="${P}-selinux.diff.bz2"
+
+DESCRIPTION="The Vixie cron daemon"
+HOMEPAGE="http://www.vix.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo.patch.bz2"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4.0.5
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+RDEPEND="!virtual/cron
+ >=sys-process/cronbase-0.2.1-r3
+ virtual/mta
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+PROVIDE="virtual/cron"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ epatch ${WORKDIR}/${P}-gentoo.patch
+ epatch ${FILESDIR}/${P}-close_stdin.diff
+ epatch ${FILESDIR}/crontab.5.diff
+
+ use pam && epatch ${FILESDIR}/${P}-pam.patch
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ #this does not work if the directory exists already
+ diropts -m0750 -o root -g cron
+ dodir /var/spool/cron/crontabs
+ keepdir /var/spool/cron/crontabs/
+
+ doman crontab.1 crontab.5 cron.8
+
+ dodoc CHANGES CONVERSION FEATURES MAIL MANIFEST README THANKS
+
+ diropts -m0755 ; dodir /etc/cron.d
+ keepdir /etc/cron.d/
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/vixie-cron.rc6 vixie-cron
+
+ insinto /etc
+ insopts -o root -g root -m 0644
+ newins ${FILESDIR}/crontab-3.0.1-r4 crontab
+
+ dodoc ${FILESDIR}/crontab
+
+ insinto /usr/sbin
+ insopts -o root -g root -m 0750 ; doins cron
+
+ insinto /usr/bin
+ insopts -o root -g cron -m 4750 ; doins crontab
+
+ if use pam
+ then
+ insinto /etc/pam.d
+ newins ${FILESDIR}/cron.pam.d cron
+ fi
+}
+
+pkg_postinst() {
+
+ if [ -f ${ROOT}/etc/init.d/vcron ]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ echo
+ einfo "You may wish to read the Gentoo Linux Cron Guide, which can be"
+ einfo "found online at:"
+ einfo " http://www.gentoo.org/doc/en/cron-guide.xml"
+ echo
+}
diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r4.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r4.ebuild
new file mode 100644
index 000000000000..e89051929ab1
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-4.1-r4.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r4.ebuild,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+inherit eutils flag-o-matic toolchain-funcs debug
+
+# no useful homepage, bug #65898
+HOMEPAGE="ftp://ftp.isc.org/isc/cron/"
+DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation"
+
+SELINUX_PATCH="${P}-selinux.diff"
+GENTOO_PATCH_REV="r3"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
+IUSE="selinux pam debug"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4.0.5
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+RDEPEND="!virtual/cron
+ >=sys-process/cronbase-0.2.1-r3
+ virtual/mta
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+PROVIDE="virtual/cron"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${WORKDIR}/${P}-gentoo-${GENTOO_PATCH_REV}.patch
+ epatch ${FILESDIR}/crontab.5.diff
+ epatch ${FILESDIR}/${P}-commandline.patch
+
+ use pam && epatch ${FILESDIR}/${P}-pam.patch
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+}
+
+src_compile() {
+ # we need to tinker with ldflags since we're installing as setuid. see
+ # "[gentoo-core] Heads up changes in suid handing with portage >=51_pre21"
+ # for details. Note that we do the sed fixes here rather than in unpack so
+ # that our changes to LDFLAGS are picked up.
+
+ append-ldflags -Wl,-z,now
+ use debug && append-flags -DDEBUGGING
+
+ sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \
+ -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ # this does not work if the directory exists already
+ diropts -m0750 -o root -g cron
+ dodir /var/spool/cron/crontabs
+ keepdir /var/spool/cron/crontabs/
+
+ doman crontab.1 crontab.5 cron.8
+
+ dodoc CHANGES CONVERSION FEATURES MAIL README THANKS
+
+ diropts -m0755 ; dodir /etc/cron.d
+ keepdir /etc/cron.d/
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/vixie-cron.rc6 vixie-cron
+
+ insinto /etc
+ insopts -o root -g root -m 0644
+ newins ${FILESDIR}/crontab-3.0.1-r4 crontab
+ newins ${FILESDIR}/${P}-cron.deny cron.deny
+
+ dodoc ${FILESDIR}/crontab
+
+ insinto /usr/sbin
+ insopts -o root -g root -m 0750 ; doins cron
+
+ insinto /usr/bin
+ insopts -o root -g cron -m 4750 ; doins crontab
+
+ if use pam ; then
+ insinto /etc/pam.d
+ insopts -o root -g root -m 0644
+ newins ${FILESDIR}/cron.pam.d cron
+ fi
+}
+
+pkg_postinst() {
+ if [ -f ${ROOT}/etc/init.d/vcron ]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ # bug 71326
+ if [ -u ${ROOT}/etc/pam.d/cron ] ; then
+ echo
+ ewarn "Warning: previous ebuilds didn't reset permissions prior"
+ ewarn "to installing crontab, resulting in /etc/pam.d/cron being"
+ ewarn "installed with the SUID and executable bits set."
+ ewarn
+ ewarn "Run the following as root to set the proper permissions:"
+ ewarn " chmod 0644 /etc/pam.d/cron"
+ echo
+ fi
+
+ echo
+ einfo "You may wish to read the Gentoo Linux Cron Guide, which can be"
+ einfo "found online at:"
+ einfo " http://www.gentoo.org/doc/en/cron-guide.xml"
+ echo
+}
diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r6.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r6.ebuild
new file mode 100644
index 000000000000..41447a97b30e
--- /dev/null
+++ b/sys-process/vixie-cron/vixie-cron-4.1-r6.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r6.ebuild,v 1.1 2005/03/04 23:59:48 ciaranm Exp $
+
+inherit cron toolchain-funcs debug
+
+# no useful homepage, bug #65898
+HOMEPAGE="ftp://ftp.isc.org/isc/cron/"
+DESCRIPTION="Paul Vixie's cron daemon, a fully featured crond implementation"
+
+SELINUX_PATCH="${P}-selinux.diff"
+GENTOO_PATCH_REV="r3"
+
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-gentoo-${GENTOO_PATCH_REV}.patch.bz2"
+
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="selinux pam debug"
+
+DEPEND=">=sys-apps/portage-2.0.47-r10
+ selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+RDEPEND="selinux? ( sys-libs/libselinux )
+ pam? ( sys-libs/pam )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${WORKDIR}/${P}-gentoo-${GENTOO_PATCH_REV}.patch
+ epatch ${FILESDIR}/crontab.5.diff
+ epatch ${FILESDIR}/${P}-commandline.patch
+ epatch ${FILESDIR}/${P}-basename.diff
+
+ use pam && epatch ${FILESDIR}/${P}-pam.patch
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+}
+
+src_compile() {
+ # we need to tinker with ldflags since we're installing as setuid. see
+ # "[gentoo-core] Heads up changes in suid handing with portage >=51_pre21"
+ # for details. Note that we do the sed fixes here rather than in unpack so
+ # that our changes to LDFLAGS are picked up.
+
+ append-ldflags -Wl,-z,now
+ use debug && append-flags -DDEBUGGING
+
+ sed -i -e "s:gcc \(-Wall.*\):$(tc-getCC) \1 ${CFLAGS}:" \
+ -e "s:^\(LDFLAGS[ \t]\+=\).*:\1 ${LDFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ docrondir
+ docron
+ docrontab
+
+ # /etc stuff
+ insinto /etc
+ newins ${FILESDIR}/crontab-3.0.1-r4 crontab
+ newins ${FILESDIR}/${P}-cron.deny cron.deny
+
+ keepdir /etc/cron.d
+ newpamd ${FILESDIR}/cron.pam.d cron
+ newinitd ${FILESDIR}/vixie-cron.rc6 vixie-cron
+
+ # doc stuff
+ doman crontab.1 crontab.5 cron.8
+ dodoc ${FILESDIR}/crontab
+ dodoc CHANGES CONVERSION FEATURES MAIL README THANKS
+}
+
+pkg_postinst() {
+ if [[ -f ${ROOT}/etc/init.d/vcron ]]
+ then
+ ewarn "Please run:"
+ ewarn "rc-update del vcron"
+ ewarn "rc-update add vixie-cron default"
+ fi
+
+ # bug 71326
+ if [[ -u ${ROOT}/etc/pam.d/cron ]] ; then
+ echo
+ ewarn "Warning: previous ebuilds didn't reset permissions prior"
+ ewarn "to installing crontab, resulting in /etc/pam.d/cron being"
+ ewarn "installed with the SUID and executable bits set."
+ ewarn
+ ewarn "Run the following as root to set the proper permissions:"
+ ewarn " chmod 0644 /etc/pam.d/cron"
+ echo
+ fi
+
+ cron-pkg_postinst
+}