git.iko.soy/typeable/nixpkgs
on master help sign in
openldap: 2.4.40 -> 2.4.41
98eebe7William A. Kennington III
pkgs/development/libraries/openldap/default.nix+2−5
@@ -1,16 +1,13 @@
1{ stdenv, fetchurl, autoconf, openssl, cyrus_sasl, db, groff }:
1{ stdenv, fetchurl, autoconf, openssl, cyrus_sasl, db, groff }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "openldap-2.4.40";
4+ name = "openldap-2.4.41";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz";
7 url = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/${name}.tgz";
8− sha256 = "1nyslrgwxwilgv5sixc37svls5rbvhsv9drb7hlrjr2vqaji29ni";
8+ sha256 = "0vkzfd1pmin6xsv8lb1nabfxma8n1q00khr6nfifqkxlm2s6p197";
9 };
9 };
10
10
11− # Last tested for openldap 2.4.40
12− patches = [ ./fix-libdb-detection-gcc5.patch ];
13−
14 nativeBuildInputs = [ autoconf ];
11 nativeBuildInputs = [ autoconf ];
15 buildInputs = [ openssl cyrus_sasl db groff ];
12 buildInputs = [ openssl cyrus_sasl db groff ];
16
13
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−