Skip to content

Commit

Permalink
Merge pull request #216476 from helsinki-systems/upd/openldap
Browse files Browse the repository at this point in the history
openldap: 2.6.3 -> 2.6.4
  • Loading branch information
mweinelt authored Feb 16, 2023
2 parents e241c63 + 3df3c93 commit d02a1d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nixos/tests/openldap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ in {
};
};
testScript = { nodes, ... }: let
specializations = "${nodes.machine.config.system.build.toplevel}/specialisation";
specializations = "${nodes.machine.system.build.toplevel}/specialisation";
changeRootPw = ''
dn: olcDatabase={1}mdb,cn=config
changetype: modify
Expand Down
11 changes: 9 additions & 2 deletions pkgs/development/libraries/openldap/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@
, openssl
, systemdMinimal
, libxcrypt

# passthru
, nixosTests
}:

stdenv.mkDerivation rec {
pname = "openldap";
version = "2.6.3";
version = "2.6.4";

src = fetchurl {
url = "https://www.openldap.org/software/download/OpenLDAP/openldap-release/${pname}-${version}.tgz";
hash = "sha256-0qKh1x3z13OWscFq11AuZ030RuBgcrDlpOlBw9BsDUY=";
hash = "sha256-1RcE5QF4QwwGzz2KoXTaZrrfVZdHpH2SC7VLLUqkCZE=";
};

# TODO: separate "out" and "bin"
Expand Down Expand Up @@ -117,6 +120,10 @@ stdenv.mkDerivation rec {
chmod +x "$out"/lib/*.{so,dylib}
'';

passthru.tests = {
inherit (nixosTests) openldap;
};

meta = with lib; {
homepage = "https://www.openldap.org/";
description = "An open source implementation of the Lightweight Directory Access Protocol";
Expand Down

0 comments on commit d02a1d7

Please sign in to comment.