Skip to content

Commit

Permalink
opensc: 0.19.0 -> 0.20.0 (#76666)
Browse files Browse the repository at this point in the history
(cherry picked from commit a436604)
  • Loading branch information
erictapen authored and veprbl committed Dec 31, 2019
1 parent e3e26c9 commit 2f3bbb5
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions pkgs/tools/security/opensc/default.nix
Expand Up @@ -7,33 +7,15 @@

stdenv.mkDerivation rec {
pname = "opensc";
version = "0.19.0";
version = "0.20.0";

src = fetchFromGitHub {
owner = "OpenSC";
repo = "OpenSC";
rev = version;
sha256 = "10575gb9l38cskq7swyjp0907wlziyxg4ppq33ndz319dsx69d87";
sha256 = "0mg8qmhww3li1isfgvn5hang1hq58zra057ilvgci88csfziv5lv";
};

patches = [
(fetchpatch {
name = "CVE-2019-6502.patch";
url = "https://github.com/OpenSC/OpenSC/commit/0d7967549751b7032f22b437106b41444aff0ba9.patch";
sha256 = "1y42lmz8i9w99hgpakdncnv8f94cqjfabz0v4xg6wfz9akl3ff7d";
})
(fetchpatch {
name = "CVE-2019-15945.patch";
url = "https://github.com/OpenSC/OpenSC/commit/412a6142c27a5973c61ba540e33cdc22d5608e68.patch";
sha256 = "088i2i1fkvdxnywmb54bn4283vhbxx6i2632b34ss5dh7k080hp7";
})
(fetchpatch {
name = "CVE-2019-15946.patch";
url = "https://github.com/OpenSC/OpenSC/commit/a3fc7693f3a035a8a7921cffb98432944bb42740.patch";
sha256 = "1qr9n8cbarrdn4kr5z0ys7flq50hfmcbm8584mhw7r39p08qwmvq";
})
];

nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [
zlib readline openssl libassuan
Expand Down

0 comments on commit 2f3bbb5

Please sign in to comment.