summaryrefslogtreecommitdiffstats
path: root/dcron/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /dcron/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'dcron/Pkgfile')
-rw-r--r--dcron/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/dcron/Pkgfile b/dcron/Pkgfile
new file mode 100644
index 0000000..fa1fb10
--- /dev/null
+++ b/dcron/Pkgfile
@@ -0,0 +1,22 @@
+description="Multi-user cron daemon"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.jimpryor.net/linux/dcron.html"
+depends=()
+
+name=dcron
+version=4.4
+release=2
+source=(http://www.jimpryor.net/linux/releases/dcron-4.4.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}
+}