openldap-client and openldap-sasl-client
Baptiste Daroussin
bapt at FreeBSD.org
Wed Sep 23 08:35:11 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20150923/ff110419/attachment.bin>
More information about the freebsd-pkg
mailing list