My dcron recipe was missing the application-specific settings for
logrotate. To add this to the package, apply the attached patch to the
recipe.
On Tue, May 2, 2017 at 9:47 PM, Alan Beadle <[email protected]> wrote:
>> The README points to http://fedorahosted.org/mlocate/
>
> It does, but if you follow that link you will see that it redirects to
> a page indicating that fedorahosted.org was retired 2 months ago.
--- dcron.recipe.old 2017-05-04 18:26:58.761602588 -0400
+++ dcron.recipe.new 2017-05-04 18:27:54.698480016 -0400
@@ -49,6 +49,12 @@ build()
cp extra/run-cron "${destdir}/usr/sbin/run-cron"
chmod 755 "${destdir}/usr/sbin/run-cron"
+ mkdir -p "${destdir}/etc/logrotate.d/"
+ chmod 755 "${destdir}/etc/logrotate.d/"
+
+ cp -p extra/crond.logrotate "${destdir}/etc/logrotate.d/crond"
+ chmod 644 "${destdir}/etc/logrotate.d/crond"
+
mkdir -p "${destdir}/etc/cron.hourly" \
"${destdir}/etc/cron.daily" \
"${destdir}/etc/cron.weekly" \