Re: Status of dcron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, May 02, 2011 at 04:06:47AM +0300, Grigorios Bouzakis wrote:
> Jim Pryor wrote:
> > v4.5 was released as a tarball at <http://www.jimpryor.net/linux/dcron.html>; but Paul won't be able to package it right away.
> >
> Pierre already built a 4.5 package, which is current in testing
> http://www.archlinux.org/packages/testing/i686/dcron

Super, thanks.

I suggest these changes:

--- PKGBUILD    2011-05-01 21:30:00.046676526 -0400
+++ PKGBUILD.new    2011-05-01 21:35:10.066676512 -0400
@@ -38,5 +38,8 @@
    install -D -m0600 extra/root.crontab "$pkgdir/var/spool/cron/root" 
    install -D -m755 extra/crond.rc "$pkgdir/etc/rc.d/crond"
    install -D -m0644 extra/crond.conf "$pkgdir/etc/conf.d/crond"
-   install -D -m644 extra/crond.logrotate "$pkgdir/etc/logrotate.d/crond"
+   #install -D -m644 extra/crond.logrotate "$pkgdir/etc/logrotate.d/crond"
+   install -D -m644 extra/crontab.vim "$pkgdir/usr/share/vim/vimfiles/ftplugin/crontab.vim"
+   sed -i -e 's=/var/spool/cron/cronstamps=/var/spool/cronstamps=' extra/prune-cronstamps
+   install -D -m755 extra/prune-cronstamps "$pkgdir/etc/cron.d/prune-cronstamps"
 }


But none of those are especially urgent. Note that the logrotate file
should not be installed if there continues to be a reference to
/var/log/crond.log in /etc/syslog-ng/syslog-ng.conf. I distribute it as
an example for users or distros who don't use dcron with syslog.

-- 
Jim Pryor
profjim@xxxxxxxxxxxx


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux