opt/fcron/Pkgfile
Juergen Daubert 3417cac635 fcron: use systab, use fcron user
I take the opportunity of the CRUX 2.5 release change to do two
long standing adjustments:

* use a determinded user fcron
* use systab instead of root for system crontab
2008-11-24 09:32:43 +01:00

33 lines
948 B
Plaintext

# Description: Enhanced periodical command scheduler like cron
# URL: http://fcron.free.fr
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
name=fcron
version=3.0.4
release=2
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
fcron systab.orig)
build () {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc/fcron \
--localstatedir=/var \
--mandir=/usr/man \
--with-spooldir=/var/spool/fcron \
--with-boot-install=no \
--with-username=fcron \
--with-groupname=fcron \
--with-pam=no \
--with-sendmail=/usr/sbin/sendmail
make
make -j1 DESTDIR=$PKG install
rm -r $PKG/{usr/{share,man/{fr,man3}},var/run}
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
install -m 600 $SRC/systab.orig $PKG/var/spool/fcron
}