Can we please add openldap 2.5 as an LTS release for people that just need an openldap instance that works with no or minimal changes? https://www.symas.com/post/openldap-project-release-maintenance-policy Seems like 2.6 will be only supported for 1 year while 2.5 will receive updates for 5 years.
Could you do a pr? I'm happy to merge it.
(Use the old 2.5 ebuilds from git as a basis then diff it with 2.6 and backport any safe changes)
Thanks for the tips Sam, didn't know we have 2.5 in the tree. However, it really lacks behind 2.6, so I tried using 2.6.4-r1 instead and it seems to compile and run. Running the tests to see if all goes fine, this is the current diff (needs polishing of course): --- openldap-2.6.4-r1.ebuild 2023-03-12 05:51:01.381155540 +0000 +++ openldap-2.5.14.ebuild 2023-03-12 06:20:19.527530399 +0000 @@ -139,7 +139,7 @@ "${FILESDIR}"/${PN}-2.6.1-system-mdb.patch "${FILESDIR}"/${PN}-2.6.1-cloak.patch "${FILESDIR}"/${PN}-2.6.1-flags.patch - "${FILESDIR}"/${PN}-2.6.1-fix-missing-mapping.patch +# "${FILESDIR}"/${PN}-2.6.1-fix-missing-mapping.patch "${FILESDIR}"/${PN}-2.6.4-clang16.patch ) @@ -669,7 +669,7 @@ # emake test => runs only lloadd & mdb, in serial; skips ldif,sql,wt,regression # emake partests => runs ALL of the tests in parallel # wt/WiredTiger is not supported in Gentoo - TESTS=( plloadd pmdb ) + TESTS=( lloadd mdb ) #TESTS+=( pldif ) # not done by default, so also exclude here #use odbc && TESTS+=( psql ) # not done by default, so also exclude here
Does 2.5 drop berkdb or is that just 2.6? If so, we need to make sure to keep berkdb bits in 2.5.
(In reply to Sam James from comment #4) > Does 2.5 drop berkdb or is that just 2.6? If so, we need to make sure to > keep berkdb bits in 2.5. https://www.openldap.org/doc/admin25/appendix-upgrading.html B.7. hdb and bdb backends The Berkeley DB based slapd-bdb and slapd-hdb backends have been removed from OpenLDAP 2.5. Deployments making use of these backends must migrate their configurations to use slapd-mdb(5) prior to upgrade.
(In reply to Tomáš Mózes from comment #5) > (In reply to Sam James from comment #4) > > Does 2.5 drop berkdb or is that just 2.6? If so, we need to make sure to > > keep berkdb bits in 2.5. > > https://www.openldap.org/doc/admin25/appendix-upgrading.html > > B.7. hdb and bdb backends > The Berkeley DB based slapd-bdb and slapd-hdb backends have been removed > from OpenLDAP 2.5. Deployments making use of these backends must migrate > their configurations to use slapd-mdb(5) prior to upgrade. excellent, that makes things much simpler!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849ed2778d87b605e764e603d9acbff6ca7c2045 commit 849ed2778d87b605e764e603d9acbff6ca7c2045 Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2023-03-12 19:19:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-19 03:18:52 +0000 net-nds/openldap: add 2.5.14 (LTS) Closes: https://bugs.gentoo.org/900621 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30080 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/Manifest | 1 + net-nds/openldap/openldap-2.5.14.ebuild | 858 ++++++++++++++++++++++++++++++++ 2 files changed, 859 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32877cf7e18c0ad25c2fa7fded5d6f6725392bd2 commit 32877cf7e18c0ad25c2fa7fded5d6f6725392bd2 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-19 03:19:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-19 03:19:44 +0000 net-nds/openldap: add LTS note Bug: https://bugs.gentoo.org/900621 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/openldap-2.4.59-r2.ebuild | 3 +++ net-nds/openldap/openldap-2.5.14.ebuild | 3 +++ net-nds/openldap/openldap-2.6.3-r7.ebuild | 3 +++ net-nds/openldap/openldap-2.6.4-r1.ebuild | 3 +++ 4 files changed, 12 insertions(+)