Subject: Re: postfix / sasl / tls - pkgsrc 2004Q4
To: Peter I. Hansen <pih@bsdmail.dk>
From: Asmodehn Shade <asmodehn@9online.fr>
List: netbsd-users
Date: 01/18/2005 11:54:47
Peter I. Hansen a écrit :
> Asmodehn Shade wrote:
>
>> Hi,
>>
>> I'm just trying to build postfix with sasl and tls enabled to build
>> my own mail server...
>> I build it from pkgsrc 2004Q4.
>> But the build fails on a patch and said :
>> ==========================================================================
>>
>>
>> Some of the selected build options and/or local patches may be
>> incompatible.
>> Please try building with fewer options or patches.
>>
>> ==========================================================================
>>
>>
>> Can someone explain me what's the matter here ??
>> Did someone try this on pkgsrc current ? Where did I miss something ?
>> Do I actually need sasl AND tls ?
>
>
> I did the build about a week ago with these line in /etc/mk.conf
>
> USE_SASL2=YES
> PKG_OPTIONS.postfix=bdb pcre sasl tls
>
> What options did you set exactly?
>
> -Peter
I just set
PKG_OPTIONS.postfix=sasl tls
bdb is enabled by default...
I don't think I'll need pcre.
I tried with USE_SASL2=YES...
But the result is the same :
1 out of 1 hunks failed--saving rejects to src/util/inet_addr_list.h.rej
Patch /usr/pkgsrc/mail/postfix/patches/patch-aj failed
==========================================================================
Some of the selected build options and/or local patches may be
incompatible.
Please try building with fewer options or patches.
==========================================================================
Another try with pcre... the same...
I think I already have USE_SASL2 enabled somewhere, because the
cyrus-sasl installed is a 2.1.20...
If I set this in /etc/mk.conf :
#global System
.sinclude "/usr/pkg/share/mk/cpuflags.mk"
#global pkgsrc System
CLEANDEPENDS=YES
PKG_RCD_SCRIPTS=YES
#postfix
USE_SASL2=YES
PKG_OPTIONS.postfix=bdb pcre sasl tls
Result is : the same...
I always have entered this command : make clean update
Here is the inet_addr_list.h.rej file :
***************
*** 58,64 ****
* Only on KAME? Use without implementation will result in EAI_BADFLAGS.
*/
#ifdef INET6
- # ifndef INET6_KAME
# ifdef NI_WITHSCOPEID
# undef NI_WITHSCOPEID
# endif
--- 58,64 ----
* Only on KAME? Use without implementation will result in EAI_BADFLAGS.
*/
#ifdef INET6
+ # if !defined(INET6_KAME) || (defined(__NetBSD_Version__) &&
(__NetBSD_Version
__ >= 299001100))
# ifdef NI_WITHSCOPEID
# undef NI_WITHSCOPEID
# endif
Any Ideas ?
Thanks ;)
--
Asmodehn
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005