[Dovecot] dovecot-2.0.beta3 tcpwrapper support in Solaris

Tomi Vainio Tomi.Vainio at sun.com
Mon Mar 22 16:01:32 EET 2010

On 16/03/10 17:16, Timo Sirainen wrote:
> On Thu, 2010-02-25 at 13:30 +0200, Tomi Vainio wrote:
>> Hi,
>> 2.0 compiles fine in Solaris but and I've found only one glitch so far.
>>    Tcpwapper support needs some tweaks.  I need to add
>> CPPFLAGS=/usr/sfw/include  because tcpd.h is in there.  Then also
>> LDFLAGS='-R/usr/sfw/lib -L/usr/sfw/lib' is needed.  It would be nice to
>> have --with-tcpwrap-dir or something.
> I've generally avoided adding any --with-something=paths, since all of
> them can be done with those CPPFLAGS/LDFLAGS changes. And with other
> software that has them, I'm usually just more confused about what I
> should give them as the path. Sometimes they work as I guessed,
> sometimes not..
>> These are not defined but application itself should define these
>> globally so I've added these to configure and src/util/tcpwrap.c
>> #include<syslog.h>
>> int allow_severity = LOG_INFO;
>> int deny_severity = LOG_WARNING;
> Added: http://hg.dovecot.org/dovecot-2.0/rev/0d17bb09c358


This addition is also needed in configure because libwrap detection 
fails without it.
checking for request_init in -lwrap is the test which needs to be modified.


More information about the dovecot mailing list