Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 657154 Details for
Bug 694378
sys-process/cronie[-anacron] - make it behave more like vixie-cron for daily, weekly, and monthly jobs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for cronie-1.5.5.ebuild
cronie-1.5.5.ebuild.patch (text/plain), 2.43 KB, created by
acmondor
on 2020-08-27 16:20:27 UTC
(
hide
)
Description:
Patch for cronie-1.5.5.ebuild
Filename:
MIME Type:
Creator:
acmondor
Created:
2020-08-27 16:20:27 UTC
Size:
2.43 KB
patch
obsolete
>diff -wruN cronie.org/cronie-1.5.5.ebuild cronie.new/cronie-1.5.5.ebuild >--- cronie.org/cronie-1.5.5.ebuild 2020-07-28 15:39:06.000000000 -0600 >+++ cronie.new/cronie-1.5.5.ebuild 2020-08-27 10:11:12.891651387 -0600 >@@ -11,7 +11,9 @@ > > LICENSE="ISC BSD BSD-2 GPL-2" > KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" >-IUSE="+anacron +inotify pam selinux" >+IUSE="+anacron +inotify pam selinux vixiecron" >+ >+RESTRICT="vixiecron? ( !anacron )" > > DEPEND=" > pam? ( sys-libs/pam ) >@@ -74,6 +76,24 @@ > > newconfd "${S}"/crond.sysconfig ${PN} > >+if use vixiecron ; then >+ # Make cronie behave like the old vixiecron wrt crontab processing >+ # which uses /usr/sbin/run-crons to run the hourly, daily, weekly, >+ # and montly cron jobs. >+ >+ insinto /etc >+ newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny >+ newins "${FILESDIR}/${PN}-crontab-vixiecron" crontab >+ >+ newinitd "${FILESDIR}/${PN}-1.3-initd" ${PN} >+ newpamd "${FILESDIR}/${PN}-1.4.3-pamd" crond >+ >+ systemd_newunit contrib/cronie.systemd cronie.service >+ >+ keepdir /etc/cron.d >+ >+else >+ > insinto /etc > newins "${FILESDIR}/${PN}-crontab" crontab > newins "${FILESDIR}/${PN}-1.2-cron.deny" cron.deny >@@ -102,6 +122,7 @@ > insinto /etc/cron.d > doins contrib/dailyjobs > fi >+fi > > einstalldocs > } >diff -wruN cronie.org/files/cronie-crontab-vixiecron cronie.new/files/cronie-crontab-vixiecron >--- cronie.org/files/cronie-crontab-vixiecron 1969-12-31 18:00:00.000000000 -0600 >+++ cronie.new/files/cronie-crontab-vixiecron 2019-09-14 11:35:18.992499482 -0600 >@@ -0,0 +1,24 @@ >+# Global variables >+SHELL=/bin/bash >+PATH=/sbin:/bin:/usr/sbin:/usr/bin >+MAILTO=root >+HOME=/ >+ >+# For details see man 4 crontabs >+ >+# Example of job definition: >+# .---------------- minute (0 - 59) >+# | .------------- hour (0 - 23) >+# | | .---------- day of month (1 - 31) >+# | | | .------- month (1 - 12) OR jan,feb,mar,apr ... >+# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat >+# | | | | | >+# * * * * * user-name command to be executed >+ >+# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly >+59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly >+9 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily >+19 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly >+29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly >+*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 694378
:
589844
|
589846
|
589850
| 657154