talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Tanım: Özellik açısından zengin cron uygulaması
  2. # URL: http://fcron.free.fr
  3. # Paketçi: milisarge
  4. # Gerekler: vim fetchmail
  5. # Grup: geliştirme
  6. isim=fcron
  7. surum=3.3.0
  8. devir=1
  9. kaynak=(http://fcron.free.fr/archives/$isim-$surum.src.tar.gz
  10. servis
  11. systab.orig)
  12. derle() {
  13. getent group fcron || /sbin/groupadd -g 22 fcron
  14. getent passwd fcron || /sbin/useradd -g fcron -u 22 -d /var/spool/fcron -s /bin/false fcron
  15. /bin/passwd -l fcron
  16. cd $isim-$surum
  17. ./configure --prefix=/usr \
  18. --sysconfdir=/etc/fcron \
  19. --localstatedir=/var \
  20. --mandir=/usr/share/man \
  21. --with-spooldir=/var/spool/fcron \
  22. --with-boot-install=no \
  23. --with-answer-all=no \
  24. --with-username=fcron \
  25. --with-groupname=fcron \
  26. --with-db2man=no \
  27. --with-dsssl-dir=no \
  28. --with-pam=no \
  29. --with-sendmail="/usr/bin/fetchmail" \
  30. --with-editor="/usr/bin/vi"
  31. make
  32. make DESTDIR=$PKG install
  33. rm -r $PKG/{usr/share/{doc,man/{fr,man3}},var/run}
  34. install -D -m 755 $SRC/servis $PKG/etc/rc.d/init.d/fcron
  35. install -m 600 -o root -g fcron $SRC/systab.orig $PKG/var/spool/fcron
  36. }