mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
openldap: version update and new build parameters
This patch updates OpenLDAP to 2.4.47, introduces new build parameters and places openldap-server, openldap-utils and libopenldap under a separate menu item in Network. OpenLDAP is difficult to find in menuconfig at present. Making a separate menu item for OpenLDAP for selection of packages and enabling or disabling build parameters makes better sense. To have access to the loglevel directive, OpenLDAP must be built with debugging information. Having access to the loglevel directive is essential during the initial configuration of OpenLDAP server. International users may want to enable ICU support to have access to international characters. Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
This commit is contained in:
@@ -286,7 +286,7 @@
|
||||
+SHELL = @SHELL@
|
||||
+
|
||||
SRCS = init.c config.c opensock.c search.c bind.c unbind.c add.c \
|
||||
delete.c modify.c modrdn.c compare.c result.c
|
||||
delete.c modify.c modrdn.c compare.c result.c extended.c
|
||||
OBJS = init.lo config.lo opensock.lo search.lo bind.lo unbind.lo add.lo \
|
||||
--- a/servers/slapd/back-sql/Makefile.in
|
||||
+++ b/servers/slapd/back-sql/Makefile.in
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
Index: openldap-2.4.45/build/mkversion
|
||||
===================================================================
|
||||
--- openldap-2.4.45.orig/build/mkversion
|
||||
+++ openldap-2.4.45/build/mkversion
|
||||
@@ -50,7 +50,6 @@ if test $# != 1 ; then
|
||||
--- a/build/mkversion
|
||||
+++ b/build/mkversion
|
||||
@@ -50,12 +50,6 @@ if test $# != 1 ; then
|
||||
fi
|
||||
|
||||
APPLICATION=$1
|
||||
-WHOWHERE="$USER@`uname -n`:`pwd`"
|
||||
-# Reproducible builds set SOURCE_DATE_EPOCH, want constant strings
|
||||
-if [ -n "${SOURCE_DATE_EPOCH}" ]; then
|
||||
- WHOWHERE="openldap"
|
||||
-else
|
||||
- WHOWHERE="$USER@$(uname -n):$(pwd)"
|
||||
-fi
|
||||
|
||||
cat << __EOF__
|
||||
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||
@@ -72,7 +71,6 @@ static const char copyright[] =
|
||||
@@ -77,7 +71,6 @@ static const char copyright[] =
|
||||
"COPYING RESTRICTIONS APPLY\n";
|
||||
|
||||
$static $const char $SYMBOL[] =
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From d7a778004b0e0c7453075f1c7d429537162df436 Mon Sep 17 00:00:00 2001
|
||||
From: Howard Chu <hyc@openldap.org>
|
||||
Date: Fri, 21 Sep 2018 18:41:20 +0100
|
||||
Subject: [PATCH] ITS#8809 add missing includes
|
||||
|
||||
---
|
||||
libraries/libldap/tls_o.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c
|
||||
index 010f311d7..99626ec15 100644
|
||||
--- a/libraries/libldap/tls_o.c
|
||||
+++ b/libraries/libldap/tls_o.c
|
||||
@@ -43,6 +43,9 @@
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/safestack.h>
|
||||
+#include <openssl/bn.h>
|
||||
+#include <openssl/rsa.h>
|
||||
+#include <openssl/dh.h>
|
||||
#elif defined( HAVE_SSL_H )
|
||||
#include <ssl.h>
|
||||
#endif
|
||||
--
|
||||
2.19.1
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/servers/slapd/slapd.conf
|
||||
+++ b/servers/slapd/slapd.conf
|
||||
@@ -50,7 +50,7 @@ argsfile %LOCALSTATEDIR%/run/slapd.args
|
||||
#######################################################################
|
||||
|
||||
database mdb
|
||||
-maxsize 1073741824
|
||||
+maxsize 8388608
|
||||
suffix "dc=my-domain,dc=com"
|
||||
rootdn "cn=Manager,dc=my-domain,dc=com"
|
||||
# Cleartext passwords, especially for the rootdn, should
|
||||
Reference in New Issue
Block a user