Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread n j
> If this is a fixed dependency, then it's a bug in the port's Makefile. If it's
>  not set in stone (i.e.: mod_authnz_ldap could also work with
>  mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill
>  the option to use mod_fictional_3rdparty_ldap.
>
>  Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or
>  enough people have complained that they cannot use
>  mod_fictional_3rdparty_ldap, even though there's not a port for it".

It seems that the main problem arises from usage of OPTIONS.

If I had specified WITH_LDAP_MODULES (a category), both modules (ldap
and authnz_ldap) would have been included. If I had specified
WITH_LDAP, according to 'make show-options', it would have implied the
option WITH_LDAP_MODULES. However, when modules are selected through
OPTIONS dialog, AUTHNZ_LDAP means just AUTHNZ_LDAP and LDAP means just
LDAP.

Theoretically, this is not an error in port's Makefile, rather
something that gives even more flexibility to the user. However, the
same can't be said for user-friendliness. And to comment on your
message, I see no other LDAP-related options in Apache which would
make this a fixed dependency.

Regards,
-- 
Nino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread Mel
On Friday 09 May 2008 15:15:05 n j wrote:
> > What are you using for apr? The one that comes with apache itself, or the
> >  devel/apr port?
>
> AFAICT, the one that comes with Apache itself.
>
> It would seem that mod_authnz_ldap required mod_ldap to be compiled in
> Apache to work. Having little or no experience at all with Apache +
> LDAP combination so far, this was not really straightforward to me.

If this is a fixed dependency, then it's a bug in the port's Makefile. If it's 
not set in stone (i.e.: mod_authnz_ldap could also work with 
mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill 
the option to use mod_fictional_3rdparty_ldap.

Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or 
enough people have complained that they cannot use 
mod_fictional_3rdparty_ldap, even though there's not a port for it".

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"