Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 10:35:07 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: openldap-client and openldap-sasl-client
Message-ID:  <20150923083506.GJ16800@ivaldir.etoilebsd.net>
In-Reply-To: <20150923083204.GA15373@admin.sibptus.tomsk.ru>
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> <20150923070609.GB12618@admin.sibptus.tomsk.ru> <20150923071043.GI16800@ivaldir.etoilebsd.net> <20150923083204.GA15373@admin.sibptus.tomsk.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Sep 23, 2015 at 02:32:04PM +0600, Victor Sudakov wrote:
> Baptiste Daroussin wrote:
> > > 
> > > 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.
> > > 
> > Add WANT_OPENLDAP_SASL=yes in your make.conf restart poudriere it will figure
> > out the packages to rebuild against sasl.
> 
> Thank you, Baptiste, great idea! Will it work if I only set
> WANT_OPENLDAP_SASL=yes for particular ports, using the .if clause ?
> 
Yes can work but imho if your ldap requires sasl then it is a good idea to have
it globally.

That would avoid you having a package that depend on openldap-client and another
one that depend on openldap-sasl-client given both conflict together

Best regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlYCZDoACgkQ8kTtMUmk6EwKzACfWJzCMlajXsdK26Ijqs9Db4qP
qKwAn3FxFfIL/mfXz81us4p6y1o8703O
=ore2
-----END PGP SIGNATURE-----
help

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