On Thu, Apr 13, 2023 at 12:19 PM Quanah Gibson-Mount
<qua...@fast-mail.org> wrote:
> This is an annoying bit about the Debian/Ubuntu builds as
> they strip that information out of the binary.

I was curious about that, and Debian doesn't strip that information[1]:

ldapadd -V
ldapadd: @(#) $OpenLDAP: ldapmodify 2.5.13+dfsg-5 (Feb  8 2023 01:56:12) $
    Debian OpenLDAP Maintainers <pkg-openldap-de...@lists.alioth.debian.org>
    (LDAP library: OpenLDAP 20513)

I don't have an Ubuntu box at hand but their devel branch has the same
patch[2] applied.

If I trust that the datetime on the version string is the build date
time, and since they use reproducible builds, I would guess that the
base version is 2.5.6, from this changelog [3].


-- 
Braiam

[1]: 
https://salsa.debian.org/openldap-team/openldap/-/blob/master/debian/patches/debian-version
[2]: https://git.launchpad.net/ubuntu/+source/openldap/tree/debian/patches
[3]: 
https://git.launchpad.net/ubuntu/+source/openldap/tree/debian/changelog?h=ubuntu%2Fimpish-updates

Reply via email to