mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
There doesn't seem to be a way to autostart the daemon on boot (unless we directly modify the boot script). Assume the user will do that himself by adding to ~/config/settings/boot/. crond needs to be told where to store the crontab and cronstamps file, and where to read the cron files. The default values are non-existing folders in /var and /etc (just creating those is ok, too).
64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
SUMMARY="dillon's lightweight cron daemon"
|
|
DESCRIPTION="
|
|
This is a continuation of Matt Dillon's beautifully minimalist dcron. At first
|
|
I had written a fork (yacron), but Matt has handed over maintainership of the
|
|
main dcron branch, so all of yacron was merged into dcron 4.0.
|
|
|
|
The biggest changes in v4.0 are syslogging and a variety of anacron-like
|
|
features. If you use this version of dcron, you shouldn't have any further need
|
|
for anacron.
|
|
|
|
More specifically, dcron can now:
|
|
* log to syslog or a file
|
|
* email job output to a remote addresses, instead of the local user who owns \
|
|
the job (so it works with lightweight mail handlers like msmtp, which \
|
|
don't route mail to local users).
|
|
* replace sendmail with any other script to which all job output should be piped
|
|
* various crontab syntax extensions, including @daily and @reboot and more \
|
|
finer-grained frequency specifiers. See manpages for details.
|
|
"
|
|
HOMEPAGE="http://www.jimpryor.net/linux/dcron.html"
|
|
SRC_URI="http://www.jimpryor.net/linux/releases/dcron-$portVersion.tar.gz"
|
|
CHECKSUM_MD5="078833f3281f96944fc30392b1888326"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86_gcc2"
|
|
|
|
PROVIDES="
|
|
dcron = $portVersion
|
|
cmd:crond
|
|
cmd:crontab
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:as
|
|
cmd:make
|
|
"
|
|
|
|
PATCHES="dcron-$portVersion.patchset"
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix SBINDIR=$binDir BINDIR=$binDir MANDIR=$manDir \
|
|
CRONTAB_GROUP=root CRONTABS=$prefix/var/spool/cron/crontabs \
|
|
CRONSTAMPS=$prefix/var/spool/cron/cronstamps
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="
|
|
1994 Matthew Dillon
|
|
2009-2011 James Pryor
|
|
"
|