mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
Merge pull request #249403 from risicle/ris-opensc-CVE-2023-2977
opensc: add patch for CVE-2023-2977
This commit is contained in:
commit
4bd28e0bba
@ -1,5 +1,6 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, zlib, readline, openssl
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, zlib, readline, openssl
|
||||||
, libiconv, pcsclite, libassuan, libXt
|
, libiconv, pcsclite, libassuan, libXt
|
||||||
|
, fetchpatch
|
||||||
, docbook_xsl, libxslt, docbook_xml_dtd_412
|
, docbook_xsl, libxslt, docbook_xml_dtd_412
|
||||||
, Carbon, PCSC, buildPackages
|
, Carbon, PCSC, buildPackages
|
||||||
, withApplePCSC ? stdenv.isDarwin
|
, withApplePCSC ? stdenv.isDarwin
|
||||||
@ -16,6 +17,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-Yo8dwk7+d6q+hi7DmJ0GJM6/pmiDOiyEm/tEBSbCU8k=";
|
sha256 = "sha256-Yo8dwk7+d6q+hi7DmJ0GJM6/pmiDOiyEm/tEBSbCU8k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2023-2977.patch";
|
||||||
|
url = "https://github.com/OpenSC/OpenSC/commit/81944d1529202bd28359bede57c0a15deb65ba8a.patch";
|
||||||
|
hash = "sha256-rCeYYKPtv3pii5zgDP5x9Kl2r98p3uxyBSCYlPJZR/s=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib readline openssl libassuan
|
zlib readline openssl libassuan
|
||||||
|
Loading…
Reference in New Issue
Block a user