screen: add patch from CVE-2023-24626
This commit is contained in:
parent
a7b0ff0a0d
commit
99c5f3cec1
|
@ -1,4 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl, autoreconfHook, ncurses, libxcrypt, utmp, pam ? null }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, autoreconfHook
|
||||||
|
, ncurses
|
||||||
|
, libxcrypt
|
||||||
|
, utmp
|
||||||
|
, pam ? null
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "screen";
|
pname = "screen";
|
||||||
|
@ -9,6 +18,15 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1x1hqy4h47i7hk85f779lkwkm7gkq8h8mxwd0znkh5adpf0m4czr";
|
sha256 = "1x1hqy4h47i7hk85f779lkwkm7gkq8h8mxwd0znkh5adpf0m4czr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2023-24626.patch";
|
||||||
|
url = "https://git.savannah.gnu.org/cgit/screen.git/patch/?id=e9ad41bfedb4537a6f0de20f00b27c7739f168f7";
|
||||||
|
stripLen = 1;
|
||||||
|
sha256 = "sha256-NV6Uh4h9AK7kQMHqbxeuhjFEvwQH7OWdu7h8pZCGFog=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags= [
|
configureFlags= [
|
||||||
"--enable-telnet"
|
"--enable-telnet"
|
||||||
"--enable-pam"
|
"--enable-pam"
|
||||||
|
|
Loading…
Reference in a new issue