Merge pull request #261744 from anthonyroussel/updates/sssd

sssd: 2.9.1 -> 2.9.2
This commit is contained in:
Weijia Wang 2023-10-19 14:20:11 +02:00 committed by GitHub
commit ef6f366a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 11 deletions

View File

@ -739,8 +739,8 @@ in {
spark = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./spark {}; spark = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./spark {};
sqlite3-to-mysql = handleTest ./sqlite3-to-mysql.nix {}; sqlite3-to-mysql = handleTest ./sqlite3-to-mysql.nix {};
sslh = handleTest ./sslh.nix {}; sslh = handleTest ./sslh.nix {};
sssd = handleTestOn ["x86_64-linux"] ./sssd.nix {}; sssd = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./sssd.nix {};
sssd-ldap = handleTestOn ["x86_64-linux"] ./sssd-ldap.nix {}; sssd-ldap = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./sssd-ldap.nix {};
stalwart-mail = handleTest ./stalwart-mail.nix {}; stalwart-mail = handleTest ./stalwart-mail.nix {};
stargazer = runTest ./web-servers/stargazer.nix; stargazer = runTest ./web-servers/stargazer.nix;
starship = handleTest ./starship.nix {}; starship = handleTest ./starship.nix {};

View File

@ -5,21 +5,21 @@
libuuid, systemd, nspr, check, cmocka, uid_wrapper, p11-kit, libuuid, systemd, nspr, check, cmocka, uid_wrapper, p11-kit,
nss_wrapper, ncurses, Po4a, http-parser, jansson, jose, nss_wrapper, ncurses, Po4a, http-parser, jansson, jose,
docbook_xsl, docbook_xml_dtd_44, docbook_xsl, docbook_xml_dtd_44,
nixosTests, testers, nix-update-script, nixosTests,
withSudo ? false }: withSudo ? false }:
let let
docbookFiles = "${docbook_xsl}/share/xml/docbook-xsl/catalog.xml:${docbook_xml_dtd_44}/xml/dtd/docbook/catalog.xml"; docbookFiles = "${docbook_xsl}/share/xml/docbook-xsl/catalog.xml:${docbook_xml_dtd_44}/xml/dtd/docbook/catalog.xml";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "sssd"; pname = "sssd";
version = "2.9.1"; version = "2.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SSSD"; owner = "SSSD";
repo = pname; repo = "sssd";
rev = version; rev = "refs/tags/${finalAttrs.version}";
sha256 = "sha256-OafSo28MN92py33foE8oMkPUmV9WUUOkKWJgm0i7MJU="; hash = "sha256-CxkEyx9X14x8x9tSSN9d0TBTPKJB2Ip7HTL98uqO0J4=";
}; };
postPatch = '' postPatch = ''
@ -96,14 +96,23 @@ stdenv.mkDerivation rec {
done done
''; '';
passthru.tests = { inherit (nixosTests) sssd sssd-ldap; }; passthru = {
tests = {
inherit (nixosTests) sssd sssd-ldap;
version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "sssd --version";
};
};
updateScript = nix-update-script { };
};
meta = with lib; { meta = with lib; {
description = "System Security Services Daemon"; description = "System Security Services Daemon";
homepage = "https://sssd.io/"; homepage = "https://sssd.io/";
changelog = "https://sssd.io/release-notes/sssd-${version}.html"; changelog = "https://sssd.io/release-notes/sssd-${finalAttrs.version}.html";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ illustris ]; maintainers = with maintainers; [ illustris ];
}; };
} })