milis/talimatname/genel/d/dovecot/talimat

40 lines
1.1 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: Ssl / ipv6 desteği olan IMAP ve POP3 sunucusu, öncelikle güvenlik göz önüne alınarak yazılmıştır
# URL: http://dovecot.org
# Paketçi: milisarge
# Gerekler: clucene icu libcap pam mariadb kerberos openldap openssl postgresql sqlite valgrind
# Grup: ağ
isim=dovecot
surum=2.2.21
devir=1
kaynak=(http://dovecot.org/releases/2.2/$isim-$surum.tar.gz local.conf)
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
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/share/doc/dovecot-$surum \
--disable-static \
--with-ssl=openssl
make
make DESTDIR=$PKG install
cp -r $SRC/$isim-$surum/doc/example-config/* $PKG/etc/dovecot
sed -i '/^\!include / s/^/#/' $PKG/etc/dovecot/dovecot.conf
cp -r $SRC/local.conf $PKG/etc/dovecot
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-dovecot
}