milis/talimatname/genel/e/exim/talimat

39 lines
1.2 KiB
Plaintext
Raw 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: Exim, Internet'e bağlı Unix sistemlerinde kullanılmak üzere Cambridge Üniversitesi'nde geliştirilen bir mesaj aktarma aracısıdır (MTA).
# URL: http://www.exim.org
# Paketçi: berlius at nutyx dot com
# Gerekler: db openssl pcre cyrus-sasl libidn pam mariadb openldap openssl gnutls postgresql sqlite xorg
isim=exim
surum=4.86
devir=1
kaynak=(ftp://ftp.exim.org/pub/exim/exim4/$isim-$surum.tar.bz2)
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
sed -e 's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' \
-e 's,^CONF.*$,CONFIGURE_FILE=/etc/exim.conf,' \
-e 's,^EXIM_USER.*$,EXIM_USER=exim,' \
-e 's,^EXIM_MONITOR,#EXIM_MONITOR,' src/EDITME > Local/Makefile
printf "USE_GDBM = yes\nDBMLIB = -lgdbm\n" >> Local/Makefile
make
make DESTDIR=$PKG install
install -v -d -m755 $PKG/usr/share/man/man8
install -v -m644 doc/exim.8 $PKG/usr/share/man/man8
install -v -d -m755 $PKG/usr/share/doc/exim-4.86
install -v -m644 doc/* $PKG/usr/share/doc/exim-4.86
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-exim
}