Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 13:06:09 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: openldap-client and openldap-sasl-client
Message-ID:  <20150923070609.GB12618@admin.sibptus.tomsk.ru>
In-Reply-To: <20150923060359.GG16800@ivaldir.etoilebsd.net>
References:  <20150918172941.GA24776@admin.sibptus.tomsk.ru> <20150919065404.GA32692@admin.sibptus.tomsk.ru> <20150922220145.GD16800@ivaldir.etoilebsd.net> <20150923024903.GA4556@admin.sibptus.tomsk.ru> <20150923060359.GG16800@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin wrote:
> > 
> > > > Just as I expected (see below). What should I do about it? I don't
> > > > want to lose SASL-enabled openldap, and I don't know of any option to
> > > > tell moodle29 to use the existing openldap-sasl instead of installing
> > > > the dependency without SASL support.
> > > > 
> > > > 
> > > > Checking integrity... done (1 conflicting)
> > > > Checking integrity... done (0 conflicting)
> > > > Conflicts with the existing packages have been found.
> > > > One more solver iteration is needed to resolve them.
> > > > The following 8 package(s) will be affected (of 0 checked):
> > > > 
> > > > Installed packages to be REMOVED:
> > > >         openldap-sasl-server-2.4.34
> > > >         openldap-sasl-client-2.4.42_2
> > > > 
> > > > New packages to be INSTALLED:
> > > >         openldap-client: 2.4.42_2
> > > >         icu: 55.1
> > > >         pecl-zendopcache: 7.0.5
> > > >         php5-ldap: 5.4.45
> > > >         pecl-intl: 3.0.0_2
> > > >         moodle29: 2.9.2
> > > > 
> > > > The process will require 197 MiB more space.
> > > > 
> > > > Proceed with this action? [y/N]: 
> > > 
> > > Yes we do not have yet proper provides/requires in the ports tree :(
> > > 
> > > So pkg cannot handle this case.
> > > 
> > > I hope to be able to get this working for pkg 1.7 then a lot of work would be
> > > needed in the ports tree to activate that.
> > 
> > But is there anything to be done for the present? Some manual
> > workaround for example?
> > 
> Except setting up your own poudriere and build your packages that
> requires lldap from there, (and only those) I do not see :(

Why, I *have* my own poudriere and am quite willing to tinker with it.
But e.g. www/moodle29 does not have any OPTION to specify whether it
requires openldap-sasl-client or just plain openldap-client.

It's just "LDAP     LDAP protocol support" whatever that means. When I
enable this option, www/moodle29 begins to depend on openldap-client
(not openldap-sasl-client) indirectly:

.if ${PORT_OPTIONS:MLDAP}
USE_PHP+=       ldap
.endif

and net/php5-ldap does not have any options to configure.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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