summaryrefslogtreecommitdiff
path: root/extensions/Library_ldapbe2.mk
AgeCommit message (Collapse)Author
2023-06-21openldap: upgrade to release 2.6.4Taichi Haradaguchi
Because NSS support has been removed in release 2.5, switch TLS/SSL module used by OpenLDAP to OpenSSL. Add -pthread flag to openldap_LDFLAGS when building on Linux. This avoids errors that occur in libcrypto.a (libcrypto-lib-threads_pthread.o). Change-Id: I4779ce40233d144d930f20e85db7b4ba08f91ea1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143646 Tested-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2021-12-10Generally determine Rdb content from gb_*_set_componentfile callsStephan Bergmann
...instead of by listing the content somewhat redundantly in the Rdb_*.mk files, to avoid duplication of logic for components that are only built conditionally (and thus should only be included conditionally in the corresponding Rdb). To achieve that, add an "rdb" parameter to gb_ComponentTarget_ComponentTarget (and to the gb_*_set_componentfile macros that internally call gb_ComponentTarget_ComponentTarget), which is used to make the appropriate gb_Rdb_add_component call internally from within gb_ComponentTarget_ComponentTarget. (As a special case, gb_CppunitTest_set_componentfile shall not call gb_Rdb_add_component, as that has already been done by the corresponding gb_Library_set_componentfile call, so allow the gb_ComponentTarget_ComponentTarget "rdb" parameter to be empty to support that special case.) Most Rdb_*.mk files are thus mostly empty now. One exception is i18npool/Rdb_saxparser.mk, which duplicates some of the Rdb_services content as needed during the build in CustomTarget_i18npool/localedata. 1c9a40299d328c78c035ca63ccdf22c5c669a03b "gbuild: create services.rdb from built components" had already tried to do something similar (in addition to other things) under a new --enable-services-rdb-from-build option. However, that approach had four drawbacks that this approach here addresses (and which thus partly reverts 1c9a40299d328c78c035ca63ccdf22c5c669a03b): 1 Rdb_services shall not contain the component files of all libraries that are built. While that commit filtered out the component files that go into Rdb_ure/services (ure/Rdb_ure.mk), it failed to filter out the component files that go into others like Rdb_postgresql-sdbc (connectivity/Rdb_postgresql-sdbc.mk). 2 The code added by that commit to Makefile.gbuild codified the knowledge that there is an Rdb_services, which is brittle. 3 The code added by that commit to solenv/gbuild/Rdb.mk codified the knowledge (for gb_Rdb__URECOMPONENTS) that there is an Rdb_ure/services, which is brittle. 4 Introducing an --enable-services-rdb-from-build option needlessly provided two different ways how the content of Rdb_services is assembled. The changes done here would leave --enable-services-rdb-from-build as a misnomer, as it no longer controls how Rdb_services is assembled. I thus renamed it to --enable-customtarget-components, as that is apparently what it still does now. Change-Id: Ia5e8df4b640146c77421fcec6daa11a9cd260265 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126577 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-23extensions/ldap: create instances with uno constructorsNoel Grandin
See tdf#74608 for motivation. Change-Id: I159eb26fd69151065080d3f70a6fc9df0104068f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99273 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-19missing LDAPCaolán McNamara
since... Make LDAP support optional commit 6776c53b7ce2e431d8636f4e5a755f50f787ec8f Date: Tue Jan 8 04:53:51 2019 -0500 Change-Id: I4268169809b0dc68b347b28523500453394937de Reviewed-on: https://gerrit.libreoffice.org/75865 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-09Don't throw in LdapUserProfileBe ctor on LDAP misconfigurationMike Kaganski
Otherwise LO crashes e.g. at opening Expert Configuration dialog. Instead, log the event, create an empty backend, and return empty values. Change-Id: I433fc89c003e7886dfc5242a4ef8defa46d643d3 Reviewed-on: https://gerrit.libreoffice.org/53958 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2014-04-28prefer makefile-gmake-modeTakeshi Abe
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-14better?Stephan Bergmann
Change-Id: Idacacf531d237c2c7482db85c56b58954fd04ac5
2014-04-14Missing boost_headers dependency for WNTStephan Bergmann
Change-Id: I92906de88669d629f8efd39439c4e6e0151f687c
2014-04-13Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: Ie81d270267b6c3c3620ade62eb393b28d995a654
2013-10-23Fix build of ldapbe in UbuntuMarcos Paulo de Souza
Change-Id: I6e3e64a0e9a0510401f9b8ddbf9e18e2d6caba3e Reviewed-on: https://gerrit.libreoffice.org/6400 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-03-27a little ldap cleaningMatúš Kukan
Change-Id: Ib224484ef994312e78bac75c40421c7f6235326a
2013-03-26Oups, fix typoJulien Nabet
Change-Id: I64c1c644b2241fb3d43a1300816ead0f7724a4d3
2013-03-26New try to fix plc4Julien Nabet
Change-Id: Id747989c4c99967129ca9c7e7a86e6e82e943c98
2013-03-26Revert "Try a fix for Win build and plc4"Julien Nabet
This reverts commit b8b3230d51da93a93aa7397b98a1aafa7a926a3f.
2013-03-26Try a fix for Win build and plc4Julien Nabet
Change-Id: Ib2c7e2397ff36e9c6baf359479bdda427d2cd7c3
2013-02-04... and ssl3 tooDavid Tardon
Change-Id: I16263e87855cc63a964d4f6780715739b6027bda
2013-02-04must link with plc4 tooDavid Tardon
Change-Id: I29deb025e3869dc495a84d6559708f5308a83ff1
2013-02-04fdo#60115 build of ldapbe2 breaks if nss is in nonstd. locationDavid Tardon
Change-Id: I32a0495edffbe13734457c230a3a1735aa254198
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-07-16RepositoryExternal.mk: add openldapMichael Stahl
Change-Id: I5f673db405449d28951eff4d6d30ad0b9ec5d77f
2012-07-16Fixing build with internal openldapFridrich Štrba
Change-Id: I365c5252a48b6ba4e8409534c75d34c4d07b2475
2012-07-16First attempt at removing mozilla ldap at all (please help to fix)Fridrich Štrba
Change-Id: I0559cf1820c782d22c4d75749f2171d7702b4e73
2012-07-16Don't load ldap library dynamically, link it!Fridrich Štrba
Change-Id: I5e9aeb3ebda0c30da364df0d7a1c0f245a33431c
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2011-12-19extensions: d'oh, i've pasted C++ emacs modelines in makefilesMichael Stahl
2011-12-17extensions: convert ldap to gbuildPeter Foley