Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2008 19:37:51 GMT
From:      Michael Scheidell <scheidell@secnap.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124458: upgrade to rec2 13.5: 13.3 broken
Message-ID:  <200806101937.m5AJbpql098735@www.freebsd.org>
Resent-Message-ID: <200806101940.m5AJe1b5095273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124458
>Category:       ports
>Synopsis:       upgrade to rec2 13.5: 13.3 broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 19:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Michael Scheidell
>Release:        6.3
>Organization:
SECNAP Network Security
>Environment:
uname -a
FreeBSD fl.us.spammertrap.net 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #3: Fri Feb 22 16:45:45 EST 2008     admin@fl.us.spammertrap.net:/usr/obj/usr/src/sys/ENT1000  i386

>Description:
sa-compile (a component of SpamAssassin) uses re2c.
after upgrading from re2c 12.1 to 13.3, using the same signatures that worked before, re2c 13.3 complains with:


re2c -i -b -o scanner17.c scanner17.re
re2c: error: line 99, column 2: Token exceeds limit
command failed! at /usr/local/bin/sa-compile line 285, <$fh> line 5271.
fl# su - vscan -c "spamassassin --lint"
[11581] warn: netset: cannot include 10.1.1.1/32 as it has already been included

(lint is fine)


line 99 of scanner17.re:

        "we now offer over 30,000 products for your dollar store or d"            {RET("__FRAUD_QFY __SARE_OEM_1C __SARE_OEM_2C __SEEK_PUQJ1X");}



>How-To-Repeat:
YMMV.
>Fix:
upgraded to 13.5, compiles fine.

patches:

 diff -bBru /var/tmp/re2c/ ./
diff -bBru /var/tmp/re2c/Makefile ./Makefile
--- /var/tmp/re2c/Makefile      Wed May 14 09:21:05 2008
+++ ./Makefile  Tue Jun 10 15:20:03 2008
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      re2c
-PORTVERSION=   0.13.3
+PORTVERSION=   0.13.5
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    ${PORTNAME}
diff -bBru /var/tmp/re2c/distinfo ./distinfo
--- /var/tmp/re2c/distinfo      Wed May 14 09:21:05 2008
+++ ./distinfo  Tue Jun 10 15:22:18 2008
@@ -1,3 +1,3 @@
-MD5 (re2c-0.13.3.tar.gz) = a8ff508adb4d3edc46beae231976d113
-SHA256 (re2c-0.13.3.tar.gz) = 9ab35071f55377fbf27be27b64e2b3677caeda10ad8993aabd9976b9f6b761fd
-SIZE (re2c-0.13.3.tar.gz) = 708408
+MD5 (re2c-0.13.5.tar.gz) = 4a97d8f77ed6d2c76c8bd840a43f5633
+SHA256 (re2c-0.13.5.tar.gz) = f3a995139af475e80a30207d02728b1e0065b0caade7375e974cb1b14861668c
+SIZE (re2c-0.13.5.tar.gz) = 782725


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806101937.m5AJbpql098735>