3
0
Fork 0
forked from mirrors/nixpkgs

* Added openldap and pam_ldap.

svn path=/nixpkgs/trunk/; revision=7641
This commit is contained in:
Eelco Dolstra 2007-01-11 21:55:29 +00:00
parent 4cb58da8e6
commit f866d0c0bd
3 changed files with 36 additions and 0 deletions

View 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; # !!!
}

View 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];
}

View file

@ -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;
};