Duane Hill writes: > On Mon, 7 May 2007, Justin Mason wrote: > > Duane Hill writes: > >> On Sat, 5 May 2007, Michael Scheidell wrote: > >> > >> [SNIP] > >>> There are a LOT of subtle changes... But for the brave, here is a > >>> tarball. > >>> cd /usr/ports/mail/p5-Mail-SpamAssassin > >>> rm -rf > >>> > >>> Untar this there: http://www.secnap.com/downloads/sa320.tgz > >> > >> Just an FYI followup. I have upgraded without any errors. I did notice > >> sa-compile is not checked in the config by default. I know it is > >> apparently broken. > > > > really? news to me ;) > > > > Or are you referring to the FAQ? > > 1) Doing a 'make config' from the port directory, the option for > sa-compile states right after it 'broken'.
hmm. There might be better ways to phrase this. "unpackaged" maybe. > 2) In the Makefile, it states sa-compile doesn't work on FreeBSD and > Solaris if you elect to use it and try doing a 'make' from the port > directory. > > 3) Michael Scheidell stated in a response to my message > > "And its obnoxious if you try to select it ;-)" > > However, your response has prodded me to go "beyond". > > I have uncommented the IGNORE within the make file and did a > complete fresh install from scratch. I do get sa-compile to run without > specifying any additional options on the command line. However, I get a > few warning messages: > > body_0.xs: In function > 'XS_Mail__SpamAssassin__CompiledRegexps__body_0_scan': > body_0.xs:43: warning: ISO C90 forbids mixed declarations and code > body_0.xs:51: warning: ISO C90 forbids mixed declarations and code > body_0.xs:59: warning: ISO C90 forbids mixed declarations and code > body_0.xs:67: warning: ISO C90 forbids mixed declarations and code Interesting! I hadn't heard of that warning before. We'll be fixing that in 3.2.1 anyway, since it seems MSVC considers it an error rather than a warning. > I also uncommented the loadplugin line in v320.pre for the Rule2XSBody > plugin. > > The compiled rules must be active according to the response I received > from starting spamd: > > [18036] info: zoom: able to use 309/309 'body_0' compiled rules (100%) > > The version of re2c that was installed through an updated FreeBSD ports > collection is 0.11.1 running on FreeBSD 6.2-RELEASE. That sounds like it's working -- although the FAQ I was talking about links to a comment by the re2c developer that versions < 0.12.x *are* indeed broken, or at least can generate bad output or incorrect output. 0.12.0 works fine. --j.