milis/talimatname/genel/f/fcron/talimat

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Özellik açısından zengin cron uygulaması
2016-02-24 01:27:23 +01:00
# URL: http://fcron.free.fr
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2017-11-28 08:18:15 +01:00
# Gerekler: vim fetchmail
2018-08-15 10:36:25 +02:00
# Grup: geliştirme
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=fcron
2017-11-28 08:18:15 +01:00
surum=3.3.0
2017-10-28 14:10:23 +02:00
devir=1
2017-11-28 08:18:15 +01:00
kaynak=(http://fcron.free.fr/archives/$isim-$surum.src.tar.gz
servis
systab.orig)
2017-01-31 01:37:09 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
2017-11-28 08:18:15 +01:00
getent group fcron || /sbin/groupadd -g 22 fcron
getent passwd fcron || /sbin/useradd -g fcron -u 22 -d /var/spool/fcron -s /bin/false fcron
2017-11-28 08:33:59 +01:00
/bin/passwd -l fcron
2017-11-28 08:18:15 +01:00
cd $isim-$surum
./configure --prefix=/usr \
--sysconfdir=/etc/fcron \
--localstatedir=/var \
--mandir=/usr/share/man \
--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=no \
--with-sendmail="/usr/bin/fetchmail" \
--with-editor="/usr/bin/vi"
make
make DESTDIR=$PKG install
rm -r $PKG/{usr/share/{doc,man/{fr,man3}},var/run}
install -D -m 755 $SRC/servis $PKG/etc/rc.d/init.d/fcron
install -m 600 -o root -g fcron $SRC/systab.orig $PKG/var/spool/fcron
2016-02-24 01:27:23 +01:00
}