sssd: 1.16.4 -> 1.16.5

Fixes CVE-2018-16838.
https://sssd.io/release-notes/sssd-1.16.5.html
This commit is contained in:
Thomas Gerbet 2021-05-22 10:27:02 +02:00
parent efee454783
commit affda4029f

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, glibc, augeas, dnsutils, c-ares, curl,
{ lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch, glibc, augeas, dnsutils, c-ares, curl,
cyrus_sasl, ding-libs, libnl, libunistring, nss, samba, nfs-utils, doxygen,
python, python3, pam, popt, talloc, tdb, tevent, pkg-config, ldb, openldap,
pcre, libkrb5, cifs-utils, glib, keyutils, dbus, fakeroot, libxslt, libxml2,
@ -12,11 +12,13 @@ let
in
stdenv.mkDerivation rec {
pname = "sssd";
version = "1.16.4";
version = "1.16.5";
src = fetchurl {
url = "https://fedorahosted.org/released/sssd/${pname}-${version}.tar.gz";
sha256 = "0ngr7cgimyjc6flqkm7psxagp1m4jlzpqkn28pliifbmdg6i5ckb";
src = fetchFromGitHub {
owner = "SSSD";
repo = pname;
rev = "${pname}-${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0zbs04lkjbp7y92anmafl7gzamcnq1f147p13hc4byyvjk9rg6f7";
};
patches = [
# Fix build failure against samba 4.12.0rc1
@ -60,9 +62,10 @@ stdenv.mkDerivation rec {
'';
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
buildInputs = [ augeas dnsutils c-ares curl cyrus_sasl ding-libs libnl libunistring nss
samba nfs-utils doxygen python python3 popt
talloc tdb tevent pkg-config ldb pam openldap pcre libkrb5
samba nfs-utils python python3 popt
talloc tdb tevent ldb pam openldap pcre libkrb5
cifs-utils glib keyutils dbus fakeroot libxslt libxml2
libuuid ldap systemd nspr check cmocka uid_wrapper
nss_wrapper ncurses Po4a http-parser jansson ];
@ -95,8 +98,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "System Security Services Daemon";
homepage = "https://fedorahosted.org/sssd/";
license = licenses.gpl3;
homepage = "https://sssd.io/";
changelog = "https://sssd.io/release-notes/sssd-${version}.html";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.e-user ];
};