sys-process/cronie: fix USE=anacron mess
authorAlexander Tsoy <alexander@tsoy.me>
Mon, 5 Feb 2018 03:23:05 +0000 (06:23 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 14 Feb 2018 10:21:09 +0000 (11:21 +0100)
commitf79f8ac5d95fa3f88301f0bad8b03e9d5f497a59
treedcd1f5418cc653c2967d71b04685606f68a7ae51
parentf7d8c5fcb44902315f65d0094edcc0c73d9ea691
sys-process/cronie: fix USE=anacron mess

run-crons script from sys-process/cronbase is duplicating anacron's
functionality. And since we run run-crons every 10 minutes and anacron
every hour, we end up running every daily/weekly/monthly cron job twice.
Fix this by removing run-crons from crontab.

Also enable USE=anacron by default because this is closer to behaviour we
previously had with USE=-anacron (thanks to run-crons).

Closes: https://bugs.gentoo.org/621706
Closes: https://github.com/gentoo/gentoo/pull/7079
sys-process/cronie/cronie-1.5.1-r1.ebuild [new file with mode: 0644]
sys-process/cronie/files/cronie-crontab [new file with mode: 0644]