[Bug 260054] net/py-ldap: Don't require OpenLDAP 2.4 and fix build for OpenLDAP 2.5+

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Nov 2021 02:51:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260054

            Bug ID: 260054
           Summary: net/py-ldap: Don't require OpenLDAP 2.4 and fix build
                    for OpenLDAP 2.5+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rm@FreeBSD.org
          Reporter: delphij@FreeBSD.org
            Blocks: 258297
          Assignee: rm@FreeBSD.org
             Flags: maintainer-feedback?(rm@FreeBSD.org)

Created attachment 229734
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229734&action=edit
Proposed patch

OpenLDAP 2.3 is no longer available from the ports tree, and net/py-ldap should
no longer require OpenLDAP 2.4.

While there, also fix build when building with OpenLDAP 2.5 by replacing
libldap_r with libldap (we have recently merged libldap_r with libldap recently
for OpenLDAP 2.4.x series, so this should be a no-op if user is using OpenLDAP
2.4).


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258297
[Bug 258297] [exp-run] Switch default OpenLDAP version to 2.5.x
-- 
You are receiving this mail because:
You are the assignee for the bug.