summaryrefslogtreecommitdiff
path: root/openldap/openldap-2.4.31.patch
blob: 656a2c9ebd2d2f52b39fa193627ce7da6eea6ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- misc/openldap-2.4.31/Makefile.in	2012-04-22 22:25:08.000000000 +0200
+++ misc/build/openldap-2.4.31/Makefile.in	2012-07-16 13:53:47.140541654 +0200
@@ -13,7 +13,7 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
-SUBDIRS= include libraries clients servers tests doc
+SUBDIRS= include libraries
 CLEANDIRS=
 INSTALLDIRS= 
 
@@ -32,7 +32,3 @@
 	$(RM) config.status libtool stamp-h stamp-h.in
 
 distclean: veryclean FORCE
-
-check: test
-test: FORCE
-	cd tests; make test
--- misc/openldap-2.4.31/libraries/libldap/tls_m.c	2012-04-22 22:25:08.000000000 +0200
+++ misc/build/openldap-2.4.31/libraries/libldap/tls_m.c	2012-07-16 13:53:47.140541654 +0200
@@ -49,17 +49,17 @@
 #include <termios.h> /* for echo on/off */
 #endif
 
-#include <nspr/nspr.h>
-#include <nspr/private/pprio.h>
-#include <nss/nss.h>
-#include <nss/ssl.h>
-#include <nss/sslerr.h>
-#include <nss/sslproto.h>
-#include <nss/pk11pub.h>
-#include <nss/secerr.h>
-#include <nss/keyhi.h>
-#include <nss/secmod.h>
-#include <nss/cert.h>
+#include <nspr.h>
+#include <private/pprio.h>
+#include <nss.h>
+#include <ssl.h>
+#include <sslerr.h>
+#include <sslproto.h>
+#include <pk11pub.h>
+#include <secerr.h>
+#include <keyhi.h>
+#include <secmod.h>
+#include <cert.h>
 
 #undef NSS_VERSION_INT
 #define	NSS_VERSION_INT	((NSS_VMAJOR << 24) | (NSS_VMINOR << 16) | \
--- misc/openldap-2.4.31/configure.in	2012-04-22 21:25:08.000000000 +0100
+++ misc/build/openldap-2.4.31/configure.in	2012-07-16 13:56:24.000000000 +0100
@@ -1232,7 +1232,8 @@
 		AC_CHECK_HEADERS([nssutil.h])
 		if test "$ac_cv_header_nssutil_h" = yes ; then
 			AC_CHECK_LIB([nss3], [NSS_Initialize],
-						 [ have_moznss=yes ], [ have_moznss=no ])
+						 [ have_moznss=yes ], [ have_moznss=no ],
+						 [ -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 ])
 		fi
 
 		if test "$have_moznss" = yes ; then
--- misc/openldap-2.4.31/configure	2012-07-16 14:11:55.000000000 +0100
+++ misc/build/openldap-2.4.31/configure	2012-07-16 13:56:24.000000000 +0100
@@ -15718,7 +15718,7 @@
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lnss3  $LIBS"
+LIBS="-lnss3  -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */