diff --git a/srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch b/srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch new file mode 100644 index 0000000000..33fb67c5de --- /dev/null +++ b/srcpkgs/dcron/patches/fix-signal-to-crond.logrotate.patch @@ -0,0 +1,13 @@ +--- crond-4.4/extra/crond.logrotate 2010-11-26 16:27:29.961409375 +0100 ++++ crond-4.4.new/extra/crond.logrotate 2010-11-26 16:28:29.195004589 +0100 +@@ -1,8 +1,8 @@ +-/var/log/crond.log { ++/var/log/cron { + sharedscripts + copytruncate + missingok + postrotate +- kill -HUP `cat /var/run/cron.pid` ++ kill -HUP $(pidof -o %PPID crond) + endscript + } diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index ecda79760f..ad41e72d4b 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -1,6 +1,7 @@ # Template file for 'dcron' pkgname=dcron version=4.4 +revision=1 patch_args="-Np1" distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz" build_style=custom-install