* Go back to OpenSSL 0.9.7. Too much pain.
svn path=/nixpkgs/trunk/; revision=3333
This commit is contained in:
parent
89686a2252
commit
133b0bc637
12
pkgs/development/libraries/openssl-0.9.8/builder.sh
Normal file
12
pkgs/development/libraries/openssl-0.9.8/builder.sh
Normal 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
|
13
pkgs/development/libraries/openssl-0.9.8/default.nix
Normal file
13
pkgs/development/libraries/openssl-0.9.8/default.nix
Normal 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 [];
|
||||
}
|
@ -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 [];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user