3
0
Fork 0
forked from mirrors/nixpkgs

Adding TCPFlow: a tool to separate tcp streams when capturing

This commit is contained in:
Michael Raskin 2014-04-11 11:08:22 +04:00
parent 07dc578572
commit 31f3755327
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{stdenv, fetchurl, openssl, zlib, libpcap, boost, cairo}:
let
s = # Generated upstream information
rec {
baseName="tcpflow";
version="1.4.4";
name="${baseName}-${version}";
hash="0k2lxlvn1x8avkrijc22scrj4p2g5agfskbgfc2d0w9zgrg61xdn";
url="http://www.digitalcorpora.org/downloads/tcpflow/tcpflow-1.4.4.tar.gz";
sha256="0k2lxlvn1x8avkrijc22scrj4p2g5agfskbgfc2d0w9zgrg61xdn";
};
buildInputs = [
openssl zlib libpcap boost cairo
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''TCP stream extractor'';
license = stdenv.lib.licenses.gpl3 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -0,0 +1 @@
url http://www.digitalcorpora.org/downloads/tcpflow/

View file

@ -2035,6 +2035,8 @@ let
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
tcpdump = callPackage ../tools/networking/tcpdump { };
tcpflow = callPackage ../tools/networking/tcpflow { };
teamviewer = callPackage_i686 ../applications/networking/remote/teamviewer { };