2017-03-22 13:03:43 +01:00
|
|
|
|
# Description: 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
|
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on: 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)
|
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|