Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2022 11:06:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 265293] security/libpki: Fix LDAP option build
Message-ID:  <bug-265293-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265293

            Bug ID: 265293
           Summary: security/libpki: Fix LDAP option build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eduardo@FreeBSD.org
                CC: bruno@ruomad.net
             Flags: maintainer-feedback?(bruno@ruomad.net)
                CC: bruno@ruomad.net

Created attachment 235330
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235330&action=
=3Dedit
libpki-0.9.2_2: Fix LDAP option build

Hi,

LDAP option is not building, there's the patch to solve it:

---
-LDAP_LIB_DEPENDS=3D      liblber.so:net/openldap24-client \
-                       libldap_r.so:net/openldap24-client[1]
+LDAP_USE=3D              OPENLDAP=3Dyes
 LDAP_CONFIGURE_ENABLE=3D ldap
-LDAP_LDFLAGS+=3D         -llber[2]
---

[1] LDAP_USE=3DOPENLDAP=3Dyes defaults to openldap version 2.6.3 and its the
correct way to setup openldap dependency

[2] LDAP_LDFLAGS+=3D-llber is causing build to fail

Poudriere tests passes with all option 'on':
---
Architecture .........: bsd (64 bits)
Host System Type .....: amd64-portbld-freebsd14.0
Supported URLs .......: file http https ldap mysql pg dns
                                        ^^^^ ^^^^^ ^^ ^^^
---

Please test.

Cheers

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265293-7788>