Merge pull request #228787 from arjan-s/fix-burp-openssl

burp: build with openssl_legacy
This commit is contained in:
Artturi 2023-04-30 12:15:58 +03:00 committed by GitHub
commit 0fedd63ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" ];