CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wget: fixed release
[crossrootfs.git] / dcron / Pkgfile
index 83b7f05118ba81f2b8fafd08be437882dfe42255..f50e23c13ecdb7c0a4db61ed59292719f2895482 100644 (file)
@@ -6,7 +6,7 @@
 
 name=dcron
 version=4.4
-release=1
+release=2
 source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \
         crontab runjobs crond)
 
@@ -16,17 +16,10 @@ build() {
   make CC=$CC PREFIX=/usr
   make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install
 
-  install -d $PKG/var/{spool/cron,log} 
-  install -d $PKG/etc/{cron.d,cron/{hourly,daily,weekly,monthly}}
-  install -d -m 700 $PKG/var/spool/cron/crontabs
-
   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}
 
-  install -d $PKG/var/log
-  touch $PKG/var/log/cron
-  chmod 0640 $PKG/var/log/cron
+  install -d $PKG/etc/cron/{hourly,daily,weekly,monthly}
 }