Re: fsl provides ancient pcre (Was: Re: Help!!! Sendmail cannot do regex)

2004-04-13 Thread Birger Krägelin

- Original Message - 
From: "Thomas Lotterer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 1:28 PM
Subject: fsl provides ancient pcre (Was: Re: Help!!! Sendmail cannot do regex)


> This issue is of general interest and not limited to sendmail.

I'm glad to report, that after upgrading fsl and rebuilding openldap,
the following now works:

rc openldap stop

(previously daemon was sitting around)

Birger Krägelin
--
[EMAIL PROTECTED], Network Operations Center, Karlsruhe

__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


fsl provides ancient pcre (Was: Re: Help!!! Sendmail cannot do regex)

2004-04-13 Thread Thomas Lotterer
This issue is of general interest and not limited to sendmail.

On Tue, Apr 13, 2004, Birger Krägelin wrote:

> > > OpenPKG sendmail does not correctly implement regex maps, reason
> > > unknown. Any suggestions? Broken gcc library? What else to look for?
> > > 
> > Birger,
> > just a wild guess: try it without fsl and tell me if that helps.
> > The reason is: fsl includes an ancient version of pcre. Even worse,
> > exactly that pcre is not name space clean. It is possible for an
> > application linked against fsl to accidentally pick up that crap.
> > We noticed that problem post OpenPKG 2.0 release. There is a fix in
> > CURRENT but no MFC yet because of other pending issues. Have a look at
> > http://cvs.openpkg.org/chngview?cn=15298 for a closer review.
> 
> Yup. Good guess. First try successful. We will work on it further...
> 
MFC done, see and download
http://cvs.openpkg.org/chngview?cn=15860
ftp://ftp.openpkg.org/release/2.0/UPD/fsl-1.4.0-2.0.1.src.rpm

--
[EMAIL PROTECTED], Cable & Wireless
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: Help!!! Sendmail cannot do regex

2004-04-13 Thread Birger Krägelin

- Original Message - 
From: "Thomas Lotterer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 10:29 AM
Subject: Re: Help!!! Sendmail cannot do regex


> On Tue, Apr 13, 2004, Birger Krägelin wrote:
> 
> > OpenPKG sendmail does not correctly implement regex maps, reason
> > unknown. Any suggestions? Broken gcc library? What else to look for?
> > 
> Birger,
> just a wild guess: try it without fsl and tell me if that helps.
> The reason is: fsl includes an ancient version of pcre. Even worse,
> exactly that pcre is not name space clean. It is possible for an
> application linked against fsl to accidentally pick up that crap.
> We noticed that problem post OpenPKG 2.0 release. There is a fix in
> CURRENT but no MFC yet because of other pending issues. Have a look at
> http://cvs.openpkg.org/chngview?cn=15298 for a closer review.

Yup. Good guess. First try successful. We will work on it further...

Birger
--
[EMAIL PROTECTED], Network Operations Center, Karlsruhe
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: Help!!! Sendmail cannot do regex

2004-04-13 Thread Thomas Lotterer
On Tue, Apr 13, 2004, Birger Krägelin wrote:

> OpenPKG sendmail does not correctly implement regex maps, reason
> unknown. Any suggestions? Broken gcc library? What else to look for?
> 
Birger,
just a wild guess: try it without fsl and tell me if that helps.
The reason is: fsl includes an ancient version of pcre. Even worse,
exactly that pcre is not name space clean. It is possible for an
application linked against fsl to accidentally pick up that crap.
We noticed that problem post OpenPKG 2.0 release. There is a fix in
CURRENT but no MFC yet because of other pending issues. Have a look at
http://cvs.openpkg.org/chngview?cn=15298 for a closer review.

--
[EMAIL PROTECTED], Cable & Wireless
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Help!!! Sendmail cannot do regex

2004-04-13 Thread Birger Krägelin
OpenPKG sendmail does not correctly implement regex maps,
reason unknown.

Platform: SUN Sparc, Solaris 9, OpenPKG 2.0 / OpenPKG 1.3

sendmail.cf:
# this is to test output of spam-assassin
#
Kspamnotice   regex  -b -aNOTICE   [*]\{3,4\}

Test it interactively:

# sendmail -bt
> /map spamnotice aa
> /map spamnotice ***

The test always succeeds with OpenPKG sendmail, Solaris /usr/lib/sendmail works.
We couldn't find a way to fix it, we just use a (very ugly) config without
regular expressions.

Any suggestions? Broken gcc library? What else to look for?

Birger
--
[EMAIL PROTECTED], Network Operations Center, Karlsruhe
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]