2017-04-12 10:55:50 +02:00
|
|
|
|
# Description: Ana makinenizin diğer kullanıcılarına e-posta göndermek için Posta Aktarma Aracısı (MTA)
|
|
|
|
|
# URL: http://www.postfix.org
|
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on: 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)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|