git.iko.soy/typeable/nixpkgs
on master help sign in
openldap: 2.4.40 -> 2.4.41
commit98eebe7ee4f7a21038033f54317f1b9fca6710b4 authorWilliam A. Kennington III <william@wkennington.com> dateWed 1 Jul 2015, 00:54 (11 years ago) parent7bf2518
2 files changed+2−48
pkgs/development/libraries/openldap/default.nix+2−5 pkgs/development/libraries/openldap/fix-libdb-detection-gcc5.patch−43
pkgs/development/libraries/openldap/default.nix+2−5
@@ -1,16 +1,13 @@
11{ stdenv, fetchurl, autoconf, openssl, cyrus_sasl, db, groff }:
22
33stdenv.mkDerivation rec {
4− name = "openldap-2.4.40";
4+ name = "openldap-2.4.41";
55
66 src = fetchurl {
77 url = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz";
8− sha256 = "1nyslrgwxwilgv5sixc37svls5rbvhsv9drb7hlrjr2vqaji29ni";
8+ sha256 = "0vkzfd1pmin6xsv8lb1nabfxma8n1q00khr6nfifqkxlm2s6p197";
99 };
1010
11− # Last tested for openldap 2.4.40
12− patches = [ ./fix-libdb-detection-gcc5.patch ];
13−
1411 nativeBuildInputs = [ autoconf ];
1512 buildInputs = [ openssl cyrus_sasl db groff ];
1613
pkgs/development/libraries/openldap/fix-libdb-detection-gcc5.patchdeleted−43
@@ -1,43 +0,0 @@
1−From f0409f40dab6013d1aec05f5c86ae31d2f49b485 Mon Sep 17 00:00:00 2001
2−From: Jan Synacek <jsynacek@redhat.com>
3−Date: Wed, 11 Feb 2015 10:32:28 +0100
4−Subject: [PATCH] fix libdb detection with gcc 5
5−
6−The old cpp version generated:
7−__db_version 5
8−
9−The new output:
10−__db_version
11− 5
12−
13−Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5.
14−Behavior with older versions of gcc is not changed.
15−---
16− build/openldap.m4 | 4 ++--
17− 1 file changed, 2 insertions(+), 2 deletions(-)
18−
19−diff --git a/build/openldap.m4 b/build/openldap.m4
20−index caf8fc2..bdcb4d6 100644
21−--- a/build/openldap.m4
22−+++ b/build/openldap.m4
23−@@ -328,7 +328,7 @@ AC_DEFUN([OL_BDB_HEADER_VERSION],
24− #endif
25− __db_version DB_VERSION_MAJOR
26− ])
27−- set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
28−+ set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
29− ol_cv_bdb_major=${3}
30− ])
31− case $ol_cv_bdb_major in [[1-9]]*) : ;; *)
32−@@ -344,7 +344,7 @@ AC_CACHE_CHECK([for Berkeley DB minor version in db.h], [ol_cv_bdb_minor],[
33− #endif
34− __db_version DB_VERSION_MINOR
35− ])
36−- set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
37−+ set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
38− ol_cv_bdb_minor=${3}
39− ])
40− case $ol_cv_bdb_minor in [[0-9]]*) : ;; *)
41−--
42−2.1.0
43−