Commit Graph

21 Commits

Author SHA1 Message Date
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
W. Michael Petullo c040738707 openldap: update to 2.4.48
Fixes CVE-2019-13565.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:08:53 -04:00
Rosen Penev b52e226c3b
openldap: Add static function declaration
Fixes compilation with -Werror=implicit-function-declaration .

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-30 23:43:15 -07:00
Val Kulkov e3d246d610 openldap-server: enable crypt(3) passwords
With crypt(3) password storage scheme enabled, OpenLDAP can receive and
store SHA-256 and SHA-512 password hashes from Samba AD-DC. Without
crypt(3), synchronization of passwords between Samba AD-DC (v4.5 and
above) and OpenLDAP requires use of cleartext passwords.

To use password hashes from Samba, OpenLDAP must be compiled with
--enable-crypt switch. This patch introduces a new configuration
parameter to enable the use of crypt(3) function by OpenLDAP.

Enabling crypt(3) increases the size of slapd binary by 12 bytes on
the x86_64 target and by only 4 bytes on the ipq806x target.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2019-03-16 13:07:55 -04:00
Val Kulkov ba903d4853 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>
2018-12-21 12:22:33 -05:00
Rosen Penev 10d243a921 openldap: Backport patch to fix compilation without deprecated APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 19:06:38 -08:00
Daniel Engberg ae756a71be
openldap: Switch tarball sources to https and http
Switch from ftp which can be broken on corp firewalls to https and http.
Mirrors taken from https://www.openldap.org/software/download/ and
https://www.openldap.org/software/download/OpenLDAP/MIRRORS
Place master site as last resort.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-06-09 22:18:12 +02:00
W. Michael Petullo 8a914ba4e1 openldap: update to 2.4.46
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-06-08 19:39:23 -04:00
Eneas U de Queiroz b06bac022a openldap: use /dev/urandom as entropy source
When cross-compiling, the configure script doesn't use /dev/urandom as
entropy source, which would have been the case if we were building it
natively.  Instead it tries to use an EGD, which openwrt doesn't supply.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-24 10:29:40 -03:00
Alexander Couzens 9f370263d0
openldap: remove build host/user/timestamp
Such information from the build system break reproducible builds.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-10 03:03:40 +01:00
Florian Eckert 43d24da2bf libs/openldap: add license tag
add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-10-30 14:51:56 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
W. Michael Petullo f1918d8e6e openldap: update to 2.4.45
Fixes CVE-2017-9287

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2017-06-14 18:32:47 -04:00
W. Michael Petullo c6473c2b33 openldap: update to 2.4.44
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2016-09-14 09:02:39 -04:00
Jo-Philipp Wich 0080543e50 openldap: forcibly disable ICU support
When openldap-server is built within an environment where ICU has been
previously built, the package will pick up this unintended dependency and
fail with the following error:

    Package openldap-server is missing dependencies for the following libraries:
    libicudata.so.55
    libicuuc.so.55
    Makefile:148: recipe for target '.../openldap-server_2.4.43-2_mips_34kc.ipk' failed

Since the ICU libraries are extremely big (~12MB) we cannot simply depend on
them so add the necessary autoconfig cache variable to let the ICU presence
test fail in order to inhibit linking against those libraries.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-06 16:35:15 +02:00
W. Michael Petullo 3e57642d60 openldap: update to 2.4.43
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-30 19:28:36 -05:00
W. Michael Petullo 597118257b openldap: remove --without-cyrus-sasl to build SASL support
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-07-20 19:07:59 -04:00
W. Michael Petullo 7a6daac995 openldap: update copyright dates
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-07-08 17:02:22 -04:00
W. Michael Petullo 2b0837030e openldap: update to 2.4.41
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-07-08 12:58:42 -04:00
W. Michael Petullo 01c785a750 openldap: remove --without-tls and start SSL-protected server by default
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-01-23 10:14:28 -05:00
W. Michael Petullo 3c78eaff96 Copy openldap package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-08-06 11:28:22 +02:00