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