burp: build with openssl_legacy

This commit is contained in:
Arjan Schrijver 2023-04-28 22:20:40 +02:00
parent 17b00c9e55
commit 44311822e5

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config
, acl, librsync, ncurses, openssl, zlib, uthash }:
, acl, librsync, ncurses, openssl_legacy, zlib, uthash }:
stdenv.mkDerivation rec {
pname = "burp";
@ -22,7 +22,9 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ librsync ncurses openssl zlib uthash ]
# use openssl_legacy due to burp-2.4.0 not supporting file encryption with openssl 3.0
# replace with 'openssl' once burp-3.x has been declared stable and this package upgraded
buildInputs = [ librsync ncurses openssl_legacy zlib uthash ]
++ lib.optional (!stdenv.isDarwin) acl;
configureFlags = [ "--localstatedir=/var" ];