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: 93a38cd0982d
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: dfc0b3afdd63
Choose a head ref
  • 9 commits
  • 7 files changed
  • 7 contributors

Commits on Jul 3, 2020

  1. Copy the full SHA
    a7ce724 View commit details

Commits on Jul 7, 2020

  1. Merge pull request #92160 from ckauhaus/sqlite-cves-20.03

    [20.03] sqlite: 3.32.2 -> 3.32.3
    Christian Kauhaus authored Jul 7, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    02a83b1 View commit details

Commits on Jul 10, 2020

  1. Copy the full SHA
    58f5c23 View commit details

Commits on Jul 14, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d2ee024 View commit details

Commits on Jul 20, 2020

  1. fontforge: 20190413 -> 20190801

    - Init libuninameslist at 20190701 as it is a new dependency to fontforge
    - Remove gnulib, as it is not used anymore
    - Remove a non-applying patch
    - Add myself as maintainer
    
    (cherry picked from commit 4496f8f)
    erictapen authored and davidak committed Jul 20, 2020
    Copy the full SHA
    a7447ff View commit details
  2. fontforge: 20190801 -> 20200314

    This fixes the failing build.
    
    Build system changed to cmake.
    
    (cherry picked from commit e9848d1)
    Reason: fixes CVE-2019-15785, CVE-2020-5395, CVE-2020-5496
    alyssais authored and davidak committed Jul 20, 2020
    Copy the full SHA
    99b72d2 View commit details
  3. Merge pull request #93496 from davidak/backport-fontforge

    [staging-20.03] fontforge: 20190413 -> 20200314
    infinisil authored Jul 20, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d122741 View commit details

Commits on Jul 22, 2020

  1. Merge branch 'release-20.03' into staging-20.03

    This merge is bringing really large amount of rebuilds :-/
       1939 x86_64-darwin
       9657 x86_64-linux
    vcunat committed Jul 22, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    3302c4d View commit details

Commits on Jul 23, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    dfc0b3a View commit details
28 changes: 28 additions & 0 deletions pkgs/development/libraries/libuninameslist/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
}:

stdenv.mkDerivation rec {
pname = "libuninameslist";
version = "20190701";

src = fetchFromGitHub {
owner = "fontforge";
repo = pname;
rev = version;
sha256 = "sha256:034c8clnskvqbwyiq7si4dad1kbngi3jmnrj064i39msqixmpdzb";
};

nativeBuildInputs = [
autoreconfHook
];

meta = with stdenv.lib; {
homepage = https://github.com/fontforge/libuninameslist/;
description = "A Library of Unicode names and annotation data";
license = licenses.bsd3;
maintainers = with maintainers; [ erictapen ];
platforms = platforms.all;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/sqlite/analyzer.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@ in

stdenv.mkDerivation rec {
pname = "sqlite-analyzer";
version = "3.32.2";
version = "3.32.3";

src = assert version == sqlite.version; fetchurl {
url = "https://sqlite.org/2020/sqlite-src-${archiveVersion version}.zip";
sha256 = "1jqhs896cvp9l399mjpbv1x2qbfvq875l1vrgnl3zc4ffdjxs9z0";
sha256 = "1fgmslzf013ry3a7g2vms7zyg24gs53gfj308r6ki4inbn3g04lk";
};

nativeBuildInputs = [ unzip ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/sqlite/default.nix
Original file line number Diff line number Diff line change
@@ -10,12 +10,12 @@ in

stdenv.mkDerivation rec {
pname = "sqlite";
version = "3.32.2";
version = "3.32.3";

# NB! Make sure to update analyzer.nix src (in the same directory).
src = fetchurl {
url = "https://sqlite.org/2020/sqlite-autoconf-${archiveVersion version}.tar.gz";
sha256 = "1130bcd70s2vlsq0d638pb5qrw9kwqvjswnp2dfypghx9hjz3gid";
sha256 = "0rlbaq177gcgk5dswd3akbhv2nvvzljrbhgy18hklbhw7h90f5d3";
};

outputs = [ "bin" "dev" "out" ];
40 changes: 14 additions & 26 deletions pkgs/tools/misc/fontforge/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
{ stdenv, fetchurl, lib
, autoconf, automake, gnum4, libtool, perl, gnulib, uthash, pkgconfig, gettext
, cmake, perl, uthash, pkgconfig, gettext
, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, cairo, pango
, readline, woff2, zeromq
, readline, woff2, zeromq, libuninameslist
, withSpiro ? false, libspiro
, withGTK ? false, gtk2
, withGTK ? false, gtk3
, withPython ? true
, withExtras ? true
, Carbon ? null, Cocoa ? null
}:

stdenv.mkDerivation rec {
pname = "fontforge";
version = "20190413";
version = "20200314";

src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "05v640mnk4fy4jzmxb6c4n4qm800x7hy4sl5gcdgzmm3md2s0qk7";
url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "0qf88wd6riycq56d24brybyc93ns74s0nyyavm43zp2kfcihn6fd";
};

patches = [ ./fontforge-20140813-use-system-uthash.patch ];

# use $SOURCE_DATE_EPOCH instead of non-deterministic timestamps
postPatch = ''
find . -type f -name '*.c' -exec sed -r -i 's#\btime\(&(.+)\)#if (getenv("SOURCE_DATE_EPOCH")) \1=atol(getenv("SOURCE_DATE_EPOCH")); else &#g' {} \;
@@ -32,47 +30,37 @@ stdenv.mkDerivation rec {
# do not use x87's 80-bit arithmetic, rouding errors result in very different font binaries
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-msse2 -mfpmath=sse";

nativeBuildInputs = [ pkgconfig autoconf automake gnum4 libtool perl gettext ];
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [
readline uthash woff2 zeromq
readline uthash woff2 zeromq libuninameslist
python freetype zlib glib libungif libpng libjpeg libtiff libxml2
]
++ lib.optionals withSpiro [libspiro]
++ lib.optionals withGTK [ gtk2 cairo pango ]
++ lib.optionals withGTK [ gtk3 cairo pango ]
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];

configureFlags = [ "--enable-woff2" ]
++ lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ]
++ lib.optional withGTK "--enable-gtk2-use"
++ lib.optional (!withGTK) "--without-x"
++ lib.optional withExtras "--enable-fontforge-extras";
cmakeFlags = [ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON" ]
++ lib.optional (!withSpiro) "-DENABLE_LIBSPIRO=OFF"
++ lib.optional (!withGTK) "-DENABLE_GUI=OFF"
++ lib.optional withExtras "-DENABLE_FONTFORGE_EXTRAS=ON";

# work-around: git isn't really used, but configuration fails without it
preConfigure = ''
# The way $version propagates to $version of .pe-scripts (https://github.com/dejavu-fonts/dejavu-fonts/blob/358190f/scripts/generate.pe#L19)
export SOURCE_DATE_EPOCH=$(date -d ${version} +%s)
export GIT="$(type -P true)"
cp -r "${gnulib}" ./gnulib
chmod +w -R ./gnulib
./bootstrap --skip-git --gnulib-srcdir=./gnulib --force
'';

doCheck = false; # tries to wget some fonts
doInstallCheck = doCheck;

postInstall =
# get rid of the runtime dependency on python
lib.optionalString (!withPython) ''
rm -r "$out/share/fontforge/python"
'';

enableParallelBuilding = true;

meta = {
description = "A font editor";
homepage = http://fontforge.github.io;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.erictapen ];
};
}

This file was deleted.

15 changes: 14 additions & 1 deletion pkgs/tools/networking/openconnect/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, openssl ? null, gnutls ? null, gmp, libxml2, stoken, zlib, fetchgit, darwin } :
{ stdenv, fetchurl, fetchpatch, pkgconfig, openssl ? null, gnutls ? null, gmp, libxml2, stoken, zlib, fetchgit, darwin } :

assert (openssl != null) == (gnutls == null);

@@ -19,6 +19,19 @@ in stdenv.mkDerivation rec {
sha256 = "14i9q727c2zc9xhzp1a9hz3gzb5lwgsslbhircm84dnbs192jp1k";
};

patches = [
(fetchpatch {
name = "CVE-2020-12105.patch";
url = "https://gitlab.com/openconnect/openconnect/-/merge_requests/96.patch";
sha256 = "19ra55jql2f2sim9kkgybrm4abz28iax92iwpijiipz5lk2jz0ai";
})
(fetchpatch {
name = "CVE-2020-12823.patch";
url = "https://gitlab.com/openconnect/openconnect/-/merge_requests/108.patch";
sha256 = "1ycw0b7wbj6byb151vlyywr0y3x0prsyxal5gdds5xcsdr5s9va3";
})
];

outputs = [ "out" "dev" ];

configureFlags = [
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -3378,7 +3378,7 @@ in
fontforge-gtk = fontforge.override {
withSpiro = true;
withGTK = true;
gtk2 = gtk2-x11;
gtk3 = gtk3-x11;
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};

@@ -13156,6 +13156,8 @@ in

libunibreak = callPackage ../development/libraries/libunibreak { };

libuninameslist = callPackage ../development/libraries/libuninameslist { };

libunique = callPackage ../development/libraries/libunique { };
libunique3 = callPackage ../development/libraries/libunique/3.x.nix { };