2010-04-10 22:27:17 +02:00
|
|
|
{ stdenv, fetchurl, openssl, db4, gettext} :
|
|
|
|
|
2007-10-01 17:11:38 +02:00
|
|
|
stdenv.mkDerivation {
|
2009-12-19 09:59:36 +01:00
|
|
|
name = "cyrus-sasl-2.1.23";
|
2007-10-01 17:11:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-12-19 09:59:36 +01:00
|
|
|
url = ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.23.tar.gz;
|
|
|
|
sha256 = "0dmi41hfy015pzks8n93qsshgvi0az7pv81nls4nxayb810crvr0";
|
2007-10-01 17:11:38 +02:00
|
|
|
};
|
2010-04-10 22:27:17 +02:00
|
|
|
preConfigure=''
|
2010-05-11 18:17:31 +02:00
|
|
|
configureFlags="--with-openssl=${openssl} --with-plugindir=$out/lib/sasl2 --with-configdir=$out/lib/sasl2 --enable-login"
|
2010-04-10 22:27:17 +02:00
|
|
|
'';
|
2007-10-01 17:11:38 +02:00
|
|
|
buildInputs = [ openssl db4 gettext ];
|
2009-12-19 10:09:39 +01:00
|
|
|
patches = [ ./cyrus-sasl-2.1.22-bad-elif.patch ];
|
2007-10-01 17:11:38 +02:00
|
|
|
}
|