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: /dev/rob0 (rob0gmx.co.uk)
Date: Fri Aug 11 2006 - 21:08:36 CDT


On Friday 11 August 2006 19:02, Curtis Doty wrote:
> > Simon/David/Tonni or anybody else: what needs to be done to get the
> > Dovecot SASL support? I tried "export POSTFIX_DOVECOT_SASL=1" and
> > rebuilding the spec file ... no luck. This is the 2.3.2-1 SRPM on
> > an RHEL4 box.
>
> I had no problems hacking the rawhide specfile from last week with
> something like this:
>
> %if %{DOVECOT}
> CCARGS="${CCARGS} -DUSE_SASL_AUTH -DDEF_SASL_SERVER_TYPE=dovecot"
> %endif
>
> Then %define DOVECOT to enable and build rpm.
snip
> Sorry this is not against Simon's srpm. It looks like his may need a
> little help to fix __WITH_DOVECOT_SASL__ in his make script.

Yes, I ended up hacking the spec file too. I don't know enough about
syntax to help Simon much, unfortunately. One thing I think is that
Simon's postfix.spec.in seems to require Cyrus SASL for Dovecot SASL,
and in actuality it should not. CCARGS="${CCARGS} -DUSE_SASL_AUTH" is
all that is required for Dovecot SASL support.
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header