summary refs log tree commit diff
path: root/pkgs/tools/security/tcpcrypt/default.nix
blob: be21f92cd76061d51c79b4544bb2780860f6d5c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ fetchurl, stdenv, autoconf, automake, libtool, autoreconfHook
, openssl, libcap, libnfnetlink, libnetfilter_queue
}:

stdenv.mkDerivation rec {
  name = "tcpcrypt-0.3-rc1";

  src = fetchurl {
    url = "https://github.com/scslab/tcpcrypt/archive/v0.3-rc1.tar.gz";
    sha256 = "1k79xfip95kyy91b6rnmsgl66g52zrnm92ln4jms133nm2k9s4sa";
    name = "${name}.tar.gz";
  };

  dontStrip = true;

  buildInputs = [ autoreconfHook autoconf automake libtool openssl libcap libnfnetlink libnetfilter_queue ];

  postUnpack = ''
    mkdir $sourceRoot/m4
  '';

  meta = {
    homepage = "http://tcpcrypt.org/";
    description = "enable opportunistic encryption of all TCP traffic";

    maintainers = [ stdenv.lib.maintainers.simons ];
    platforms = stdenv.lib.platforms.linux;
  };
}