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: Wietse Venema (wietseporcupine.org)
Date: Fri Aug 11 2006 - 19:11:08 CDT


Curtis Doty:
> 4:40pm /dev/rob0 said:
>
> > On Tuesday 01 August 2006 14:34, David Cary Hart wrote:
> > > On 31 Jul 2006 19:53:31 +0200, Simon J Mudd <sjmuddpobox.com> opined:
> > > > As I've been offlist for a few weeks perhaps you can point me (off
> > > > list) to the patches and any other things that need to be taken
> > > > into account and unless I see some big problem I'll look at
> > > > incorporating this into my rpms.
> > >
> > > Requires dovecot 1.0.rc2
> >
> > 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"

That's incorrect syntax. See the SASL_README and INSTALL files for
how to override built-in default settings via the command line.

SASL_README section "Building Postfix with Dovecot SASL support":

    % make makefiles CCARGS='-DUSE_SASL_AUTH -DDEF_SASL_SERVER_TYPE=\"dovecot\"'

INSTALL section 4.4:

    % make makefiles CCARGS='-DDEF_CONFIG_DIR=\"/some/where\"'

        Wietse