2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Ssl / ipv6 desteği olan IMAP ve POP3 sunucusu, öncelikle güvenlik göz önüne alınarak yazılmıştır
|
2017-01-31 01:37:09 +01:00
|
|
|
|
# URL: http://dovecot.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: clucene icu libcap pam mariadb kerberos openldap openssl postgresql sqlite valgrind
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=dovecot
|
|
|
|
|
version=2.2.21
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://dovecot.org/releases/2.2/$name-$version.tar.gz local.conf)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
cd $name-$version
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
source /etc/blfs-bootscripts
|
|
|
|
|
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
|
2017-01-31 01:37:09 +01:00
|
|
|
|
tar xvf $scripts-$scriptsversion.tar.bz2
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--docdir=/usr/share/doc/dovecot-$version \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-ssl=openssl
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
cp -r $SRC/$name-$version/doc/example-config/* $PKG/etc/dovecot
|
2017-01-31 01:37:09 +01:00
|
|
|
|
sed -i '/^\!include / s/^/#/' $PKG/etc/dovecot/dovecot.conf
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cp -r $SRC/local.conf $PKG/etc/dovecot
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cd $scripts-$scriptsversion
|
|
|
|
|
make DESTDIR=$PKG install-dovecot
|
2017-01-31 01:37:09 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|