Commit graph

6 commits

Author SHA1 Message Date
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
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
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
Michael Heimpold
1232a6caa2 openldap: do not build doc and tests subdirs
At least one LEDE buildbot is missing tools to create man pages, thus the build
sometimes (depends on which buildbot is used) fails with [1]:

-snip-
make[7]: Entering directory '/mnt/build-dir/lede/armeb_xscale/build/sdk/build_dir/target-armeb_xscale_musl-1.1.15/openldap-2.4.44/doc/man/man1'
PAGES=`cd .; echo *.1`; \
for page in $PAGES; do \
    sed -e "s%LDVERSION%2.4.44%" \
	-e 's%ETCDIR%/etc/openldap%g' \
	-e 's%LOCALSTATEDIR%/var%' \
	-e 's%SYSCONFDIR%/etc/openldap%' \
	-e 's%DATADIR%/usr/share/openldap%' \
	-e 's%SBINDIR%/usr/sbin%' \
	-e 's%BINDIR%/usr/bin%' \
	-e 's%LIBDIR%/usr/lib%' \
	-e 's%LIBEXECDIR%/usr/lib%' \
	-e 's%MODULEDIR%/usr/lib/openldap%' \
	-e 's%RELEASEDATE%2016/02/05%' \
	    ./$page \
	| (cd .; soelim -) > $page.tmp; \
done
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
/bin/sh: 15: soelim: not found
Makefile:292: recipe for target 'all-common' failed
make[7]: *** [all-common] Error 127
-snap-

For OpenWrt/LEDE, there is no reason to build the tests and/or man pages,
so let's patch it away. And since other packages need openldap as
build dependency (e.g. php) this automatically fixes the build of these
depended packages.

[1] https://downloads.lede-project.org/snapshots/faillogs/armeb_xscale/packages/openldap/compile.txt

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-11-19 21:29:37 +01: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