2018-06-09 00:06:58 +02:00
|
|
|
|
# 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
|
2018-07-31 14:16:09 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|