Compile postgresql with openssl

This commit is contained in:
Alexander Flatter 2015-03-23 18:41:55 +01:00
parent 7811c40974
commit e8df73e508
6 changed files with 26 additions and 20 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, ncurses, readline }:
{ stdenv, fetchurl, zlib, ncurses, readline, openssl }:
let version = "8.4.22"; in
@ -10,10 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "09iqr9sldiq7jz1rdnywp2wv36lxy5m8kch3vpchd1s4fz75c7aw";
};
buildInputs = [ zlib ncurses readline ];
buildInputs = [ zlib ncurses readline openssl ];
LC_ALL = "C";
configureFlags = [ "--with-openssl" ];
patches = [ ./less-is-more.patch ];
passthru = { inherit readline; };

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, readline }:
{ stdenv, fetchurl, zlib, readline, openssl }:
let version = "9.0.19"; in
@ -10,10 +10,12 @@ stdenv.mkDerivation rec {
sha256 = "1h45jdbzdcvprdsi9gija81s3ny46h3faf9f007gza4vm6y15bak";
};
buildInputs = [ zlib readline ];
buildInputs = [ zlib readline openssl ];
LC_ALL = "C";
configureFlags = [ "--with-openssl" ];
patches = [ ./less-is-more.patch ];
passthru = {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, readline }:
{ stdenv, fetchurl, zlib, readline, openssl }:
let version = "9.1.15"; in
@ -10,12 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "0pyyw0cy91z9wkqf8qzkwsy8cyjps0s94c9czz6mzhyd2npxxmk7";
};
buildInputs = [ zlib readline ];
buildInputs = [ zlib readline openssl ];
enableParallelBuilding = true;
LC_ALL = "C";
configureFlags = [ "--with-openssl" ];
patches = [ ./less-is-more.patch ];
postInstall =

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, readline }:
{ stdenv, fetchurl, zlib, readline, openssl }:
let version = "9.2.10"; in
@ -10,12 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "1bbkinqzb3c8i0vfzcy2g7djrq0kxz63jgvzda9p0vylxazmnm1m";
};
buildInputs = [ zlib readline ];
buildInputs = [ zlib readline openssl ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
configureFlags = [ "--with-openssl" ];
patches = [ ./disable-resolve_symlinks.patch ./less-is-more.patch ];
installTargets = [ "install-world" ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, readline, libossp_uuid }:
{ stdenv, fetchurl, zlib, readline, libossp_uuid, openssl}:
with stdenv.lib;
@ -12,16 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "056ass7nnfyv7blv02anv795kgpz77gipdpxggd835cdwrhwns13";
};
buildInputs = [ zlib readline ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
buildInputs = [ zlib readline openssl ]
++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
configureFlags = optional (!stdenv.isDarwin)
''
--with-ossp-uuid
'';
configureFlags = [ "--with-openssl" ]
++ optional (!stdenv.isDarwin) "--with-ossp-uuid";
patches = [ ./disable-resolve_symlinks.patch ./less-is-more.patch ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, readline, libossp_uuid }:
{ stdenv, fetchurl, zlib, readline, libossp_uuid, openssl }:
with stdenv.lib;
@ -12,16 +12,15 @@ stdenv.mkDerivation rec {
sha256 = "19n3i14bhmw8dacd2kl3n1wzj362qv3fjmal5vsvi580h9ybgp99";
};
buildInputs = [ zlib readline ] ++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
buildInputs = [ zlib readline openssl ]
++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
configureFlags = optional (!stdenv.isDarwin)
''
--with-ossp-uuid
'';
configureFlags = [ "--with-openssl" ]
++ optional (!stdenv.isDarwin) "--with-ossp-uuid";
patches = [ ./disable-resolve_symlinks-94.patch ./less-is-more.patch ];