* Go back to OpenSSL 0.9.7. Too much pain.

svn path=/nixpkgs/trunk/; revision=3333
This commit is contained in:
Eelco Dolstra 2005-07-13 12:35:26 +00:00
parent 89686a2252
commit 133b0bc637
4 changed files with 28 additions and 7 deletions

View File

@ -0,0 +1,12 @@
. $stdenv/setup
configureScript=./config
configureFlags=shared
postInstall=postInstall
postInstall() {
# Bug fix: openssl does a `chmod 644' on the pkgconfig directory.
chmod 755 $out/lib/pkgconfig || exit 1
}
genericBuild

View File

@ -0,0 +1,13 @@
{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.8";
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.8.tar.gz;
md5 = "9da21071596a124acde6080552deac16";
};
buildInputs = [perl];
# Quick fix for a Makefile bug in openssl-0.9.8 (`make install'
# tries to copy .so files, instead of .dylib files).
patches = if stdenv.system == "powerpc-darwin" then [./dylib.patch] else [];
}

View File

@ -1,13 +1,9 @@
{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.8";
name = "openssl-0.9.7g";
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.8.tar.gz;
md5 = "9da21071596a124acde6080552deac16";
url = http://www.openssl.org/source/openssl-0.9.7g.tar.gz;
md5 = "991615f73338a571b6a1be7d74906934";
};
buildInputs = [perl];
# Quick fix for a Makefile bug in openssl-0.9.8 (`make install'
# tries to copy .so files, instead of .dylib files).
patches = if stdenv.system == "powerpc-darwin" then [./dylib.patch] else [];
}