2009-02-12 20:51:51 +01:00
|
|
|
{stdenv, fetchurl, openssl, cyrus_sasl, db4, groff}:
|
2007-01-11 22:55:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-02-12 20:51:51 +01:00
|
|
|
name = "openldap-2.4.13";
|
|
|
|
|
2007-01-11 22:55:29 +01:00
|
|
|
src = fetchurl {
|
2009-02-12 20:51:51 +01:00
|
|
|
url = ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/openldap-2.4.13.tgz;
|
|
|
|
sha256 = "18l06v8z5wnr92m28bwxd27l6kw3i0gi00yivv603da6m76cm0ic";
|
2007-01-11 22:55:29 +01:00
|
|
|
};
|
2009-02-12 20:51:51 +01:00
|
|
|
|
|
|
|
buildInputs = [openssl cyrus_sasl db4 groff];
|
|
|
|
|
2007-10-12 22:30:19 +02:00
|
|
|
configureFlags = "--disable-static";
|
2009-02-12 20:51:51 +01:00
|
|
|
|
2007-01-11 22:55:29 +01:00
|
|
|
dontPatchELF = 1; # !!!
|
2009-02-12 20:51:51 +01:00
|
|
|
|
|
|
|
# Build on Glibc 2.9.
|
|
|
|
# http://www.openldap.org/lists/openldap-bugs/200808/msg00130.html
|
|
|
|
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.openldap.org/;
|
|
|
|
description = "An open source implementation of the Lightweight Directory Access Protocol";
|
|
|
|
};
|
2007-01-11 22:55:29 +01:00
|
|
|
}
|