mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
* Added openldap and pam_ldap.
svn path=/nixpkgs/trunk/; revision=7641
This commit is contained in:
parent
4cb58da8e6
commit
f866d0c0bd
12
pkgs/development/libraries/openldap/default.nix
Normal file
12
pkgs/development/libraries/openldap/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, openssl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "openldap-2.3.32";
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/openldap-2.3.32.tgz;
|
||||
md5 = "154d674cf95a8f8acc496cc6cb0671e1";
|
||||
};
|
||||
buildInputs = [openssl];
|
||||
configureFlags = "--disable-slapd --disable-static";
|
||||
dontPatchELF = 1; # !!!
|
||||
}
|
16
pkgs/os-specific/linux/pam_ldap/default.nix
Normal file
16
pkgs/os-specific/linux/pam_ldap/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{stdenv, fetchurl, pam, openldap}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pam_ldap-183";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.padl.com/download/pam_ldap-183.tar.gz;
|
||||
md5 = "c0ad81e9d9712ddc6599a6e7a1688778";
|
||||
};
|
||||
|
||||
preInstall = "
|
||||
substituteInPlace Makefile --replace '-o root -g root' ''
|
||||
";
|
||||
|
||||
buildInputs = [pam openldap];
|
||||
}
|
@ -1588,6 +1588,10 @@ rec {
|
||||
inherit fetchurl stdenv alsaLib autoconf automake libtool;
|
||||
};
|
||||
|
||||
openldap = import ../development/libraries/openldap {
|
||||
inherit fetchurl stdenv openssl;
|
||||
};
|
||||
|
||||
openssl = import ../development/libraries/openssl {
|
||||
inherit fetchurl stdenv perl;
|
||||
};
|
||||
@ -2286,6 +2290,10 @@ rec {
|
||||
inherit stdenv fetchurl cracklib flex;
|
||||
};
|
||||
|
||||
pam_ldap = import ../os-specific/linux/pam_ldap {
|
||||
inherit stdenv fetchurl pam openldap;
|
||||
};
|
||||
|
||||
pam_login = import ../os-specific/linux/pam_login {
|
||||
inherit stdenv fetchurl pam;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user