Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f5db056efd08
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c922e20b5d39
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 28, 2018

  1. exempi: patch CVE-2018-12648, enable tests on linux (#47496)

    (cherry picked from commit e502c72)
    symphorien authored and xeji committed Sep 28, 2018
    Copy the full SHA
    c922e20 View commit details
Showing with 14 additions and 1 deletion.
  1. +14 −1 pkgs/development/libraries/exempi/default.nix
15 changes: 14 additions & 1 deletion pkgs/development/libraries/exempi/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, expat, zlib, boost, libiconv, darwin }:
{ stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:

stdenv.mkDerivation rec {
name = "exempi-2.4.5";
@@ -8,13 +8,26 @@ stdenv.mkDerivation rec {
sha256 = "07i29xmg8bqriviaf4vi1mwha4lrw85kfla29cfym14fp3z8aqa0";
};

patches = [
# CVE-2018-12648
# https://gitlab.freedesktop.org/libopenraw/exempi/issues/9
# remove with exempi > 2.4.5
(fetchpatch {
name = "CVE-2018-12648.patch";
url = https://gitlab.freedesktop.org/libopenraw/exempi/commit/8ed2f034705fd2d032c81383eee8208fd4eee0ac.patch;
sha256 = "1nh8irk5p26868875wq5n8g92xp4crfb8fdd8gyna76ldyzqqx9q";
})
];

configureFlags = [
"--with-boost=${boost.dev}"
];

buildInputs = [ expat zlib boost ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];

doCheck = stdenv.isLinux;

meta = with stdenv.lib; {
homepage = https://libopenraw.freedesktop.org/wiki/Exempi/;
platforms = platforms.linux ++ platforms.darwin;