Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 07:37:00 GMT
From:      Craig Rodrigues <rodrigc@freebsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188942: [security/sssd] Remove libldap.so from LIB_DEPENDS, it is already added by USE_OPENLDAP
Message-ID:  <201404240737.s3O7b0Jk059167@cgiserv.freebsd.org>
Resent-Message-ID: <201404240740.s3O7e0GO046544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188942
>Category:       ports
>Synopsis:       [security/sssd] Remove libldap.so from LIB_DEPENDS, it is already added by USE_OPENLDAP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 24 07:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Craig Rodrigues
>Release:        
>Organization:
>Environment:
>Description:
Do not explicitly add libldap.so to LIB_DEPENDS.
Since USE_OPENLDAP is already defined in this Makefile, bsd.ldap.mk
already adds the dependency to LIB_DEPENDS.

I uncovered this problem when I set WANT_OPENLDAP_SASL in my /etc/make.conf,
and the seurity/sssd was depending on the SASL and non-SASL version
of libldap, when I built my tree with poudriere.

Fix:

--- Makefile.orig       2014-04-24 00:34:04.794966405 -0700
+++ Makefile    2014-04-24 00:34:10.981965774 -0700
@@ -26,7 +26,6 @@
                libnss3.so:${PORTSDIR}/security/nss \
                libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \
                libkrb5.so:${PORTSDIR}/security/krb5 \
-               libldap.so:${PORTSDIR}/net/openldap24-client \
                libinotify.so:${PORTSDIR}/devel/libinotify
 BUILD_DEPENDS= xmlcatalog:${PORTSDIR}/textproc/libxml2 \
                docbook-xsl>=1:${PORTSDIR}/textproc/docbook-xsl \

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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