2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Ana makinenizin diğer kullanıcılarına e-posta göndermek için Posta Aktarma Aracısı (MTA)
|
2017-04-12 10:55:50 +02:00
|
|
|
|
# URL: http://www.postfix.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: db cyrus-sasl openssl icu mariadb openldap pcre postgresql sqlite
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=postfix
|
|
|
|
|
version=3.0.3
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$name-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|