poppler: 22.08.0 -> 22.09.0
https://lists.freedesktop.org/archives/poppler/2022-August/015313.html https://gitlab.freedesktop.org/poppler/poppler/-/compare/poppler-22.08.0...poppler-22.09.0 CVE-2022-38784
This commit is contained in:
parent
d40fea9aeb
commit
ca9eb8eee3
1 changed files with 3 additions and 12 deletions
|
@ -1,7 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, cairo
|
, cairo
|
||||||
, cmake
|
, cmake
|
||||||
|
@ -43,28 +42,20 @@ let
|
||||||
owner = "poppler";
|
owner = "poppler";
|
||||||
repo = "test";
|
repo = "test";
|
||||||
rev = "920c89f8f43bdfe8966c8e397e7f67f5302e9435";
|
rev = "920c89f8f43bdfe8966c8e397e7f67f5302e9435";
|
||||||
sha256 = "sha256-ySP7zcVI3HW4lk8oqVMPTlFh5pgvBwqcE0EXE71iWos=";
|
hash = "sha256-ySP7zcVI3HW4lk8oqVMPTlFh5pgvBwqcE0EXE71iWos=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: rec {
|
stdenv.mkDerivation (finalAttrs: rec {
|
||||||
pname = "poppler-${suffix}";
|
pname = "poppler-${suffix}";
|
||||||
version = "22.08.0"; # beware: updates often break cups-filters build, check texlive and scribus too!
|
version = "22.09.0"; # beware: updates often break cups-filters build, check texlive and scribus too!
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz";
|
url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz";
|
||||||
sha256 = "sha256-tJMyhyFALyXLdSP5zcL318WfRa2Zm951xjyQYE2w8gs=";
|
hash = "sha256-16j3SCETWcrbd0uj4Y7NpkZLNAJwRcBkjrMNWFKkHi4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2022-38784.patch";
|
|
||||||
url = "https://gitlab.freedesktop.org/poppler/poppler/-/commit/27354e9d9696ee2bc063910a6c9a6b27c5184a52.patch";
|
|
||||||
sha256 = "sha256-M12zaHxcgQB/37tHffllqzd+Juq9BH5gpKVGaRY00vI=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
|
Loading…
Reference in a new issue