2016-06-13 13:08:18 +02:00
|
|
|
{ stdenv, fetchurl, openssl, readline }:
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-27 19:09:19 +01:00
|
|
|
name = "socat-1.7.3.1";
|
2013-04-12 15:01:01 +02:00
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.dest-unreach.org/socat/download/${name}.tar.bz2";
|
2016-02-27 19:09:19 +01:00
|
|
|
sha256 = "1apvi7sahcl44arnq1ad2y6lbfqnmvx7nhz9i3rkk0f382anbnnj";
|
2009-11-18 10:39:59 +01:00
|
|
|
};
|
|
|
|
|
2016-06-13 13:08:18 +02:00
|
|
|
buildInputs = [ openssl readline ];
|
2013-04-12 15:01:01 +02:00
|
|
|
|
2015-11-26 16:07:55 +01:00
|
|
|
patches = [ ./enable-ecdhe.patch ./libressl-fixes.patch ];
|
2015-01-25 13:48:11 +01:00
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningEnable = [ "pie" ];
|
2016-02-26 17:45:49 +01:00
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
meta = {
|
2013-04-12 15:01:01 +02:00
|
|
|
description = "A utility for bidirectional data transfer between two independent data channels";
|
|
|
|
homepage = http://www.dest-unreach.org/socat/;
|
2014-03-13 08:09:19 +01:00
|
|
|
repositories.git = git://repo.or.cz/socat.git;
|
2014-04-12 18:37:45 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-04-12 15:01:01 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-09-13 13:51:39 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2009-11-18 10:39:59 +01:00
|
|
|
};
|
|
|
|
}
|