OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: src rpm for 2.3

From: Curtis Doty (CurtisGreenKey.net)
Date: Fri Aug 11 2006 - 22:37:23 CDT


5:37pm Tuan Van said:

> Wietse Venema wrote:
> > SASL_README section "Building Postfix with Dovecot SASL support":
> >
> > % make makefiles CCARGS='-DUSE_SASL_AUTH -DDEF_SASL_SERVER_TYPE=\"dovecot\"'
> >
> I think there are typo with the docs.

Aha! Thanks to both of you. Once I fix the bogus directive, then of course
my improper removal of the escaped quites causes it to bomb out until I
RTFM more carefully.

Here's the hack to fix the docs:

perl -pi -e "s/DEF_SASL_SERVER_TYPE/DEF_SERVER_SASL_TYPE/g" */SASL_README*

And back on topic for this thread, here's what's *really* needed in the
wonderful world of rpm specfile subshell convolution:

%if %{DOVECOT}
        CCARGS="${CCARGS} -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
%endif

TTFN,
../C