Merge pull request #104814 from erictapen/opensc-0.21.0
opensc: 0.20.0 -> 0.21.0
This commit is contained in:
commit
047b7fe16b
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, zlib, readline, openssl
|
||||
, libiconv, pcsclite, libassuan, libXt, fetchpatch
|
||||
, libiconv, pcsclite, libassuan, libXt
|
||||
, docbook_xsl, libxslt, docbook_xml_dtd_412
|
||||
, Carbon, PCSC, buildPackages
|
||||
, withApplePCSC ? stdenv.isDarwin
|
||||
@ -7,30 +7,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opensc";
|
||||
version = "0.20.0";
|
||||
version = "0.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSC";
|
||||
repo = "OpenSC";
|
||||
rev = version;
|
||||
sha256 = "0mg8qmhww3li1isfgvn5hang1hq58zra057ilvgci88csfziv5lv";
|
||||
sha256 = "sha256-OjOfA1pIu8NeN+hPuow5UVMKsg0PrsLojw5h05/Qm+o=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://nvd.nist.gov/vuln/detail/CVE-2020-26570
|
||||
name = "CVE-2020-26570.patch";
|
||||
url = "https://github.com/OpenSC/OpenSC/commit/6903aebfddc466d966c7b865fae34572bf3ed23e.patch";
|
||||
sha256 = "sha256-aB9iCVcdp9zFhZiSv5A399Ttj7NUHRVgXr0EfmMwKN4=";
|
||||
})
|
||||
(fetchpatch {
|
||||
# https://nvd.nist.gov/vuln/detail/CVE-2020-26572
|
||||
name = "CVE-2020-26572.patch";
|
||||
url = "https://github.com/OpenSC/OpenSC/commit/9d294de90d1cc66956389856e60b6944b27b4817.patch";
|
||||
sha256 = "sha256-gKJaR5K+NaXh4NeTkGpzHzHCdpt6n54Hnt1GAq0tA9o=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
buildInputs = [
|
||||
zlib readline openssl libassuan
|
||||
|
Loading…
Reference in New Issue
Block a user