Merge pull request #62769 from JorisE/sngrep

sngrep: init at 1.4.6
This commit is contained in:
Aaron Andersen 2019-07-13 20:06:43 -04:00 committed by GitHub
commit abfe2572e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View File

@ -2505,6 +2505,11 @@
github = "jonringer";
name = "Jonathan Ringer";
};
jorise = {
email = "info@jorisengbers.nl";
github = "JorisE";
name = "Joris Engbers";
};
jorsn = {
name = "Johannes Rosenberger";
email = "johannes@jorsn.eu";

View File

@ -0,0 +1,38 @@
{ stdenv, autoconf, automake, fetchFromGitHub, libpcap, ncurses, openssl, pcre }:
stdenv.mkDerivation rec {
pname = "sngrep";
version = "1.4.6";
src = fetchFromGitHub {
owner = "irontec";
repo = pname;
rev = "v${version}";
sha256 = "0fj13pim5bfm3a2nr05apspraf29klpmcnhmycklfmrlncq5xqdf";
};
buildInputs = [
libpcap ncurses pcre openssl ncurses
];
nativeBuildInputs = [
autoconf automake
];
configureFlags = [
"--with-pcre"
"--enable-unicode"
"--enable-ipv6"
"--enable-eep"
];
preConfigure = "./bootstrap.sh";
meta = with stdenv.lib; {
description = "A tool for displaying SIP calls message flows from terminal";
homepage = "https://github.com/irontec/sngrep";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ jorise ];
};
}

View File

@ -18049,6 +18049,8 @@ in
wireshark-gtk = throw "Not supported anymore. Use wireshark-qt or wireshark-cli instead.";
wireshark-cli = wireshark.override { withQt = false; };
sngrep = callPackage ../applications/networking/sniffers/sngrep {};
termshark = callPackage ../tools/networking/termshark { };
fbida = callPackage ../applications/graphics/fbida { };