Commit Graph

575 Commits

Author SHA1 Message Date
HAMANO Tsukasa
c14e3329c0 ITS#10214 Reduce library dependencies
Currently, slapd links libsystemd to notify service state to systemd.
However, libsystemd link several unnecessary libraries, which increases security risks.
The systemd documentation provides a method to send state notifications to systemd using a simple protocol without the need to link against libsystemd.

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html
2024-05-08 09:50:10 +09:00
Howard Chu
a7007b7f64 ITS#10163 More configure munging
Streamline configuration of slapd modules. Just use the
appropriate OL_ARG_ENABLE_xx, then almost no other edits
will be needed in configure.ac when adding new modules.

Backends will still have to add their Makefile to the
AC_CONFIG_FILES() list.
2024-04-05 15:42:04 +00:00
Quanah Gibson-Mount
073232bbc7 Happy New Year! 2024-03-26 19:45:07 +00:00
Дилян Палаузов
3c284d26cd ITS#9989 Keep .pc files on «make clean» 2023-02-15 18:50:28 +00:00
Sam James
14f81bc47a ITS#10011 build: fix compatibility with stricter C99 compilers
Fix the following warnings:
- -Wimplicit-int (fatal with Clang 16)
- -Wimplicit-function-declaration (fatal with Clang 16)
- -Wincompatible-function-pointer-types (fatal with Clang 16)
- -Wint-conversion (fatal with Clang 15)
- Old style prototypes (K&R, removed from C23)

These warnings-now-error led to misconfigurations and failure to build
OpenLDAP, as the tests used during configure caused the wrong results
to be emitted.

For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].

[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.

Bug: https://bugs.gentoo.org/871288
Signed-off-by: Sam James <sam@gentoo.org>
2023-02-10 23:22:43 +00:00
Orgad Shaneh
a4ed858ecb ITS#9788 Fix make jobserver warnings
Running make -j8 issues the following warning for each directory with
make 4.3:
make[2]: warning: -j8 forced in submake: resetting jobserver mode.

There is no need to pass MFLAGS. Make picks it up from the
environment anyway.
2022-01-25 21:23:44 +00:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Quanah Gibson-Mount
4a87d7aad2 ITS#9673 - Start fully tracking symbols for versioning 2021-10-18 17:56:13 +00:00
Quanah Gibson-Mount
783fcbe8ed ITS#9673 - Fix library symbol versioning 2021-09-20 18:00:36 +00:00
Ondřej Kuzník
f8bc0913cf ITS#9673 Strip release version from library name 2021-09-16 16:11:03 +01:00
Quanah Gibson-Mount
a7371850bc ITS#9485 - Regenerate autogenerated file with autoreconf -f -i 2021-07-29 18:06:03 +00:00
Quanah Gibson-Mount
59f8d06d33 ITS#8874 - Don't try and link in libcom_err with libfetch on FreeBSD
This was changed for FreeBSD back in the year 2000.
2021-06-24 15:01:51 +00:00
SATOH Fumiyasu
f3501534d4 ITS#8707 - Add slapd.service and lloadd.service for systemd 2021-04-20 22:54:19 +00:00
Ondřej Kuzník
629cafc98d ITS#8707 Add systemd service notification support 2021-04-20 22:54:19 +00:00
Quanah Gibson-Mount
32761fa3a1 ITS#8839 - Only generate SHA3 hash now that we also have GPG, drop MD5/SHA1 2021-04-01 21:03:12 +00:00
Quanah Gibson-Mount
38d1ac0449 ITS#5365 - Add support for symbol versioning libldap and lilber 2021-03-29 18:11:00 +00:00
Hugh McMaster
3eea13bdd4 ITS#8996 - Generate and install a pkg-config file for the liblber library 2021-03-15 21:39:55 +00:00
Quanah Gibson-Mount
c7763538de ITS#9453 - Make pw argon2 official 2021-03-10 23:21:08 +00:00
Quanah Gibson-Mount
9894e6c8aa ITS#4799 -- Delete missed bits for Kerberos from 2006 cleanup 2021-03-04 18:08:57 +00:00
Quanah Gibson-Mount
ce2c5173bd ITS#9161 - Fix various typos
Fix a number of different typos across the code base
2021-02-17 18:42:46 +00:00
Quanah Gibson-Mount
efaf9a4a17 Happy New Year! 2021-01-11 19:25:53 +00:00
Ondřej Kuzník
46ddb4039c lloadd ahoy 2020-11-17 17:15:40 +00:00
Quanah Gibson-Mount
69a53fa499 ITS#8839 - Add sha3-512 hashes 2020-11-12 17:21:09 +00:00
Howard Chu
81e43a6335 ITS#9348 cleanup strerr/sys_errlist detection 2020-09-24 23:34:36 +00:00
Howard Chu
9535e757df ITS#9327 fix prev commit 2020-08-31 13:33:58 +01:00
Quanah Gibson-Mount
c1411b8199 ITS#9323 - Limit to OpenSSL 1.0.2 or later 2020-08-25 21:52:04 +00:00
Fabrice Fontaine
8df03b435e ITS#9327 - Fix stripping when cross-compiling
Probably-Signed-off-by: Dave Bender <bender@benegon.com>
[yann.morin.1998@free.fr: patch was made by Dave, but he
 forgot his SoB line, so I added it]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/openldap/0001-fix_cross_strip.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-08-25 19:54:59 +00:00
Quanah Gibson-Mount
c06ac436e2 ITS#9235 Merge libldap_r into libldap 2020-07-03 17:23:14 -07:00
Quanah Gibson-Mount
1a55a5c61b ITS#9177 - Finish updating migration to latest autoconf and related build tools 2020-04-10 17:44:56 +00:00
Quanah Gibson-Mount
7182cbc7e3 ITS#7855 - Update config.guess and config.sub
Update config.guess and config.sub from official upstream project at https://savannah.gnu.org/projects/config/

Specifically in this case, commit 5256817ace8493502ec88501a19e4051c2e220b0 for the date Wed Jan 1 19:36:58 2020 +1100
2020-01-28 16:08:50 +00:00
Ryan Tandy
f8427a9b58 ITS#9144 Remove unused ICU detection and linking
This reverts commits a956f75924 ("Add (not
yet used) ICU detection") and 1cf5838e08
("detect ICU and link it into slapd(8)").
2020-01-09 17:21:33 +00:00
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Quanah Gibson-Mount
d98317488f ITS#9062 -- Honor TMPDIR in mkdep 2019-08-13 15:03:45 +00:00
Quanah Gibson-Mount
35166673d2 Revert "ITS#9008 moduledir rpath changes"
This reverts commit 469bc3afbf.
2019-05-17 17:03:25 +00:00
Quanah Gibson-Mount
ec2cb12e68 ITS#9010 - Delete back-bdb/back-hdb
This commits deletes all references and code for back-bdb and back-hdb.
There is some follow up work still necessary to flush out the admin
guide for back-mdb.
2019-05-13 17:20:28 +00:00
Emily Backes
469bc3afbf ITS#9008 moduledir rpath changes 2019-04-24 10:15:37 +01:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Quanah Gibson-Mount
fb35befa9a Fixes windows build with new MS AD sync Add CLIENT_LIBS for libraries required to build the clients. 2019-01-02 15:44:20 +00:00
Douglas Royds
c01e45daca ITS#8928 Reproducibility: Remove user, hostname, pwd from version string
When attempting a reproducible build, replace the WHOWHERE value with something
fixed, "openldap". If you're not trying to do a reproducible build,
SOURCE_DATE_EPOCH won't be set, so the existing WHOWHERE string will apply.
See https://reproducible-builds.org/specs/source-date-epoch/
2018-11-19 00:39:56 +00:00
Ondřej Kuzník
0f320b3442 Fail if we can't change to a directory 2018-07-25 16:19:54 +01:00
Quanah Gibson-Mount
59e9ff6243 Happy New Year 2018-03-22 15:35:24 +00:00
Josh Soref
10566c8be3 ITS#8605 - spelling fixes
* javascript
* kernel
* ldap
* length
* macros
* maintained
* manager
* matching
* maximum
* mechanism
* memory
* method
* mimic
* minimum
* modifiable
* modifiers
* modifying
* multiple
* necessary
* normalized
* objectclass
* occurrence
* occurring
* offered
* operation
* original
* overridden
* parameter
* permanent
* preemptively
* printable
* protocol
* provider
* really
* redistribution
* referenced
* refresh
* regardless
* registered
* request
* reserved
* resource
* response
* sanity
* separated
* setconcurrency
* should
* specially
* specifies
* structure
* structures
* subordinates
* substitution
* succeed
* successful
* successfully
* sudoers
* sufficient
* superiors
* supported
* synchronization
* terminated
* they're
* through
* traffic
* transparent
* unsigned
* unsupported
* version
* absence
* achieves
* adamson
* additional
* address
* against
* appropriate
* architecture
* associated
* async
* attribute
* authentication
* authorized
* auxiliary
* available
* begin
* beginning
* buffered
* canonical
* certificate
* charray
* check
* class
* compatibility
* compilation
* component
* configurable
* configuration
* configure
* conjunction
* constraints
* constructor
* contained
* containing
* continued
* control
* convenience
* correspond
* credentials
* cyrillic
* database
* definitions
* deloldrdn
* dereferencing
* destroy
* distinguish
* documentation
* emmanuel
* enabled
* entry
* enumerated
* everything
* exhaustive
* existence
* existing
* explicitly
* extract
* fallthru
* fashion
* february
* finally
* function
* generically
* groupname
* happened
* implementation
* including
* initialization
* initializes
* insensitive
* instantiated
* instantiation
* integral
* internal
* iterate
2017-10-11 14:39:38 -07:00
Ondřej Kuzník
5adcdb7642 Fix warnings issued by autoconf 2.68+ 2017-09-26 14:41:11 +01:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
HAMANO Tsukasa
61c95e7669 ITS#8114 OpenLDAP WiredTiger Backend 2015-08-19 18:13:27 +01:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
Jan Synacek
f19f1c3249 ITS#8056 fix libdb detection with gcc 5
The old cpp version generated:
__db_version 5

The new output:
__db_version
            5

Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5.
Behavior with older versions of gcc is not changed.
2015-02-11 19:46:54 +00:00
Kurt Zeilenga
95da208a69 Updates for new servers 2014-09-29 15:10:36 -07:00
Kurt Zeilenga
650543a493 Use OpenSSL md5/sha1 2014-09-29 13:22:50 -07:00