talimat 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Tanım: Sendmail paketi bir Posta Aktarım Aracısı (MTA) içerir.
  2. # URL: ftp://ftp.sendmail.org/pub/sendmail/
  3. # Paketçi: milisarge
  4. # Gerekler: ghostscript cyrus-sasl openssl procmail openldap
  5. # Grup: ağ
  6. isim=sendmail
  7. surum=8.15.2
  8. devir=1
  9. kaynak=(ftp://ftp.sendmail.org/pub/$isim/$isim.$surum.tar.gz
  10. site.config.m4)
  11. derle() {
  12. cd $isim-$surum
  13. source /etc/blfs-bootscripts
  14. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  15. tar xvf $scripts-$scriptsversion.tar.bz2
  16. cp -v $SRC/site.config.m4 devtools/Site
  17. sed -i 's|/usr/man/man|/usr/share/man/man|' \
  18. devtools/OS/Linux
  19. cd sendmail
  20. sh Build
  21. cd ../cf/cf
  22. cp generic-linux.mc sendmail.mc
  23. sh Build sendmail.cf
  24. install -v -d -m755 $PKG/etc/mail
  25. install -c -o root -g bin -m 0444 sendmail.cf $PKG/etc/mail/sendmail.cf
  26. install -c -o root -g bin -m 0444 submit.cf $PKG/etc/mail/submit.cf
  27. cd ../..
  28. sh Build install
  29. install -v -m644 cf/cf/{submit,sendmail}.mc $PKG/etc/mail
  30. cp -v -R cf/* $PKG/etc/mail
  31. install -v -m755 -d $PKG/usr/share/doc/sendmail-8.15.2/{cf,sendmail}
  32. install -v -m644 CACerts FAQ KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \
  33. $PKG/usr/share/doc/sendmail-8.15.2
  34. install -v -m644 sendmail/{README,SECURITY,TRACEFLAGS,TUNING} \
  35. $PKG/usr/share/doc/sendmail-8.15.2/sendmail
  36. install -v -m644 cf/README $PKG/usr/share/doc/sendmail-8.15.2/cf
  37. install -v -d -m755 $PKG/usr/share/man/man8
  38. for manpage in sendmail editmap mailstats makemap praliases smrsh
  39. do
  40. install -v -m644 $manpage/$manpage.8 $PKG/usr/share/man/man8
  41. done &&
  42. install -v -m644 sendmail/aliases.5 $PKG/usr/share/man/man5
  43. install -v -m644 sendmail/mailq.1 $PKG/usr/share/man/man1
  44. install -v -m644 sendmail/newaliases.1 $PKG/usr/share/man/man1
  45. install -v -m644 vacation/vacation.1 $PKG/usr/share/man/man1
  46. cd doc/op
  47. sed -i 's/groff/GROFF_NO_SGR=1 groff/' Makefile
  48. make op.txt op.pdf
  49. install -v -d -m755 $PKG/usr/share/doc/sendmail-8.15.2
  50. install -v -m644 op.ps op.txt op.pdf $PKG/usr/share/doc/sendmail-8.15.2
  51. cd ../..
  52. cd $scripts-$scriptsversion
  53. make DESTDIR=$PKG install-sendmail
  54. }