talimat 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Tanım: Ana makinenizin diğer kullanıcılarına e-posta göndermek için Posta Aktarma Aracısı (MTA)
  2. # URL: http://www.postfix.org
  3. # Paketçi: milisarge
  4. # Gerekler: db cyrus-sasl openssl icu mariadb openldap pcre postgresql sqlite
  5. # Grup: ağ
  6. isim=postfix
  7. surum=3.0.3
  8. devir=1
  9. kaynak=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. source /etc/blfs-bootscripts
  13. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  14. tar xvf $scripts-$scriptsversion.tar.bz2
  15. make CCARGS="-DUSE_TLS -I/usr/include/openssl/ \
  16. -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \
  17. AUXLIBS="-lssl -lcrypto -lsasl2" \
  18. makefiles
  19. make
  20. sh postfix-install -non-interactive \
  21. daemon_directory=$PKG/usr/lib/postfix \
  22. manpage_directory=$PKG/usr/share/man \
  23. html_directory=$PKG/usr/share/doc/postfix-3.0.3/html \
  24. readme_directory=$PKG/usr/share/doc/postfix-3.0.3/readme
  25. cd $scripts-$scriptsversion
  26. make DESTDIR=$PKG install-postfix
  27. }