diff options
Diffstat (limited to 'dcron/Pkgfile.old')
-rw-r--r-- | dcron/Pkgfile.old | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dcron/Pkgfile.old b/dcron/Pkgfile.old new file mode 100644 index 0000000..26e2433 --- /dev/null +++ b/dcron/Pkgfile.old @@ -0,0 +1,25 @@ +# Description: Multi-user cron daemon +# URL: http://www.jimpryor.net/linux/dcron.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=dcron +version=4.4 +release=2 +source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \ + dcron.diff crontab runjobs crond) + +build() { + cd $name-$version + + patch -p1 -i $SRC/dcron.diff + + make PREFIX=/usr + make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install + + install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root + ln -s ../var/spool/cron/crontabs/root $PKG/etc/crontab + install -D -m 755 $SRC/crond $PKG/etc/rc.d/crond + install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs + + install -d $PKG/etc/cron/{hourly,daily,weekly,monthly} +} |