2006-02-23 15:26:10 +00:00
|
|
|
# Description: Enhanced periodical command scheduler like cron
|
2021-12-07 15:57:27 +01:00
|
|
|
# URL: http://fcron.free.fr
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: readline
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=fcron
|
2021-12-07 15:57:27 +01:00
|
|
|
version=3.3.1
|
2022-01-21 15:30:43 +01:00
|
|
|
release=2
|
2013-01-07 18:02:42 +01:00
|
|
|
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz
|
2021-12-07 15:57:27 +01:00
|
|
|
fcron systab.orig)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2021-12-07 15:57:27 +01:00
|
|
|
cd $name-$version
|
2007-06-12 08:20:04 +02:00
|
|
|
|
2021-12-07 15:57:27 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc/fcron \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--mandir=/usr/share/man \
|
2022-01-21 15:30:43 +01:00
|
|
|
--with-piddir=/run/fcron \
|
|
|
|
--with-fifodir=/run/fcron \
|
2021-12-07 15:57:27 +01:00
|
|
|
--with-spooldir=/var/spool/fcron \
|
|
|
|
--with-boot-install=no \
|
|
|
|
--with-answer-all=no \
|
|
|
|
--with-username=fcron \
|
|
|
|
--with-groupname=fcron \
|
|
|
|
--with-db2man=no \
|
|
|
|
--with-dsssl-dir=no \
|
|
|
|
--with-pam=yes \
|
|
|
|
--with-sendmail=/usr/sbin/sendmail
|
2007-01-18 14:54:52 +01:00
|
|
|
|
2021-12-07 15:57:27 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-06-12 08:20:04 +02:00
|
|
|
|
2022-01-21 15:30:43 +01:00
|
|
|
rm -r $PKG/{usr/share/{doc,man/{fr,man3}},run}
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-12-07 15:57:27 +01:00
|
|
|
install -D -m 644 files/fcron.pam $PKG/etc/pam.d/fcron
|
|
|
|
install -D -m 644 files/fcrontab.pam $PKG/etc/pam.d/fcrontab
|
|
|
|
install -D -m 755 $SRC/fcron $PKG/etc/rc.d/fcron
|
|
|
|
install -m 600 -o root -g fcron $SRC/systab.orig $PKG/var/spool/fcron
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|