Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

sssd: 1.16.4 -> 1.16.5

Fixes CVE-2018-16838.
https://sssd.io/release-notes/sssd-1.16.5.html

(cherry picked from commit affda4029fdc80149c0f30c8cc6021cf4efda0e7)

Changed files
+13 -9
pkgs
os-specific
linux
+13 -9
pkgs/os-specific/linux/sssd/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, glibc, augeas, dnsutils, c-ares, curl, 2 - cyrus_sasl, ding-libs, libnl, libunistring, nss, samba, nfs-utils, doxygen, 1 + { stdenv, fetchFromGitHub, autoreconfHook, fetchpatch, glibc, augeas, dnsutils, c-ares, curl, 2 + cyrus_sasl, ding-libs, libnl, libunistring, nss, samba, nfs-utils, doxygen, pkg-config, 3 3 python, python3, pam, popt, talloc, tdb, tevent, pkgconfig, ldb, openldap, 4 4 pcre, kerberos, cifs-utils, glib, keyutils, dbus, fakeroot, libxslt, libxml2, 5 5 libuuid, ldap, systemd, nspr, check, cmocka, uid_wrapper, ··· 12 12 in 13 13 stdenv.mkDerivation rec { 14 14 pname = "sssd"; 15 - version = "1.16.4"; 15 + version = "1.16.5"; 16 16 17 - src = fetchurl { 18 - url = "https://fedorahosted.org/released/sssd/${pname}-${version}.tar.gz"; 19 - sha256 = "0ngr7cgimyjc6flqkm7psxagp1m4jlzpqkn28pliifbmdg6i5ckb"; 17 + src = fetchFromGitHub { 18 + owner = "SSSD"; 19 + repo = pname; 20 + rev = "${pname}-${builtins.replaceStrings ["."] ["_"] version}"; 21 + sha256 = "0zbs04lkjbp7y92anmafl7gzamcnq1f147p13hc4byyvjk9rg6f7"; 20 22 }; 21 23 patches = [ 22 24 # Fix build failure against samba 4.12.0rc1 ··· 55 57 ''; 56 58 57 59 enableParallelBuilding = true; 60 + nativeBuildInputs = [ autoreconfHook pkg-config doxygen ]; 58 61 buildInputs = [ augeas dnsutils c-ares curl cyrus_sasl ding-libs libnl libunistring nss 59 - samba nfs-utils doxygen python python3 popt 62 + samba nfs-utils python python3 popt 60 63 talloc tdb tevent pkgconfig ldb pam openldap pcre kerberos 61 64 cifs-utils glib keyutils dbus fakeroot libxslt libxml2 62 65 libuuid ldap systemd nspr check cmocka uid_wrapper ··· 90 93 91 94 meta = with stdenv.lib; { 92 95 description = "System Security Services Daemon"; 93 - homepage = "https://fedorahosted.org/sssd/"; 94 - license = licenses.gpl3; 96 + homepage = "https://sssd.io/"; 97 + changelog = "https://sssd.io/release-notes/sssd-${version}.html"; 98 + license = licenses.gpl3Plus; 95 99 platforms = platforms.linux; 96 100 maintainers = [ maintainers.e-user ]; 97 101 };