milis/talimatname/genel/p/postfix/talimat

40 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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