ssldump: 1.7 -> 1.8-unstable-2024-10-16; fix darwin (#351841)

This commit is contained in:
Emily 2024-10-29 03:21:38 +00:00 committed by GitHub
commit e2a66bd4a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, cmake
, json_c
, libnet
, libpcap
@ -10,17 +10,17 @@
stdenv.mkDerivation rec {
pname = "ssldump";
version = "1.7";
version = "1.8-unstable-2024-10-16";
src = fetchFromGitHub {
owner = "adulau";
repo = "ssldump";
rev = "v${version}";
sha256 = "sha256-BFE42wWqnGGTTjwej3LkH4XW2M4jP7XNSKHLnF2GFJo=";
rev = "a7534300bb09184fec991b3b4f19a40538b8adea";
hash = "sha256-6jmIPkyT5QCqQw07unc6nKTlxpajiLO05IFshWtCh7w=";
};
nativeBuildInputs = [
autoreconfHook
cmake
];
buildInputs = [
@ -30,18 +30,6 @@ stdenv.mkDerivation rec {
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 = with lib; {
description = "SSLv3/TLS network protocol analyzer";
homepage = "https://ssldump.sourceforge.net";