mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
ssldump: init at 09b3
This commit is contained in:
parent
c48fd00fae
commit
fe41a8560b
30
pkgs/tools/networking/ssldump/default.nix
Normal file
30
pkgs/tools/networking/ssldump/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, openssl, libpcap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ssldump";
|
||||
version = "0.9b3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adulau";
|
||||
repo = "ssldump";
|
||||
rev = "4529d03a50d39d3697c3e39a3d6f6c9b29448aa0";
|
||||
sha256 = "0wwsamzxabfxcil5y2g4v2261vdspxlp12wz4xhji8607jbyjwr1";
|
||||
};
|
||||
|
||||
buildInputs = [ libpcap openssl ];
|
||||
prePatch = ''
|
||||
sed -i -e 's|#include.*net/bpf.h|#include <pcap/bpf.h>|' \
|
||||
base/pcap-snoop.c
|
||||
'';
|
||||
configureFlags = [ "--with-pcap-lib=${libpcap}/lib"
|
||||
"--with-pcap-inc=${libpcap}/include"
|
||||
"--with-openssl-lib=${openssl}/lib"
|
||||
"--with-openssl-inc=${openssl}/include" ];
|
||||
meta = {
|
||||
description = "ssldump is an SSLv3/TLS network protocol analyzer";
|
||||
homepage = http://ssldump.sourceforge.net;
|
||||
license = "BSD-style";
|
||||
maintainers = with stdenv.lib.maintainers; [ aycanirican ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -3682,6 +3682,8 @@ in
|
||||
|
||||
sshuttle = callPackage ../tools/security/sshuttle { };
|
||||
|
||||
ssldump = callPackage ../tools/networking/ssldump { };
|
||||
|
||||
sstp = callPackage ../tools/networking/sstp {};
|
||||
|
||||
sudo = callPackage ../tools/security/sudo { };
|
||||
|
Loading…
Reference in New Issue
Block a user