2008-04-23 09:34:20 +02:00
|
|
|
{stdenv, fetchurl, perl}:
|
|
|
|
|
2009-04-22 00:37:56 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "openssl-0.9.8k";
|
2008-10-09 16:29:06 +02:00
|
|
|
|
2006-09-29 23:17:10 +02:00
|
|
|
src = fetchurl {
|
2009-04-22 00:37:56 +02:00
|
|
|
url = http://www.openssl.org/source/openssl-0.9.8k.tar.gz;
|
|
|
|
sha1 = "3ba079f91d3c1ec90a36dcd1d43857165035703f";
|
2006-09-29 23:17:10 +02:00
|
|
|
};
|
2008-10-09 16:29:06 +02:00
|
|
|
|
2006-09-29 23:17:10 +02:00
|
|
|
buildInputs = [perl];
|
2008-10-09 16:29:06 +02:00
|
|
|
|
|
|
|
configureScript = "./config";
|
|
|
|
|
|
|
|
configureFlags = "shared";
|
2009-06-30 17:19:32 +02:00
|
|
|
|
2009-07-23 21:14:00 +02:00
|
|
|
patches = if stdenv.system == "i686-darwin" then [ ./darwin-arch.patch ] else [];
|
2008-10-09 16:29:06 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.openssl.org/;
|
|
|
|
description = "A cryptographic library that implements the SSL and TLS protocols";
|
|
|
|
};
|
2006-09-29 23:17:10 +02:00
|
|
|
}
|