2012-07-30 16:58:54 +00:00
|
|
|
{stdenv, fetchurl, openssl, pam, bzip2, zlib, inotifyTools, openldap}:
|
2011-10-25 20:34:19 +00:00
|
|
|
|
2012-06-13 07:09:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 13:32:52 +00:00
|
|
|
name = "dovecot-2.1.17";
|
2011-10-25 20:34:19 +00:00
|
|
|
|
2012-07-30 16:58:54 +00:00
|
|
|
buildInputs = [openssl pam bzip2 zlib inotifyTools openldap];
|
2011-10-25 20:34:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-13 07:09:03 +00:00
|
|
|
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
|
2013-12-18 13:32:52 +00:00
|
|
|
sha256 = "06j2s5bcrmc0dhjsyavqiss3k65p6xn00a7sffpsv6w3yngv777m";
|
2011-10-25 20:34:19 +00:00
|
|
|
};
|
|
|
|
|
2011-10-27 22:03:41 +00:00
|
|
|
# It will hardcode this for /var/lib/dovecot.
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626211
|
2012-07-30 16:58:54 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--localstatedir=/var"
|
|
|
|
"--with-ldap"
|
|
|
|
];
|
2011-10-27 22:03:41 +00:00
|
|
|
|
2011-10-25 20:34:19 +00:00
|
|
|
meta = {
|
2012-09-25 09:35:05 +00:00
|
|
|
homepage = "http://dovecot.org/";
|
2011-10-25 20:34:19 +00:00
|
|
|
description = "Open source IMAP and POP3 email server written with security primarily in mind";
|
2012-09-22 09:46:52 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
2014-05-07 09:27:54 +00:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
2011-10-25 20:34:19 +00:00
|
|
|
};
|
2012-09-22 09:46:52 +00:00
|
|
|
|
2011-10-25 20:34:19 +00:00
|
|
|
}
|