2014-12-10 09:23:11 +00:00
|
|
|
{ fetchurl, stdenv, autoconf, automake, libtool, autoreconfHook
|
2013-09-09 11:56:22 +01:00
|
|
|
, openssl, libcap, libnfnetlink, libnetfilter_queue
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-10 09:23:11 +00:00
|
|
|
name = "tcpcrypt-0.3-rc1";
|
2013-09-09 11:56:22 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-12-10 09:23:11 +00:00
|
|
|
url = "https://github.com/scslab/tcpcrypt/archive/v0.3-rc1.tar.gz";
|
|
|
|
sha256 = "1k79xfip95kyy91b6rnmsgl66g52zrnm92ln4jms133nm2k9s4sa";
|
2013-09-09 11:56:22 +01:00
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
2013-09-11 16:24:22 +01:00
|
|
|
dontStrip = true;
|
2013-09-09 11:56:22 +01:00
|
|
|
|
2014-12-10 09:23:11 +00:00
|
|
|
buildInputs = [ autoreconfHook autoconf automake libtool openssl libcap libnfnetlink libnetfilter_queue ];
|
2013-09-11 16:24:22 +01:00
|
|
|
|
2014-12-10 09:23:11 +00:00
|
|
|
postUnpack = ''
|
|
|
|
mkdir $sourceRoot/m4
|
|
|
|
'';
|
2013-09-09 11:56:22 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://tcpcrypt.org/";
|
|
|
|
description = "enable opportunistic encryption of all TCP traffic";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|