2010-08-11 20:16:09 +00:00
|
|
|
{ stdenv, fetchurl, openssl, db4, gettext, automake} :
|
2010-04-10 20:27:17 +00:00
|
|
|
|
2007-10-01 15:11:38 +00:00
|
|
|
stdenv.mkDerivation {
|
2009-12-19 08:59:36 +00:00
|
|
|
name = "cyrus-sasl-2.1.23";
|
2007-10-01 15:11:38 +00: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 15:11:38 +00:00
|
|
|
};
|
2010-04-10 20:27:17 +00:00
|
|
|
preConfigure=''
|
2010-05-11 16:17:31 +00:00
|
|
|
configureFlags="--with-openssl=${openssl} --with-plugindir=$out/lib/sasl2 --with-configdir=$out/lib/sasl2 --enable-login"
|
2010-08-11 20:16:09 +00:00
|
|
|
cp ${automake}/share/automake*/config.{sub,guess} config
|
2010-04-10 20:27:17 +00:00
|
|
|
'';
|
2007-10-01 15:11:38 +00: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 15:11:38 +00:00
|
|
|
}
|